The stepping commands execute one line in your program. If you are using the CLI, you can use a numeric argument that indicates how many source lines TotalView steps. For example, here’s the CLI instruction for stepping three lines:
If the source line or instruction contains a function call, TotalView steps into it. If TotalView can’t find the source code and the function was compiled with
–g, it displays the function’s machine instructions.
You might not realize that your program is calling a function. For example, if you overloaded an operator, you’ll step into the code that defines the overloaded operator.
The GUI has eight Step commands and eight
Step Instruction commands. These commands are located on the
Group,
Process, and
Thread pulldowns. The difference between them is the focus.