Sun Studio 12 Update 1: Debugging a Program With dbx

Deleting Specific Breakpoints Using Handler ID Numbers

When you list breakpoints using the status command, dbx displays the ID number assigned to each breakpoint when it was created. Using the delete command, you can remove breakpoints by ID number, or use the keyword all to remove all breakpoints currently set anywhere in the program.

To delete breakpoints by ID number (in this case 3 and 5), type:

(dbx) delete 3 5

To delete all breakpoints set in the program currently loaded in dbx, type:

(dbx) delete all

For more information, see delete Command.