Debugging a Program With dbx

Deleting Specific Breakpoints Using Handler ID Numbers

When you list breakpoints using the status command, dbx prints 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:


(dbx) delete 3 5

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


(dbx) delete all