Arbortext IsoDraw > Macro Language Reference > 3D and User Interaction Commands > Further Macro Commands > Debugging Commands > Debug Step
  
Debug Step
The DEBUG STEP command turns the step-by-step execution of a macro command on or off.
DEBUG STEPONOFF
ON
Turns step-by-step execution of a macro command on.
OFF
Turns step-by-step execution of a macro command off.
MACRO debug
DEBUG STEP ON
#first create a line by a macro command
CREATE LINE 100 100 200 100
#second append line segments
APPEND LINE SEGMENT 200 200
APPEND LINE SEGMENT 100 100
APPEND LINE SEGMENT 100 200
APPEND LINE SEGMENT 200 200
APPEND LINE SEGMENT 150 250
APPEND LINE SEGMENT 100 200
APPEND LINE SEGMENT 200 100
DEBUG STEP OFF
END MACRO