Setting Whether Child Inherits Breakpoints

Related Topics:

Fork and Thread Defaults Managing Sessions

By default, a child process does not inherit the breakpoints of the parent process. You can choose to have the child process inherit these breakpoints.

To allow the child to inherit the parent's breakpoints when the new fork will not execute a different process:

1. In the Debugging Window, choose Debug ; Debugging Options. Or, from the WorkShop main window, choose Options Debugging Options

2. in the Debugging Options Dialog Box, click the Forks and Threads tab.

3. At Child process inherits parent's breakpoints, click the checkbox to enable it.

4. Click OK to apply your choices to the current session, or click Save as Defaults and then click OK to save your choices as the new defaults.

Note - This option is equivalent to the dbx
follow_fork_inherit Environment Variable.