TotalView User Guide : Part I: Introduction to Debugging with TotalView : Basic Debugging : Stepping and Executing : Canceling
Canceling
First, make sure the program has exited, by selecting Kill.
1 Execute until user input is required
*Select Next twice. The “Waiting to reach location” dialog launches.
2 Cancel the operation
*Rather than providing input, in the dialog, select Cancel.
The Stack Trace Pane reports that the process is currently within a system call. The Source Pane displays assembler code, and its header identifies the library you’re in, rather than the source file. This is because no debug information is present for system calls, and TotalView always focuses on the stack frame where your PC is, even if it was not built with debug information.
 
In the Stack Trace Pane, main is preceded by C, meaning that TotalView has debug information for that frame, and the language is C.
 
To execute out of the assembler code so you’re back in your code, use the Out command.
*Select Out several times until the program returns to your code and resumes execution. When the dialog “Waiting to reach location” launches, enter a number into the console, click Next, and let the program complete.
 
 
RELATED TOPICS 
 
Viewing assembler code