C# Class Mono.Debugger.Frontend.Interpreter

Inheritance: Mono.Debugger.DebuggerMarshalByRefObject, IInterruptionHandler, IDisposable
显示文件 Open project: baulig/debugger Class Usage Examples

Private Properties

Property Type Description
Dispose void
IInterruptionHandler bool
Interpreter System

Public Methods

Method Description
Abort ( ) : void
AddToThreadGroup ( string name, Thread threads ) : void
Attach ( int pid ) : Process
ClearInterrupt ( ) : void
CreateThreadGroup ( string name ) : void
DeleteThreadGroup ( string name ) : void
Detach ( ) : void
Detach ( Process process ) : void
Dispose ( ) : void
Error ( ScriptingException ex ) : void
Error ( TargetException ex ) : void
Error ( string message ) : void
Exit ( ) : void
GetEvent ( int index ) : Event
GetModules ( int indices ) : Module[]
GetProcess ( int number ) : Process
GetSources ( int indices ) : Mono.Debugger.SourceFile[]
GetStyle ( string name ) : StyleBase
GetStyleNames ( ) : string[]
GetThread ( int number ) : Thread
GetThreadGroup ( string name, bool writable ) : ThreadGroup
GetThreads ( int indices ) : Thread[]
InsertExceptionCatchPoint ( Thread target, ThreadGroup group, TargetType exception, bool unhandled ) : int
InsertHardwareWatchPoint ( Thread target, TargetAddress address ) : int
Interpreter ( bool is_interactive, DebuggerConfiguration config, DebuggerOptions options ) : System
Interrupt ( ) : int
Kill ( ) : void
Kill ( Process process ) : void
LoadSession ( Stream stream ) : Process
ModuleOperations ( Module modules, ModuleOperation operations ) : void
OpenCoreFile ( string core_file ) : Process
Print ( object obj ) : void
Print ( string message ) : void
PrintCommandLineArgs ( Process process ) : string
PrintInstruction ( AssemblerLine line ) : void
PrintProcess ( Process process ) : string
Query ( string prompt ) : bool
QueryMethod ( TargetFunctionType methods ) : TargetFunctionType
ReadFile ( string filename ) : SourceBuffer
RemoveFromThreadGroup ( string name, Thread threads ) : void
SaveSession ( Stream stream ) : void
ShowBreakpoints ( ) : void
ShowDisplays ( StackFrame frame ) : void
ShowThreadGroups ( ) : void
Start ( ) : Process
Wait ( CommandResult result ) : bool

Protected Methods

Method Description
OnEnterNestedBreakState ( Thread thread ) : void
OnLeaveNestedBreakState ( Thread thread ) : void
OnMainProcessCreated ( Process process ) : void
OnProcessCreated ( Process process ) : void
OnProcessExecd ( Process process ) : void
OnProcessExited ( Process process ) : void
OnProcessReachedMain ( Process process ) : void
OnTargetEvent ( Thread thread, TargetEventArgs args ) : void
OnTargetExited ( ) : void
OnTargetOutput ( bool is_stderr, string line ) : void
OnThreadCreated ( Thread thread ) : void
OnThreadExited ( Thread thread ) : void

Private Methods

Method Description
Dispose ( bool disposing ) : void
IInterruptionHandler ( ) : bool
Interpreter ( ) : System

Method Details

Abort() public method

public Abort ( ) : void
return void

AddToThreadGroup() public method

public AddToThreadGroup ( string name, Thread threads ) : void
name string
threads Thread
return void

Attach() public method

public Attach ( int pid ) : Process
pid int
return Mono.Debugger.Process

ClearInterrupt() public method

public ClearInterrupt ( ) : void
return void

CreateThreadGroup() public method

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

DeleteThreadGroup() public method

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

Detach() public method

public Detach ( ) : void
return void

Detach() public method

public Detach ( Process process ) : void
process Mono.Debugger.Process
return void

Dispose() public method

public Dispose ( ) : void
return void

Error() public method

public Error ( ScriptingException ex ) : void
ex ScriptingException
return void

Error() public method

public Error ( TargetException ex ) : void
ex TargetException
return void

Error() public method

public Error ( string message ) : void
message string
return void

Exit() public method

public Exit ( ) : void
return void

GetEvent() public method

public GetEvent ( int index ) : Event
index int
return Mono.Debugger.Event

GetModules() public method

public GetModules ( int indices ) : Module[]
indices int
return Module[]

GetProcess() public method

public GetProcess ( int number ) : Process
number int
return Mono.Debugger.Process

GetSources() public method

public GetSources ( int indices ) : Mono.Debugger.SourceFile[]
indices int
return Mono.Debugger.SourceFile[]

GetStyle() public method

