C# Class Mono.Debugger.Module

A module is either a shared library (containing unmanaged code) or a dll (containing managed code). A module maintains all the breakpoints and controls whether to enter methods while single-stepping.
Inheritance: ModuleBase
Show file Open project: baulig/debugger Class Usage Examples

Private Properties

Property Type Description
LoadModule void
Module System
OnModuleChanged void
UnLoadModule void
UnwindStack StackFrame

Public Methods

Method Description
FindFile ( string filename ) : SourceFile

Find source file @filename. If @filename is a full pathname, an exact match is required. Otherwise, a match from any directory is ok.

FindLocation ( string source_file, int line ) : SourceLocation

Find the method containing line @line in @source_file, which must be the file's full pathname.

FindMethod ( string name ) : MethodSource

Find method @name, which must be a full method name including the signature (System.DateTime.GetUtcOffset(System.DateTime)).

GetMethod ( int domain, long handle ) : Method
GetMethods ( SourceFile file ) : MethodSource[]
SimpleLookup ( TargetAddress address, bool exact_match ) : Symbol

Protected Methods

Method Description
MyToString ( ) : string

Private Methods

Method Description
LoadModule ( SymbolFile symfile ) : void
Module ( ModuleGroup group, string name, SymbolFile symfile ) : System
OnModuleChanged ( ) : void
UnLoadModule ( ) : void
UnwindStack ( StackFrame last_frame, TargetMemoryAccess memory ) : StackFrame

Method Details

FindFile() public method

Find source file @filename. If @filename is a full pathname, an exact match is required. Otherwise, a match from any directory is ok.
public FindFile ( string filename ) : SourceFile
filename string
return SourceFile

FindLocation() public method

Find the method containing line @line in @source_file, which must be the file's full pathname.
public FindLocation ( string source_file, int line ) : SourceLocation
source_file string
line int
return SourceLocation

FindMethod() public method

Find method @name, which must be a full method name including the signature (System.DateTime.GetUtcOffset(System.DateTime)).
public FindMethod ( string name ) : MethodSource
name string
return MethodSource

GetMethod() public method

public GetMethod ( int domain, long handle ) : Method
domain int
handle long
return Method

GetMethods() public method

public GetMethods ( SourceFile file ) : MethodSource[]
file SourceFile
return MethodSource[]

MyToString() protected method

protected MyToString ( ) : string
return string

SimpleLookup() public method

public SimpleLookup ( TargetAddress address, bool exact_match ) : Symbol
address TargetAddress
exact_match bool
return Symbol