The Step tools allow you to move through a program by executing one or more expressions at a time.
Note: The Visual LISP IDE is available on Windows only.
- In the Visual LISP text editor window, position the cursor in front of the open parenthesis of the code expression that you want the program to be interrupted on.
- Click Debug Toggle Breakpoint to set a breakpoint.
- Click Tools Load Text in Editor.
- Switch to AutoCAD, at the Command prompt, enter the command or function to begin the execution of the program.
- In Visual LISP, click Debug Step Into.
Execution begins and halts before evaluation of the inner parenthetical expression, that is, before the specified division occurs.
Note: You can also press F8 to issue the Step Into tool.
- Click Step Into again to continue stepping through the code in the program.
- Click Debug Step Over.
With the Step Over tool, Visual LISP evaluates an entire expression (and all nested expressions), then stops at the end of the overall expression. The cursor moves to the end of the evaluated expression.
Note: You can also press Shift+F8 to issue this tool.
- Click Debug Continue to exit the break loop and resume normal execution of the program.