Calling a New Process Group After a Fork
Related Topics:
By default, the debugger and the program being debugged are not required to be in different process groups. You can require that a new process group be called when debugging.
To have a new process group called right after a fork:
- 1. In the Debugging Window, choose Debug
Debugging Options. Or, in the Sun WorkShop main window, choose Options
Debugging Options.
- 2. In the Debugging Options Dialog Box, cllick the Advanced tab.
- 3. At Make debugger and debugged, click the checkbox to enable it.
- 4. Click OK to apply the change to the current session, or click Save as Defaults and then click OK to apply it to all sessions.
Note - This option is equivalent to the dbx run_setgrp Environment Variable..