Starting a Debugging Session

See Also 

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.

Debugging the Main Project

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.

Debugging an Individual Project

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.
See Also
Debugging an Executable
Debugging a Core File
Attaching the Debugger to a Running Process
Attaching the Debugger to a Process As It Starts
Debugging on a Remote Host
Setting a Breakpoint in a Program

Legal Notices