12 The Debugger Tool

12.7 Performing operations on frames in the stack

Any frame selected in the Backtrace area can be operated on using commands in the Frame menu. The commands available allow you to operate on the function displayed in each frame.

Choose Frame > Documentation to display the Common Lisp documentation for the object pointed to by the current frame, if any exists. It is printed in a special output browser window.

Choose Frame > Find Source to search for the source code definition of the object pointed to by the current frame. If it is found, the file is displayed in the editor: the cursor is placed at the start of the definition. See Chapter 8, "The Editor" for an introduction to the editor.

Choose Frame > Trace to display the standard Trace menu. This lets you trace the function in the selected frame in a variety of ways: see Section 3.10 on page 48 for details.

Choose Frame > Restart Frame to continue execution from the selected restart frame. The action that is taken when choosing this command is printed with each restart frame in the Backtrace area. As a shortcut, you can click on the Restart Frame button at the bottom of the debugger tool rather than choose this command. Note that View > Restarts must be enabled for this command to be available: see Section 12.9.1 for details.

Choose Frame > Return From Frame to resume execution from the selected frame. You are prompted for a value to return from the selected frame. This option allows you to continue execution smoothly after you have dealt with the error which caused entry into the debugger. As a shortcut, you can click on the Return From Frame button at the bottom of the debugger tool rather than choose this command.


Common LispWorks User Guide, Liquid Common Lisp Version 5.0 - 18 OCT 1996

Generated with Harlequin WebMaker