exec() handling

Restriction: ngaix.gif (1051 bytes)This is supported on AIX 

When a process calls exec(), a new program is loaded to replace the current program.

The debugger suspends program execution at this point and opens a dialog similar to the Load Program dialog, which allows you to choose whether to debug program initialization and whether to use a program profile. The name of the new program is shown, but unlike in the Load Program dialog, you cannot change the name. After you select OK, the debugger stops at the first instruction of the new program's runtime (if you asked to debug program initialization), or at the first instruction or statement in the new program.

If you  checked Use program profile or used the p+ option of the idebug command and the Distributed Debugger finds enabled breakpoints in the profile, these breakpoints are set when you start debugging the child process.

Related References
fork() handling
system() handling