Progress
Debugger Guide


Session Management and Information

The Debugger provides a number of features that allow you to monitor and customize a debugging session.

Listing Management

The Debugger window provides a search menu that allows you to search forward and backward for text in the displayed procedure listing. You can also search for a line in the listing specified by line number.

Programmable Command Entry

You can store a series of Debugger commands in a text file and direct the Debugger to take its command input from that file using the INPUT command. The Debugger executes all commands from the specified file until it encounters an error or reaches the end of the file. At this point it resumes accepting input from the Debugger window.

You can also customize your Debugger interface by creating your own macro and button definitions using the MACRO and BUTTON commands. A macro definition is a series of commands that you can invoke by entering your own command name, and a button definition is a series of commands that you can invoke by choosing an associated button in the Debugger window. You can review all current macro and button definitions using the SHOW MACROS and SHOW BUTTONS commands.

Session Log

You can record the Debugger commands executed and their responses for all or selected portions of a debugging session in log files using the LOG and CANCEL LOG commands.

4GL Debugger Control

The DEBUGGER handle provides additional methods and attributes to initialize, start, and control features of a debugging session from within a Progress procedure. For example, it can clear panels in the Debugger window or display and remove the Debugger window from the screen.

Debugger Initialization

You can set up initial Debugger characteristics in initialization files, including window location and size, panel size, macro definitions, and button definitions. You can also change these characteristics during a debugging session and save them for the next session. For more information on Debugger initialization, see Debugger Files."


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095