1,482
edits
imported>JLundin No edit summary |
m (Convert source tags to syntaxhighlight) |
||
| Line 7: | Line 7: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Function TraceStack(string asTextToPrint = "Tracing stack on request", int aiSeverity = 0) native global | Function TraceStack(string asTextToPrint = "Tracing stack on request", int aiSeverity = 0) native global | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 25: | Line 25: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
; Outputs "Tracing stack on request" along with a full stacktrace to the log | ; Outputs "Tracing stack on request" along with a full stacktrace to the log | ||
Debug.TraceStack() | Debug.TraceStack() | ||
</ | </syntaxhighlight> | ||
<br/> | <br/> | ||
< | <syntaxhighlight lang="papyrus"> | ||
; Outputs "Tracing stack on request" along with a full stacktrace to the log, at error severity (colored red) | ; Outputs "Tracing stack on request" along with a full stacktrace to the log, at error severity (colored red) | ||
Debug.TraceStack(aiSeverity = 2) | Debug.TraceStack(aiSeverity = 2) | ||
</ | </syntaxhighlight> | ||
== See Also == | == See Also == | ||
*[[Debug Script]] | *[[Debug Script]] | ||
*[[Trace - Debug]] | *[[Trace - Debug]] | ||