Progress
Debugger Guide
Motif Initialization
In Motif, Progress initializes the Debugger at startup using a combination of your resource definition file (usually
.Xdefaults
) and an initial command file.Initial Command File
You can use an initial command file to define initial macros, buttons, and breakpoints, and to run any other Debugger commands at startup. A common use of this file is to turn on logging at the start of a debugging session using the LOG command. The initial command file runs exactly like an INPUT command file executed at the start of a debugging session.
The Debugger first looks for a file named
.prodebug
in your home directory and executes it as your initial command file. If it cannot find that file, it looks for a file namedsystem-prodebug
in your$DLC
directory. Progress provides a defaultsystem-prodebug
file with your installation. For more information on command files, see the "Debugger Command Files" section.NOTE: If you define buttons and macros in a debugging session and save them using the Save Settings option of the Options menu, the Debugger stores the definitions in your initial command file. For more information on saving button and macro definitions, see Debugger Window."Resource Definition File Settings for Window Dimensions
Your resource definition file allows you to define panel dimensions for your Debugger window. To specify panel dimensions for each panel, set the following parameters to the desired number of pixels:
NOTE: All panels conform to the width specified for the listing panel.For example, the following parameters define an initial Debugger window that fits conveniently on a Sun workstation:
NOTE: Once the window is displayed, you can change its dimensions with the mouse. You can then save its current dimensions using the Save Settings option of the Options menu. The Debugger saves them as the new default dimensions in your resource definition file. For more information, see Debugger Window."Resource Definition File Settings to Define Accelerator Keys
Your resource definition file allows you to define accelerator keys for Debugger menus. To define accelerator keys for each menu option, use parameters with this format:
For these parameters, Menu-option is the menu option label exactly as it appears in the Debugger menu. The X-translation-string is the standard X translation string that specifies the key or key combination you want to assign. The accelerator-label is the string you want displayed to the right of the menu option that identifies your accelerator.
For example, the following parameters assign the CTRL-C key combination to the Debugger break interrupt function invoked by the Interrupt option of the Debug menu:
For more information on accelerator parameters and X translation strings, see your X-Window System User’s Guide — OSF/Motif Edition.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |