When you start a debugging session, the IDE starts the dbx debugger, then runs the application inside the debugger. The IDE automatically opens the debugger windows and prints debugger output to the Dbx Console window.
The following commands in the Debug menu always apply to the main project regardless of which project or file is selected in the Projects window or Source Editor.
Command | Description |
---|---|
Debug > Debug Main Project | Runs the program until it reaches a breakpoint or exception or until the program terminates normally. |
Debug > Step Into | Runs the program to the first line after the main routine and pauses execution before any changes have been made to the state of the program. |
Run > Run to Cursor | Runs the program to the cursor location in the Source Editor and pauses the program. |
Command | Description |
---|---|
Debug Project | The IDE runs the project in the debugger until execution stops or a breakpoint is reached. |
Step Into Project | The IDE runs the project in the debugger to the first line after the main routine. |