To Step through a Program from a Breakpoint (Visual LISP IDE)

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.
  1. 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.
  2. Click Debug Toggle Breakpoint to set a breakpoint.
  3. Click Tools Load Text in Editor.
  4. Switch to AutoCAD, at the Command prompt, enter the command or function to begin the execution of the program.
  5. 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.
  6. Click Step Into again to continue stepping through the code in the program.
  7. 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.
  8. Click Debug Continue to exit the break loop and resume normal execution of the program.