Progress
Debugger Guide


Debugging from the Procedure Editor

To start a debugging session from the Procedure Editor, enter a procedure in the Editor buffer and choose the Compile Debug option from the menu bar. Figure 3–3 shows the character-mode Editor and Figure 3–4 shows the Windows Editor.

Figure 3–3: Debugging from the Character-mode Editor

NOTE: If you want to debug a 32–bit character client, you would start your debugging session from the Procedure Editor.

Figure 3–4: Debugging from the Windows Editor

After choosing the Debug option, the Procedure Editor:

  1. Saves a file containing your procedure using a random alphanumeric filename with a .ped extension.
  2. Initializes the Debugger.
  3. Sets a breakpoint on the first executable line of your procedure.
  4. Runs the procedure.

The procedure immediately gives control to the Debugger at the initial breakpoint. Starting the Debugger from the Editor with the Compile Debug option runs the Debugger in application mode, ready to debug the procedure that is running (and any other procedures you choose).

NOTE: You can also start the Debugger from the Editor in stand-alone mode by invoking it with the DEBUGGER system handle. For more information, see DEBUGGER and SESSION System Handles."


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