Debugging Processes that Call the execve() Function
NOTE: You can control how TotalView handles system calls to
execve(). See
Exec Handling.
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 using the Group > Go command.
When the first child calls the execve() function, TotalView displays the following message:
Processname has exec’d name.Do you want to stop it now?
3. Answer Yes.
(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, set the breakpoint options using the action point properties dialog.
5. Select the Group > Go command.