Progress
Debugger Guide


Debug Menu

The Debug menu controls procedure execution and Debugger-application interaction.Table 4–3 lists the Debug menu options and a brief description of each. More detailed descriptions follow the table.

Table 4–3: Debug Menu 
Debug

Next                     F6

Executes one procedure line (NEXT command).

Step                     F7

Executes one procedure line (STEP command).

Run...                   F2

Executes the specified procedure (RUN command).

Break...               F8

Sets a breakpoint in a procedure (BREAK command).

Interrupt   Ctrl-Break

Invokes the break interrupt function to give the Debugger control.

Debug Next

The Next option executes the next line in the executing procedure, stopping on the following line. Any procedure calls on the next line are executed without interruption, unless they contain a breakpoint.

Debug Step

The Step option executes the next line in the executing procedure, stopping on the following line. If the next line contains any procedure calls, it steps into and stops on the first line of the first procedure call it encounters.

Debug Run

The Run option executes a procedure. This option opens a dialog box that requests a procedure name and executes the procedure you specify. The default is the procedure displayed in the listing panel, if any.

Debug Break

The Break option sets a breakpoint. This option opens a dialog box that requests a procedure name and line number, and sets a breakpoint in the procedure and line number you specify. The default is the first executable line of the procedure displayed in the listing panel, if any.

Debug Interrupt

The Interrupt option bypasses the command queue to interrupt any executing procedure, giving immediate control to the Debugger. This allows you to enter and execute Debugger commands whenever you want. This option immediately interrupts and halts any executing procedure on the next executable line, and gives control to the Debugger without actually setting a breakpoint. It also clears the Debugger command queue, whether or not a procedure is executing, to accept commands from the Debugger window. There is no command equivalent for this option.


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