Difference between revisions of "MC-Basic:BACKTRACE$"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Version 4.5.3 and higher" to "Since Version 4.5.3")
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:BACKTRACE$}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 41: Line 42:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:BACKTRACE|BACKTRACE]]
+
* [[MC-Basic:BACKTRACE|BACKTRACE]]
* [[Axystems:MC-Basic:CONTINUETASK$|CONTINUETASK$]]
+
* [[MC-Basic:CONTINUETASK$|CONTINUETASK$]]
* [[Axystems:MC-Basic:KILLTASK$|KILLTASK$]]
+
* [[MC-Basic:KILLTASK$|KILLTASK$]]
* [[Axystems:MC-Basic:LOAD$|LOAD$]]
+
* [[MC-Basic:LOAD$|LOAD$]]
* [[Axystems:MC-Basic:STARTTASK$|STARTTASK$]]
+
* [[MC-Basic:STARTTASK$|STARTTASK$]]
  
[[Category:Axystems:MC-Basic:Debug Tools|BACKTRACE$]]
+
[[Category:MC-Basic:Debug Tools|BACKTRACE$]]
 
}}
 
}}

Latest revision as of 06:05, 24 April 2017

Language: English  • 中文(简体)‎

Prints the function stack of the task, including function or subroutine name.

NOTE-Info.svgNOTE
BackTrace can only be executed for a task that is not in the running state.

Syntax

BackTrace$ <task name string>

Availability

Since Version 4.5.3

Type

<task name string>: string

Range

<task name string>: name of a task that is loaded in memory

Scope

Task or Terminal

Limitations

  • Read only.
  • Task must be loaded in memory.

Examples

BackTrace “XYRot.prg”

Common shared TaskName as string = “XYRot.prg”

BackTrace$ TaskName

See Also