Try OpenEdge Now
skip to main content
Debugging and Troubleshooting
OpenEdge Debugger : Starting and Stopping the Debugger : Debugging from the Procedure Editor

Debugging from the Procedure Editor

Starting the Debugger from the Procedure Editor runs the Debugger in application mode, ready to debug the procedure that is running and any other procedures you choose.
To start a debugging session from the Procedure Editor:
1. Enter or open a procedure in the Editor buffer and choose Compile > Debug. The following figure shows the Procedure Editor in Windows.
Figure 5. Debugging from the Procedure Editor
After you choose Compile > Debug, the Procedure Editor:
a. Saves a temporary file containing your procedure to the current working directory, using a unique, alphanumeric filename with a .ped extension (as the Procedure Editor always does)
b. Initializes the Debugger
c. Sets a breakpoint on the first executable line of your procedure
d. Runs your procedure
The AVM instance immediately gives control to the Debugger at the initial breakpoint.