Next: , Previous: Interactive Debugging, Up: Debugging


5.21.2 Breakpoints

— Generic Function: set-breakpoint! behaviour . location-args

Set a breakpoint with behaviour behaviour at the location specified by location-args.

The form of the location-args depends upon what methods for set-breakpoint! have been provided by the implementations of subclasses of the <breakpoint> base class.

— Generic Function: get-breakpoint . location-args

Find and return the breakpoint instance at the location specified by location-args.

The form of the location-args depends upon what methods for get-breakpoint have been provided by the implementations of subclasses of the <breakpoint> base class.

— Method: set-breakpoint! behaviour (proc <procedure>)

Set a breakpoint with behaviour behaviour before applications of the procedure proc.

— Method: set-breakpoint! behaviour x-as-read (x-pairified <pair>)

Set a breakpoint with behaviour behaviour on the source expression x-pairified, storing x-as-read for use in messages describing the breakpoint.

— Method: set-breakpoint! behaviour (number <integer>)

Change the behaviour of existing breakpoint number number to behaviour.

— Accessor: bp-behaviour breakpoint

Get or set the behaviour of the breakpoint instance breakpoint.

— Accessor: bp-enabled? breakpoint

Get or set the enabled state of the specified breakpoint.

— Procedure: enable-breakpoint! . location-args
— Procedure: disable-breakpoint! . location-args

Enable or disable the breakpoint at the location specified by location-args.

— Generic Function: bp-delete! breakpoint

Delete breakpoint breakpoint. This means (1) doing whatever is needed to prevent the breakpoint from triggering again, and (2) removing it from the global list of current breakpoints.

— Procedure: delete-breakpoint! . location-args

Delete the breakpoint at the location specified by location-args.

— Generic Function: bp-describe breakpoint port

Print a description of breakpoint to the specified port. port can be #t for standard output, or else any output port.

— Procedure: describe-breakpoint . location-args

Print (to standard output) a description of the breakpoint at location specified by location-args.

— Procedure: all-breakpoints

Return a list of all current breakpoints, ordered by breakpoint number.

— Procedure: describe-all-breakpoints

Print a description of all current breakpoints to standard output.