C# Class Mono.Debugger.DebuggerSession

Inheritance: DebuggerMarshalByRefObject
Datei anzeigen Open project: baulig/debugger Class Usage Examples

Public Properties

Property Type Description
Config DebuggerConfiguration
Name string
Options DebuggerOptions

Protected Properties

Property Type Description
directory_maps string>.Dictionary
displays System.Collections.Hashtable
main_thread_group ThreadGroup
modules System.Collections.Hashtable
thread_groups System.Collections.Hashtable
user_module_paths List
user_modules List

Private Properties

Property Type Description
AddThreadGroup void
Clone DebuggerSession
CreateModule Module
CreateModule Module
DebuggerSession System
DeleteEvent void
GetPendingBreakpoints PendingBreakpointQueue
HasPendingBreakpoints bool
InsertExceptionCatchPoint Event
OnMainProcessCreated void
OnProcessCreated void
OnProcessExecd void
OnProcessExited void
ParseLocation SourceLocation
is_user_module bool
map_file_name bool

Public Methods

Method Description
ActivateEventAsync ( Event handle ) : void
ActivateOrDeactivateEventAsync ( Event handle, bool activate ) : bool
AddEvent ( Event handle ) : void
AddUserModule ( string name ) : void
AddUserModulePath ( string path ) : void
CreateDisplay ( string text ) : Display
CreateThreadGroup ( string name ) : ThreadGroup
DeactivateEventAsync ( Event handle ) : void
DebuggerSession ( DebuggerConfiguration config, DebuggerOptions options, string name, IExpressionParser parser ) : System
DebuggerSession ( DebuggerConfiguration config, Stream stream, IExpressionParser parser ) : System
DeleteDisplay ( Display d ) : void
DeleteThreadGroup ( string name ) : void
FindFile ( string filename ) : SourceFile
GetDisplay ( int index ) : Display
GetEvent ( int index ) : Event
GetModule ( string name ) : Module
InsertBreakpoint ( Thread target, ThreadGroup group, TargetAddress address ) : Event
InsertBreakpoint ( ThreadGroup group, LocationType type, string name ) : Event
InsertBreakpoint ( ThreadGroup group, SourceLocation location ) : Event
InsertExceptionCatchPoint ( Thread target, ThreadGroup group, TargetType exception, bool unhandled ) : Event
InsertHardwareWatchPoint ( Thread target, TargetAddress address, HardwareWatchType type ) : Event
MapFileName ( string path ) : string
RemoveEvent ( Event handle ) : void
SaveSession ( Stream stream ) : void
ThreadGroupByName ( string name ) : ThreadGroup
ThreadGroupExists ( string name ) : bool

Protected Methods

Method Description
DebuggerSession ( DebuggerConfiguration config, Process process, DebuggerOptions options, string name, IExpressionParser parser, XPathNavigator nav ) : System
LoadDisplays ( XPathNodeIterator display_iter ) : void
LoadEvents ( XPathNodeIterator event_iter ) : void
LoadSession ( XPathNavigator nav ) : void
ParseEvent ( XPathNavigator navigator, int index, ThreadGroup group ) : Event
SaveSession ( ) : XmlDocument

Private Methods

Method Description
AddThreadGroup ( XmlElement root, ThreadGroup group ) : void
Clone ( Process new_process, DebuggerOptions new_options, string new_name ) : DebuggerSession
CreateModule ( string name, ModuleGroup group ) : Module
CreateModule ( string name, SymbolFile symfile ) : Module
DebuggerSession ( DebuggerConfiguration config, string name ) : System
DeleteEvent ( Event handle ) : void
GetPendingBreakpoints ( SingleSteppingEngine sse, Module module ) : PendingBreakpointQueue
HasPendingBreakpoints ( ) : bool
InsertExceptionCatchPoint ( Thread target, ThreadGroup group, TargetType exception ) : Event
OnMainProcessCreated ( Process process ) : void
OnProcessCreated ( Process process ) : void
OnProcessExecd ( Process process ) : void
OnProcessExited ( Process process ) : void
ParseLocation ( Thread target, StackFrame frame, LocationType type, string name ) : SourceLocation
is_user_module ( string code_base ) : bool
map_file_name ( string &path, string from, string to ) : bool

Method Details

ActivateEventAsync() public method

public ActivateEventAsync ( Event handle ) : void
handle Event
return void

ActivateOrDeactivateEventAsync() public method

public ActivateOrDeactivateEventAsync ( Event handle, bool activate ) : bool
handle Event
activate bool
return bool

AddEvent() public method

public AddEvent ( Event handle ) : void
handle Event
return void

AddUserModule() public method

public AddUserModule ( string name ) : void
name string
return void

AddUserModulePath() public method

public AddUserModulePath ( string path ) : void
path string
return void

CreateDisplay() public method

