LispWorks IDE User Guide > 13 The Editor > 13.13 Using Lisp-specific commands > 13.13.6 Breakpoints

NextPrevUpTopContentsIndex

13.13.6.1 Setting breakpoints

To set a breakpoint, for example at the call to + in one of your functions:

  1. Open the file containing the call in an Editor tool.
  2. Ensure the definition is indented. You can use the Lisp mode command Indent Form ( Meta+Ctrl+Q in Emacs emulation).
  3. Ensure the definition is compiled.
  4. Position the cursor on the symbol + .
  5. Choose the menu command Expression > Toggle Breakpoint , or click
  6. in the Editor toolbar, or run the editor command Toggle Breakpoint . The symbol + is highlighted red indicating that a breakpoint is set.

When the breakpoint is reached, a Stepper tool is invoked, allowing you to step through the code, add further breakpoints, and so on. See The Stepper for more information about the Stepper tool.


LispWorks IDE User Guide (Macintosh version) - 22 Dec 2009

NextPrevUpTopContentsIndex