View Source Code for a Debuggee Process
To view the source code for a thread and stack frame of a
debuggee process:
- Switch to the process tab for the process being debugged
if you have not already done so, or start a new debug
session.
- Select the Source page. By default this page includes a
Source view.
- If the thread whose source you want to see is not the
current thread, select the thread from the Threads pane.
If the function whose source you want to see is not on
top of the stack frame, select the stack frame of the
function whose source you wish to see.
- If you want a Source view from the Disassembly page or
another page that does not contain such a view, you can
create a new pane containing that view, or change another
pane to show that view. To do this, set the input object
of the pane to the process object, then change the view
to Source view.

Source Level Step Commands

Start a Program Under Debug Control
Step Through Source Code

Debugging Optimized Code
View Disassembly Code for a Debuggee
Process