# Viewing source code

The source code associated with a particular module in a program (*PGM), service program (*SRVPGM), or class file is viewable if you select a program on the Programs pane, a breakpoint on the Breakpoints pane, a monitor on the Monitors pane, or a call stack entry on the Call Stack pane.

You can view the source code by using any of the following methods:

- Double-click a program object or class file in the Programs pane
- Double-click a breakpoint on the Breakpoints pane
- Double-click a call stack entry on the Call Stack pane
- Right-click the appropriate object in the Breakpoints, Call Stack, or Programs panel, and select Go to Source
- Select the appropriate object in the Breakpoints, Call Stack, or Programs panel, and from the Actions menu, select Go to Source or use the keyboard shortcut (Ctrl+G).

You can also change which compiler-supplied source view the debugger uses to display a module in the Source pane. For example, if you compiled the original source file with all the pertinent options, you could choose from the original source view, a compiler listing view, or the compiler statement view. To change the source view, right-click the active Source pane, then select Change Source View.