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:

Enter or open a procedure in the Editor buffer and choose Compile > Debug. The following figure shows the Procedure Editor in Windows.
Figure 1. Debugging from the Procedure Editor


After you choose Compile > Debug, the Procedure Editor:

  1. 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)
  2. Initializes the Debugger
  3. Sets a breakpoint on the first executable line of your procedure
  4. Runs your procedure

The AVM instance immediately gives control to the Debugger at the initial breakpoint.