Progress
Debugger Guide


Pattern of Operation

How you run a debugging session varies depending on how you start it and what you want to accomplish. In general, follow these steps to run a debugging session:

  1. Start the Debugger in application or stand-alone mode.
  2. For information on starting a debugging session, see Starting and Stopping the Debugger." Before starting, you might want to set up initial starting parameters for the Debugger. For information on initialization, see Debugger Files."

    All remaining steps require you to enter commands to the Debugger. For more information, see the "Entering Debugger Commands" section in this chapter.

  3. If your application is not already running, run it from the Debugger.
  4. For information on running an application from the Debugger, see the "Controlling Procedure Execution" section. Before running an application, you might want to set up initial breakpoints, macros, and buttons. For information on setting breakpoints, see the "Managing Breakpoints" section. (Also see the "Debugging Events" section for important information on when and how you can interrupt events.) For information on setting up macros and buttons, see the "Defining and Using Macros and Buttons" section.

    NOTE: You can interrupt application execution at any time and give control to the Debugger by choosing the Debug Interrupt option.

  5. When the Debugger gets control, you can set or remove any breakpoints, define additional macros and buttons, or display information about the debugging session. You can also exit the Debugger at this point.
  6. For information on setting and removing breakpoints, see the "Managing Breakpoints" section. For information on displaying session information, see the "Displaying Debugger and Session Information" section. For information on exiting the Debugger, see the "Exiting a Debugging Session" section.

  7. When you are ready to continue application execution, enter the appropriate command to execute a line at a time, all lines up to the next breakpoint, or a completely new application procedure. You can also force the application to terminate at this point.
  8. For information on continuing application execution, see the "Controlling Procedure Execution" section.

Each time the Debugger has control, you can cycle through the options available in Step 2 through Step 4. Each time your application has control, you can interact with it as if the Debugger were not running.

You can also keep a record of all or selected parts of your debugging session. For information on recording a debugging session, see the "Logging a Debugging Session" section.


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