Setting a Breakpoint and Using More Watches

AutoCAD Visual LISP

 
Setting a Breakpoint and Using More Watches
 
 
 

A breakpoint is a symbol (point) you place in source code to indicate where you want a program to stop executing temporarily. When you run your code, VLISP proceeds normally until it encounters a breakpoint. At that point, VLISP suspends execution and waits for you to tell it what to do. It hasn't halted the program for good—it has placed it in a state of suspended animation.

While your program is suspended, you can

  • Step through your code, function by function, or expression by expression.
  • Resume normal execution of your program at any point.
  • Alter the value of variables dynamically, and change the results of the program being executed.
  • Add variables to the Watch window.