public CreateDisplay ( string text ) : Display
text string
return Display

CreateThreadGroup() public method

public CreateThreadGroup ( string name ) : ThreadGroup
name string
return ThreadGroup

DeactivateEventAsync() public method

public DeactivateEventAsync ( Event handle ) : void
handle Event
return void

DebuggerSession() public method

public DebuggerSession ( DebuggerConfiguration config, DebuggerOptions options, string name, IExpressionParser parser ) : System
config DebuggerConfiguration
options DebuggerOptions
name string
parser IExpressionParser
return System

DebuggerSession() protected method

protected DebuggerSession ( DebuggerConfiguration config, Process process, DebuggerOptions options, string name, IExpressionParser parser, XPathNavigator nav ) : System
config DebuggerConfiguration
process Process
options DebuggerOptions
name string
parser IExpressionParser
nav System.Xml.XPath.XPathNavigator
return System

DebuggerSession() public method

public DebuggerSession ( DebuggerConfiguration config, Stream stream, IExpressionParser parser ) : System
config DebuggerConfiguration
stream Stream
parser IExpressionParser
return System

DeleteDisplay() public method

public DeleteDisplay ( Display d ) : void
d Display
return void

DeleteThreadGroup() public method

public DeleteThreadGroup ( string name ) : void
name string
return void

FindFile() public method

public FindFile ( string filename ) : SourceFile
filename string
return SourceFile

GetDisplay() public method

public GetDisplay ( int index ) : Display
index int
return Display

GetEvent() public method

public GetEvent ( int index ) : Event
index int
return Event

GetModule() public method

public GetModule ( string name ) : Module
name string
return Module

InsertBreakpoint() public method

public InsertBreakpoint ( Thread target, ThreadGroup group, TargetAddress address ) : Event
target Thread
group ThreadGroup
address TargetAddress
return Event

InsertBreakpoint() public method

public InsertBreakpoint ( ThreadGroup group, LocationType type, string name ) : Event
group ThreadGroup
type LocationType
name string
return Event

InsertBreakpoint() public method

public InsertBreakpoint ( ThreadGroup group, SourceLocation location ) : Event
group ThreadGroup
location SourceLocation
return Event

InsertExceptionCatchPoint() public method

public InsertExceptionCatchPoint ( Thread target, ThreadGroup group, TargetType exception, bool unhandled ) : Event
target Thread
group ThreadGroup
exception Mono.Debugger.Languages.TargetType
unhandled bool
return Event

InsertHardwareWatchPoint() public method

public InsertHardwareWatchPoint ( Thread target, TargetAddress address, HardwareWatchType type ) : Event
target Thread
address TargetAddress
type HardwareWatchType
return Event

LoadDisplays() protected method

protected LoadDisplays ( XPathNodeIterator display_iter ) : void
display_iter System.Xml.XPath.XPathNodeIterator
return void

LoadEvents() protected method

protected LoadEvents ( XPathNodeIterator event_iter ) : void
event_iter System.Xml.XPath.XPathNodeIterator
return void

LoadSession() protected method

protected LoadSession ( XPathNavigator nav ) : void
nav System.Xml.XPath.XPathNavigator
return void

MapFileName() public method

public MapFileName ( string path ) : string
path string
return string

ParseEvent() protected method

protected ParseEvent ( XPathNavigator navigator, int index, ThreadGroup group ) : Event
navigator System.Xml.XPath.XPathNavigator
index int
group ThreadGroup
return Event

RemoveEvent() public method

public RemoveEvent ( Event handle ) : void
handle Event
return void

SaveSession() protected method

protected SaveSession ( ) : XmlDocument
return System.Xml.XmlDocument

SaveSession() public method

public SaveSession ( Stream stream ) : void
stream Stream
return void

ThreadGroupByName() public method

public ThreadGroupByName ( string name ) : ThreadGroup
name string
return ThreadGroup

ThreadGroupExists() public method

public ThreadGroupExists ( string name ) : bool
name string
return bool

Property Details

Config public_oe property

public DebuggerConfiguration,Mono.Debugger Config
return DebuggerConfiguration

Name public_oe property

public string Name
return string

Options public_oe property

public DebuggerOptions,Mono.Debugger Options
return DebuggerOptions

directory_maps protected_oe property

protected Dictionary directory_maps
return string>.Dictionary

displays protected_oe property

protected Hashtable,System.Collections displays
return System.Collections.Hashtable

main_thread_group protected_oe property

protected ThreadGroup,Mono.Debugger main_thread_group
return ThreadGroup

modules protected_oe property

protected Hashtable,System.Collections modules
return System.Collections.Hashtable

thread_groups protected_oe property

protected Hashtable,System.Collections thread_groups
return System.Collections.Hashtable

user_module_paths protected_oe property

protected List user_module_paths
return List

user_modules protected_oe property

protected List user_modules
return List