Next: , Previous: Enabling and Disabling, Up: Intro to Breakpoints


3.4.2.9 Deleting Breakpoints

Given a breakpoint instance in hand, you can deactivate it and remove it from the global list of current breakpoints by calling bp-delete!.

Alternatively, you can delete a breakpoint by its location args:

     (delete-breakpoint! 1)         ; delete breakpoint 1

delete-breakpoint! is implemented using get-breakpoint and bp-delete!, so any location-args that are valid for get-breakpoint will work also for delete-breakpoint!.

There is no way to reinstate a deleted breakpoint. Final destruction of the breakpoint instance is determined by the usual garbage collection rules.