Creating a Process by Single-Stepping
The TotalView single-stepping commands let you create a process and run it to the beginning of your program. The single-stepping commands available from the Process menu are as shown in the following table:
 
GUI command
CLI command
Creates the process and ...
Process > Step
dfocus p dstep
Runs it to the first line of the main() routine.
Process > Next
dfocus p dnext
Runs it to the first line of the main() routine; this is the same as Process > Step.
Process >    Step Instruction
dfocus p dstepi
Stops it before any of your program executes.
Process >    Next Instruction
dfocus p dnexti
Runs it to the first line of the main() routine. This is the same as Process > Step.
If a group-level or thread-level stepping command creates a process, the behavior is the same as if it were a process-level command.
NOTE: Chapter 26, Group, Process, and Thread Control contains a detailed discussion of setting the focus for stepping commands.