Debugging Processes that Call the execve() Function
Shared breakpoints are not set in children that have different executables.
To set the breakpoints for children that call the execve() function:
1 Set the breakpoints and breakpoint options in the parent and the children that do not call the execve() function.
2 Start the multi-process program by displaying the
Group > Go command.
When the first child calls the execve() function, TotalView displays the following message:
Process name has exec’d name.
Do you want to stop it now?
3 Answer Yes.
TotalView opens a Process Window for the process. (If you answer No, you won’t have an opportunity to set breakpoints.)
4 Set breakpoints for the process.
After you set breakpoints for the first child using this executable, TotalView won’t prompt when other children call the execve() function. This means that if you do not want to share breakpoints in children that use the same executable, dive into the breakpoints and set the breakpoint options.
5 Select the Group > Go command.