Share
 
 

To Work with Break Loops (Visual LISP IDE)

Break loops allow you to pause execution of a program and step into it.

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

Exit a break loop

In Visual LISP, do one of the following:

  • Click Debug Quit Current Level to return to the previous break level or Reset to Top Level return to the Top-Level read-eval-print loop.
  • On the Debug toolbar, click Quit to return to the previous break level or Reset to return to the Top-Level read-eval-print loop.

Check the value of a variable while in a break loop

  • In Visual LISP, at the Console window prompt, enter the name of the variable you want to know the value of and press Enter.

    For example:

    _$ pi

Change the value of a variable while in a break loop

  • In Visual LISP, at the Console window prompt, enter an expression using the setq function to change the current value of a variable and press Enter.

    For example:

    _$ (setq rad pi)

Continue program execution after stopping for a breakpoint

In Visual LISP, do one of the following:

  • Click Debug Continue
  • On the Debug toolbar, click Continue.

Was this information helpful?