C# Класс Mono.Debugger.DebuggerSession

Наследование: DebuggerMarshalByRefObject
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Config DebuggerConfiguration
Name string
Options DebuggerOptions

Защищенные свойства (Protected)

Свойство Тип Описание
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

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

ActivateEventAsync() публичный Метод

public ActivateEventAsync ( Event handle ) : void
handle Event
Результат void

ActivateOrDeactivateEventAsync() публичный Метод

public ActivateOrDeactivateEventAsync ( Event handle, bool activate ) : bool
handle Event
activate bool
Результат bool

AddEvent() публичный Метод

public AddEvent ( Event handle ) : void
handle Event
Результат void

AddUserModule() публичный Метод

public AddUserModule ( string name ) : void
name string
Результат void

AddUserModulePath() публичный Метод

public AddUserModulePath ( string path ) : void
path string
Результат void

CreateDisplay() публичный Метод

public CreateDisplay ( string text ) : Display
text string
Результат Display

CreateThreadGroup() публичный Метод

public CreateThreadGroup ( string name ) : ThreadGroup
name string
Результат ThreadGroup

DeactivateEventAsync() публичный Метод

public DeactivateEventAsync ( Event handle ) : void
handle Event
Результат void

DebuggerSession() публичный Метод

public DebuggerSession ( DebuggerConfiguration config, DebuggerOptions options, string name, IExpressionParser parser ) : System
config DebuggerConfiguration
options DebuggerOptions
name string
parser IExpressionParser
Результат System

DebuggerSession() защищенный Метод

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
Результат System

DebuggerSession() публичный Метод

public DebuggerSession ( DebuggerConfiguration config, Stream stream, IExpressionParser parser ) : System
config DebuggerConfiguration
stream Stream
parser IExpressionParser
Результат System

DeleteDisplay() публичный Метод

public DeleteDisplay ( Display d ) : void
d Display
Результат void

DeleteThreadGroup() публичный Метод

public DeleteThreadGroup ( string name ) : void
name string
Результат void

FindFile() публичный Метод

public FindFile ( string filename ) : SourceFile
filename string
Результат SourceFile

GetDisplay() публичный Метод

public GetDisplay ( int index ) : Display
index int
Результат Display

GetEvent() публичный Метод

public GetEvent ( int index ) : Event
index int
Результат Event

GetModule() публичный Метод

public GetModule ( string name ) : Module
name string
Результат Module

InsertBreakpoint() публичный Метод

public InsertBreakpoint ( Thread target, ThreadGroup group, TargetAddress address ) : Event
target Thread
group ThreadGroup
address TargetAddress
Результат Event

InsertBreakpoint() публичный Метод

public InsertBreakpoint ( ThreadGroup group, LocationType type, string name ) : Event
group ThreadGroup
type LocationType
name string
Результат Event

InsertBreakpoint() публичный Метод

public InsertBreakpoint ( ThreadGroup group, SourceLocation location ) : Event
group ThreadGroup
location SourceLocation
Результат Event

InsertExceptionCatchPoint() публичный Метод

public InsertExceptionCatchPoint ( Thread target, ThreadGroup group, TargetType exception, bool unhandled ) : Event
target Thread
group ThreadGroup
exception Mono.Debugger.Languages.TargetType
unhandled bool
Результат Event

InsertHardwareWatchPoint() публичный Метод

public InsertHardwareWatchPoint ( Thread target, TargetAddress address, HardwareWatchType type ) : Event
target Thread
address TargetAddress
type HardwareWatchType
Результат Event

LoadDisplays() защищенный Метод

protected LoadDisplays ( XPathNodeIterator display_iter ) : void
display_iter System.Xml.XPath.XPathNodeIterator
Результат void

LoadEvents() защищенный Метод

protected LoadEvents ( XPathNodeIterator event_iter ) : void
event_iter System.Xml.XPath.XPathNodeIterator
Результат void

LoadSession() защищенный Метод

protected LoadSession ( XPathNavigator nav ) : void
nav System.Xml.XPath.XPathNavigator
Результат void

MapFileName() публичный Метод

public MapFileName ( string path ) : string
path string
Результат string

ParseEvent() защищенный Метод

protected ParseEvent ( XPathNavigator navigator, int index, ThreadGroup group ) : Event
navigator System.Xml.XPath.XPathNavigator
index int
group ThreadGroup
Результат Event

RemoveEvent() публичный Метод

public RemoveEvent ( Event handle ) : void
handle Event
Результат void

SaveSession() защищенный Метод

protected SaveSession ( ) : XmlDocument
Результат System.Xml.XmlDocument

SaveSession() публичный Метод

public SaveSession ( Stream stream ) : void
stream Stream
Результат void

ThreadGroupByName() публичный Метод

public ThreadGroupByName ( string name ) : ThreadGroup
name string
Результат ThreadGroup

ThreadGroupExists() публичный Метод

public ThreadGroupExists ( string name ) : bool
name string
Результат bool

Описание свойств

Config публичное свойство

public DebuggerConfiguration,Mono.Debugger Config
Результат DebuggerConfiguration

Name публичное свойство

public string Name
Результат string

Options публичное свойство

public DebuggerOptions,Mono.Debugger Options
Результат DebuggerOptions

directory_maps защищенное свойство

protected Dictionary directory_maps
Результат string>.Dictionary

displays защищенное свойство

protected Hashtable,System.Collections displays
Результат System.Collections.Hashtable

main_thread_group защищенное свойство

protected ThreadGroup,Mono.Debugger main_thread_group
Результат ThreadGroup

modules защищенное свойство

protected Hashtable,System.Collections modules
Результат System.Collections.Hashtable

thread_groups защищенное свойство

protected Hashtable,System.Collections thread_groups
Результат System.Collections.Hashtable

user_module_paths защищенное свойство

protected List user_module_paths
Результат List

user_modules защищенное свойство

protected List user_modules
Результат List