Contents|Index|Previous|Next

Source window

The Source window (Figure 8) displays a single file of source code data during your program’s debugging process.

gui9700000008.gif

Figure 8: Source window

A scroll bar is along the right side with a status bar just under the display area. The left margin includes an indicator for the current program, its breakpoints and potential breakpoints, and (optionally) its line numbers.

There are four menus: File, Options, Window and Help. For descriptions of the File menu options, the Window menu options, and the Help menu options, see Common menus for the GDB GUI. For descriptions of the Options menu for the Source window (Figure 9), see the Source window Options menu.

Source Window buttons

Nine command buttons at the bottom of the window control the debugging process and display of source code during debugging.

Source window Options menu

Figure 9: Source window Options menu

The Source window Options menu (Figure 9) has the following two viewing options.