Home Page (Objects) | Overview | FAQ | Reference
Applies to: Debugger object
Occurs when a breakpoint is hit.
Syntax
object_BreakpointHit ( Brkpt_object )
Parameters
object
An expression that evaluates to a Debugger object.
Brkpt_object
The Breakpoint object representing the breakpoint that was hit.
Remarks
Developer Studio fires this event when a breakpoint occurs.
If you call the Go method in code for the BreakpointHit event, Developer Studio temporarily defers the call, executes the remaining instructions in the event code, and then executes the Go method when the event exits.
For an overview about using event code, see the introduction to events.
Example
Following is a sample event handler for the BreakpointHit event. Copy this into your macro file, and then insert the appropriate code.
sub Debugger_BreakpointHit(theBreakpoint)
' Insert code to handle the event here
end sub