public GetStyle ( string name ) : StyleBase
name string
return StyleBase

GetStyleNames() public method

public GetStyleNames ( ) : string[]
return string[]

GetThread() public method

public GetThread ( int number ) : Thread
number int
return Thread

GetThreadGroup() public method

public GetThreadGroup ( string name, bool writable ) : ThreadGroup
name string
writable bool
return Mono.Debugger.ThreadGroup

GetThreads() public method

public GetThreads ( int indices ) : Thread[]
indices int
return Thread[]

InsertExceptionCatchPoint() public method

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

InsertHardwareWatchPoint() public method

public InsertHardwareWatchPoint ( Thread target, TargetAddress address ) : int
target Thread
address Mono.Debugger.TargetAddress
return int

Interpreter() public method

public Interpreter ( bool is_interactive, DebuggerConfiguration config, DebuggerOptions options ) : System
is_interactive bool
config Mono.Debugger.DebuggerConfiguration
options Mono.Debugger.DebuggerOptions
return System

Interrupt() public method

public Interrupt ( ) : int
return int

Kill() public method

public Kill ( ) : void
return void

Kill() public method

public Kill ( Process process ) : void
process Mono.Debugger.Process
return void

LoadSession() public method

public LoadSession ( Stream stream ) : Process
stream Stream
return Mono.Debugger.Process

ModuleOperations() public method

public ModuleOperations ( Module modules, ModuleOperation operations ) : void
modules Module
operations ModuleOperation
return void

OnEnterNestedBreakState() protected method

protected OnEnterNestedBreakState ( Thread thread ) : void
thread Thread
return void

OnLeaveNestedBreakState() protected method

protected OnLeaveNestedBreakState ( Thread thread ) : void
thread Thread
return void

OnMainProcessCreated() protected method

protected OnMainProcessCreated ( Process process ) : void
process Mono.Debugger.Process
return void

OnProcessCreated() protected method

protected OnProcessCreated ( Process process ) : void
process Mono.Debugger.Process
return void

OnProcessExecd() protected method

protected OnProcessExecd ( Process process ) : void
process Mono.Debugger.Process
return void

OnProcessExited() protected method

protected OnProcessExited ( Process process ) : void
process Mono.Debugger.Process
return void

OnProcessReachedMain() protected method

protected OnProcessReachedMain ( Process process ) : void
process Mono.Debugger.Process
return void

OnTargetEvent() protected method

protected OnTargetEvent ( Thread thread, TargetEventArgs args ) : void
thread Thread
args Mono.Debugger.TargetEventArgs
return void

OnTargetExited() protected method

protected OnTargetExited ( ) : void
return void

OnTargetOutput() protected method

protected OnTargetOutput ( bool is_stderr, string line ) : void
is_stderr bool
line string
return void

OnThreadCreated() protected method

protected OnThreadCreated ( Thread thread ) : void
thread Thread
return void

OnThreadExited() protected method

protected OnThreadExited ( Thread thread ) : void
thread Thread
return void

OpenCoreFile() public method

public OpenCoreFile ( string core_file ) : Process
core_file string
return Mono.Debugger.Process

Print() public method

public Print ( object obj ) : void
obj object
return void

Print() public method

public Print ( string message ) : void
message string
return void

PrintCommandLineArgs() public method

public PrintCommandLineArgs ( Process process ) : string
process Mono.Debugger.Process
return string

PrintInstruction() public method

public PrintInstruction ( AssemblerLine line ) : void
line Mono.Debugger.AssemblerLine
return void

PrintProcess() public method

public PrintProcess ( Process process ) : string
process Mono.Debugger.Process
return string

Query() public method

public Query ( string prompt ) : bool
prompt string
return bool

QueryMethod() public method

public QueryMethod ( TargetFunctionType methods ) : TargetFunctionType
methods Mono.Debugger.Languages.TargetFunctionType
return Mono.Debugger.Languages.TargetFunctionType

ReadFile() public method

public ReadFile ( string filename ) : SourceBuffer
filename string
return Mono.Debugger.SourceBuffer

RemoveFromThreadGroup() public method

public RemoveFromThreadGroup ( string name, Thread threads ) : void
name string
threads Thread
return void

SaveSession() public method

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

ShowBreakpoints() public method

public ShowBreakpoints ( ) : void
return void

ShowDisplays() public method

public ShowDisplays ( StackFrame frame ) : void
frame Mono.Debugger.StackFrame
return void

ShowThreadGroups() public method

public ShowThreadGroups ( ) : void
return void

Start() public method

public Start ( ) : Process
return Mono.Debugger.Process

Wait() public method

public Wait ( CommandResult result ) : bool
result Mono.Debugger.CommandResult
return bool