Difference between revisions of "MC-Basic:STEPIN"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= StepIn ''<task>'' |AVAILABILITY= All versions |DESCRIPTION= This command executes the program step by step. If a CALL instruction is encounte…')
 
m
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:STEPIN}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
 
  
 
|SYNTAX=
 
|SYNTAX=
StepIn ''<task>''
+
StepIn <''task''>
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 36: Line 36:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:ADDBREAKPOINT|ADDBREAKPOINT]]
+
* [[MC-Basic:ADDBREAKPOINT|ADDBREAKPOINT]]
* [[Axystems:MC-Basic:BREAKPOINTLIST|BREAKPOINTLIST]]
+
* [[MC-Basic:BREAKPOINTLIST|BREAKPOINTLIST]]
* [[Axystems:MC-Basic:CLEARBREAKPOINT|CLEARBREAKPOINT]]
+
* [[MC-Basic:CLEARBREAKPOINT|CLEARBREAKPOINT]]
* [[Axystems:MC-Basic:CONTINUETASK|CONTINUETASK]]
+
* [[MC-Basic:CONTINUETASK|CONTINUETASK]]
* [[Axystems:MC-Basic:IDLETASK|IDLETASK]]
+
* [[MC-Basic:IDLETASK|IDLETASK]]
* [[Axystems:MC-Basic:STEPOUT|STEPOUT]]
+
* [[MC-Basic:STEPOUT|STEPOUT]]
* [[Axystems:MC-Basic:STEPOVER|STEPOVER]]
+
* [[MC-Basic:STEPOVER|STEPOVER]]
 
 
  
 +
[[Category:MC-Basic:Debug Tools|STEPIN]]
 
}}
 
}}

Latest revision as of 06:40, 28 April 2017

Language: English  • 中文(简体)‎

This command executes the program step by step. If a CALL instruction is encountered, single stepping continues within the subprogram. If a parent task is in step mode, all events are also in step mode, which means that all events associated with the task are not running, but event scanning continues to run.

If an error occurs while single stepping, the STEPIN (STEPOUT, STEPOVER) commands retry the line which caused the error. The error must be corrected before the task continues.

Syntax

StepIn <task>

Availability

All versions

Scope

Terminal

Limitations

Task must be in one of the following states ready (7),   stopped (2), error (4), killed (10)

Examples

StepIn MAKECUT.prg

See Also