C# Class Mono.Debugger.Breakpoint

This is an abstract base class which is implemented by the user interface to hold the user's settings for a breakpoint.
Inheritance: Event
Show file Open project: baulig/debugger Class Usage Examples

Public Methods

Method Description
CheckBreakpointHit ( Thread target, TargetAddress address ) : bool

This method is called each time the breakpoint is hit. It returns true if the target should remain stopped and false if the breakpoint is to be ignored.

The @target argument is *not* serializable and may not be used anywhere outside this handler.

Remove ( Thread target ) : void
ToString ( ) : string

Protected Methods

Method Description
Breakpoint ( EventType type, int index, string name, ThreadGroup group ) : System
Breakpoint ( EventType type, string name, ThreadGroup group ) : System
GetEventType ( HardwareWatchType type ) : EventType
OnBreakpointBound ( ) : void
OnBreakpointError ( string message ) : void
OnResolveFailed ( ) : void

Private Methods

Method Description
BreakpointHandler ( Inferior inferior, bool &remain_stopped ) : bool

Internal breakpoint handler.

The return value specifies whether we already dealt with the breakpoint; so you normally make it return `true' when overriding.

Resolve ( Thread target, StackFrame frame ) : BreakpointHandle

Method Details

Breakpoint() protected method

protected Breakpoint ( EventType type, int index, string name, ThreadGroup group ) : System
type EventType
index int
name string
group ThreadGroup
return System

Breakpoint() protected method

protected Breakpoint ( EventType type, string name, ThreadGroup group ) : System
type EventType
name string
group ThreadGroup
return System

CheckBreakpointHit() public method

This method is called each time the breakpoint is hit. It returns true if the target should remain stopped and false if the breakpoint is to be ignored.
The @target argument is *not* serializable and may not be used anywhere outside this handler.
public CheckBreakpointHit ( Thread target, TargetAddress address ) : bool
target Thread
address TargetAddress
return bool

GetEventType() protected static method

protected static GetEventType ( HardwareWatchType type ) : EventType
type HardwareWatchType
return EventType

OnBreakpointBound() protected method

protected OnBreakpointBound ( ) : void
return void

OnBreakpointError() protected method

protected OnBreakpointError ( string message ) : void
message string
return void

OnResolveFailed() protected method

protected OnResolveFailed ( ) : void
return void

Remove() public method

public Remove ( Thread target ) : void
target Thread
return void

ToString() public method

public ToString ( ) : string
return string