Go to main content
Oracle® Developer Studio 12.6: Debugging a Program with dbx

Exit Print View

Updated: June 2017
 
 

Enabling and Disabling Breakpoints

Each event management command (stop, trace, when) that you use to set a breakpoint creates an event handler. Each of these commands returns a number known as the handler ID (hid). You can use the handler ID as an argument to the handler command to enable or disable the breakpoint. For example:

(dbx) handler -disable 5
(dbx) handler -enable 5

For more information, see Event Handlers.