Stepping into Function Calls
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:
dstep 3
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.
NOTE >> If the function being stepped into wasn’t compiled with the -g command-line option, TotalView always steps over the function.
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.