added system.getStackTrace; docgen refactoring (incomplete)
This commit is contained in:
parent
c3770ebd06
commit
c323ec0155
13 changed files with 744 additions and 509 deletions
|
|
@ -1897,6 +1897,9 @@ when not defined(EcmaScript) and not defined(NimrodVM):
|
|||
proc writeStackTrace*()
|
||||
## writes the current stack trace to ``stderr``. This is only works
|
||||
## for debug builds.
|
||||
|
||||
proc getStackTrace*(): string
|
||||
## gets the current stack trace. This is only works for debug builds.
|
||||
|
||||
{.push stack_trace: off.}
|
||||
when hostCPU == "avr":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue