Breakpoints

Related Topics:

Breakpoint Types Breaking at a Location
Breaking in a Function Breakpoints Window
Debugging Behavior Defaults

Using Breakpoints

A breakpoint is a location where an action occurs, at which point the program stops executing.

Break implies a stoppage because of an action. There are three types of actions associated with Sun WorkShopTM breakpoints: stop, trace, and custom actions created using Korn Shell (ksh) commands.

The location where the action occurs is typically a source location. But not all breakpoints are location based; some are based on signals, system calls, and changes in data.

Where You Can Set Breakpoints

You can set and clear breakpoints in the editor window or the Breakpoints window.

In the editor window, you can set or clear a breakpoint at a line of code or in a function.

In the Breakpoints window, you can set more complex breakpoints, such as a breakpoint when a signal occurs. You can also use the Breakpoints window to: