Difference between revisions of "MC-Basic:BACKTRACE"

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:BACKTRACE}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 4: Line 5:
  
 
|SYNTAX=
 
|SYNTAX=
BackTrace ''<task name>''
+
BackTrace <''task name''>
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 10: Line 11:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
Print function stack of the task, including function or subroutine name.
+
Prints the function stack of the task, including function or subroutine name.
  
BackTrace  can be only executed for the task, which is not in the running state
 
  
 
|TYPE=
 
|TYPE=
Line 18: Line 18:
  
 
|RANGE=
 
|RANGE=
''<task>'': name of a task that is loaded in memory
+
<''task''>: name of a task that is loaded in memory
  
 
|UNITS=
 
|UNITS=
Line 30: Line 30:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read-Only. Task must be loaded in memory.
+
*Read only.
 +
*Task must be loaded in memory.
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 36: Line 37:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[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:MC-Basic:Debug Tools|BACKTRACE]]
  
 
}}
 
}}

Latest revision as of 05:50, 24 April 2017

Language: English  • 中文(简体)‎

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

Syntax

BackTrace <task name>

Availability

from 0.2.6.1

Range

<task>: 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

See Also