Allowing Breakpoints to Stop a Program While Stepping

Related Topics:

Debugging Behavior Defaults Allowing Breakpoints to Stop a Program While Stepping

By default, breakpoints do not stop program execution when you are stepping through your program.

To allow breakpoints to stop the program while stepping :

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, click the Debugging Behavior tab.

3. Under Stepping, click the checkbox to enable Allow Stop during Step Over and Step Out.

This allows breakpoints to stop the program while stepping. Usually, breakpoints are taken out on each step. If you have many breakpoints set, such as with Stop: In Class, setting this option speeds up stepping through the program.

4. Click Apply 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
step_events Environment Variable.