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 ...
dfocus p dstep
Runs it to the first line of the main() routine.
dfocus p dnext
Runs it to the first line of the main() routine; this is the same as Process > Step.
dfocus p dstepi
Stops it before any of your program executes.
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.
*Chapter 21, “Group, Process, and Thread Control” contains a detailed discussion of setting the focus for stepping commands.