30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 146: View > Lookup<br />

Function Dialog Box<br />

Editing Source Text<br />

If the name being displayed isn’t enough to identify which name you need<br />

to select, select the Show full path names check box to display additional<br />

information.<br />

Finding the Source Code for Files<br />

You can display a file’s source code by selecting the View > Lookup<br />

Function command and entering the file name in the dialog box shown in<br />

the following figure.<br />

If a header file contains source lines that produce executable code, you<br />

can display the file’s code by typing the file name here.<br />

Resetting the Stack Frame<br />

After moving around your source code to look at what’s happening in different<br />

places, you can return to the executing line of code for the current<br />

stack frame by selecting the View > Reset command. This command places<br />

the PC arrow on the screen.<br />

This command is also useful when you want to undo the effect of scrolling,<br />

or when you move to different locations using, for example, the View ><br />

Lookup Function command.<br />

If the program hasn’t started running, the View > Reset command displays<br />

the first executable line in your main program. This is useful when you are<br />

looking at your source code and want to get back to the first statement<br />

that your program executes.<br />

Editing Source Text<br />

Use the File > Edit Source command to examine the current routine in a text<br />

editor. <strong>TotalView</strong> uses an editor launch string to determine how to start your edi-<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.7 227

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!