The Debug Environment

The debugging workspace automatically loads when you start a debugging session. By default, this workspace includes three windows: the Debugger window, the Output window, and the Source Editor.

Debugger Window

The Debugger window contains seven views of what is going on inside your program:

You can toggle the views on and off using the toolbar in the Debugger window. This toolbar also contains a button for turning on and off the display of properties. A second toolbar enables you to filter the classes and members displayed in the window.

The contextual menus in the Debugger window provide access to many of the debugging commands you need. Right-click an item in the window to display a menu. The commands are also available from the Debug menu and toolbar in the main window.

Output Window

The Output window displays messages from the debugger. The window is split vertically into two panes. The left pane displays the output of the application being debugged. The right pane displays details of the program's threads and breakpoints as well as status messages from the debugger.

Source Editor

The Source Editor shows the line in the source code where the program is stopped. The Source Editor displays symbols in the left margin to relay debugging information, such as a breakpoint on the adjacent line. The following table describes the debugging symbols.

Symbol Description
Breakpoint iconBreakpoint
Disabled breakpoint icon groupDisabled breakpoint
Multiple breakpoint icon iconMultiple breakpoints
Conditional breakpoint iconConditional breakpoint
Disabled conditional breakpoint icon groupDisabled conditional breakpoint
Program counter and one breakpoint iconProgram counter and one breakpoint
Program counter and multiple breakpoints iconProgram counter and multiple breakpoints
Call siteThe place in the source code from which a method on the call stack was called

For information on configuring the debug environment, see:

Configuring the Debug Toolbar
Setting Debugger Options for the Environment

Legal Notices