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 > Gocommand.
When the first child calls the execve() function, TotalView displays the following message:
Processnamehas exec’dname.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 > Gocommand.