Debug context menu

Commands on the Debug menu execute the application in debug mode.

Table 1. Debug Menu
Menu Option Usage
Debug Begins program execution, debugging up to the first breakpoint or interruption.
Execute with Profiler Execute selected application with Profiler. See Profiler
Next Executes the current line, and stops at the next source line in the current function. If this source code line is a call to another function, you can Step in or Step out.
Step in Step into the current function, executing the next source line inside the called function.
Step out Step out of the called function before it ends, returning to the next source line following the CALL statement.
Note: Some complex instructions such as CONSTRUCT or FOR loops need two steps before going to the next instruction: one step to prepare the statement, one step to execute it.
Continue Resumes program execution, until another breakpoint is reached or the program terminates.
Interrupt

Interrupts the program execution, displaying the current line being executed and updates the Debugger views such as the Data view.

Stops the execution of the program being debugged, returns control to the debugger, displays the current line being executed and updates the debugger views such as the Data view. This allows you to interrupt a program that is in an endless loop, or that is displaying a form, for example.
Up Displays the calling function. The up command advances toward the outermost frame each time it is processed. The Data view is based on the new context.
Down The opposite of Up: it comes back to the inner frame down to the last executed line.
Record Macro Start recording Debugger commands.
Stop Record Stop command recording and store the commands in a file.
Play Macro Execute the recorded commands from the file.
Add/Delete Breakpoint Sets / removes a breakpoint fro the current line.
Enable/Disable Breakpoint If checked, the current breakpoint is active; otherwise it is disabled, but still exists and can be reactivated later.
Abort Last Task Terminates the debugger session.