To Set and Remove Breakpoints (Visual LISP IDE)

Breakpoints allow you to interrupt the execution of a program so you can step through the code.

Note: The Visual LISP IDE is available on Windows only.

Set a breakpoint

  1. In the Visual LISP text editor, move the cursor to the position at which you want to halt execution.

    For example, to halt execution just before the open parenthesis of an expression, place the cursor just to the left of that open parenthesis.

  2. Right-click and click Toggle Breakpoint.

    If you move the cursor to an ambiguous position, such as in the middle of an expression, Visual LISP will move the cursor to the nearest parenthesis and display the following message asking whether you agree with the breakpoint placement:

  3. Click Yes to accept the breakpoint location, or No if that is not where you want to set the break.

Remove a breakpoint

  1. In the Visual LISP text editor, position the cursor at the breakpoint you want to remove.
  2. Right-click and click Toggle Breakpoint.

    Toggle Breakpoint works as an on/off switch. When no breakpoint exists, Toggle Breakpoint adds a break; if a breakpoint already exists at the cursor position, Toggle Breakpoint removes it.

Remove all breakpoints