C# 클래스 Mono.Debugging.Soft.SoftDebuggerSession

상속: Mono.Debugging.Client.DebuggerSession
파일 보기 프로젝트 열기: slluis/monodevelop 1 사용 예제들

공개 메소드들

메소드 설명
Disassemble ( Mono frame, int firstLine, int count ) : Mono.Debugging.Client.AssemblyLine[]
Dispose ( ) : void
GetAllTypes ( ) : IEnumerable
GetExceptionObject ( ThreadMirror thread ) : ObjectMirror
GetType ( string fullName ) : TypeMirror
IsExternalCode ( Mono frame ) : bool
IsExternalCode ( TypeMirror type ) : bool
SoftDebuggerSession ( ) : System

보호된 메소드들

메소드 설명
ConnectOutput ( System reader, bool error ) : void
EndSession ( ) : void
EnsureExited ( ) : void

This is a fallback in case the debugger agent doesn't respond to an exit call

GetConnectingMessage ( Mono.Debugging.Client.DebuggerStartInfo dsi ) : string
HandleException ( Exception ex ) : bool
OnAttachToProcess ( long processId ) : void
OnCancelAsyncEvaluations ( ) : void
OnConnectionError ( Exception ex ) : void

Called if an error happens while making the connection. Default terminates the session.

OnContinue ( ) : void
OnDetach ( ) : void
OnDisassembleFile ( string file ) : Mono.Debugging.Client.AssemblyLine[]
OnEnableBreakEvent ( Mono.Debugging.Client.BreakEventInfo binfo, bool enable ) : void
OnExit ( ) : void
OnFinish ( ) : void
OnGetProcesses ( ) : Mono.Debugging.Client.ProcessInfo[]
OnGetThreadBacktrace ( long processId, long threadId ) : Mono.Debugging.Client.Backtrace
OnGetThreads ( long processId ) : ThreadInfo[]
OnInsertBreakEvent ( Mono.Debugging.Client.BreakEvent ev ) : Mono.Debugging.Client.BreakEventInfo
OnNextInstruction ( ) : void
OnNextLine ( ) : void
OnRemoveBreakEvent ( Mono.Debugging.Client.BreakEventInfo binfo ) : void
OnResumed ( ) : void
OnRun ( Mono.Debugging.Client.DebuggerStartInfo startInfo ) : void
OnSetActiveThread ( long processId, long threadId ) : void
OnStepInstruction ( ) : void
OnStepLine ( ) : void
OnStop ( ) : void
OnUpdateBreakEvent ( Mono.Debugging.Client.BreakEventInfo binfo ) : void
RegisterUserAssemblies ( List userAssemblyNames ) : void
ShouldRetryConnection ( Exception ex, int attemptNumber ) : bool
StartConnecting ( Mono.Debugging.Soft.SoftDebuggerStartInfo dsi ) : void
StartConnecting ( Mono.Debugging.Soft.SoftDebuggerStartInfo dsi, int maxAttempts, int timeBetweenAttempts ) : void

Starts the debugger connecting to a remote IP

StartListening ( Mono.Debugging.Soft.SoftDebuggerStartInfo dsi ) : void

Starts the debugger listening for a connection over TCP/IP

StartListening ( Mono.Debugging.Soft.SoftDebuggerStartInfo dsi, int &assignedDebugPort ) : void

Starts the debugger listening for a connection over TCP/IP

StartListening ( Mono.Debugging.Soft.SoftDebuggerStartInfo dsi, int &assignedDebugPort, int &assignedConsolePort ) : void

Starts the debugger listening for a connection over TCP/IP

비공개 메소드들

메소드 설명
ConnectionStarted ( VirtualMachine vm ) : void

If subclasses do an async connect in OnRun, they should pass the resulting VM to this method. If the vm is null, the session will be closed.

ConnectionStarting ( IAsyncResult connectionHandle, Mono.Debugging.Client.DebuggerStartInfo dsi, bool listening, int attemptNumber ) : void
DequeueEventsForFirstThread ( ) : void
Disassemble ( Mono.Debugger.Soft.ILInstruction ins ) : string
EndLaunch ( ) : void
EnsureRecentThreadIsValid ( Mono.Debugging.Client.ProcessInfo process ) : void
EvaluateExpression ( ThreadMirror thread, string exp ) : string
EvaluateTrace ( ThreadMirror thread, string exp ) : string
EventHandler ( ) : void
FindLocation ( string file, int line, bool &inisideLoadedRange ) : Mono.Debugger.Soft.Location
GetId ( ThreadMirror thread ) : long
GetLocFromType ( TypeMirror type, string file, int line, bool &insideTypeRange ) : Mono.Debugger.Soft.Location
GetThread ( Mono.Debugging.Client.ProcessInfo process, ThreadMirror thread ) : ThreadInfo
GetThread ( long processId, long threadId ) : ThreadMirror
GetThreadBacktrace ( ThreadMirror thread ) : Mono.Debugging.Client.Backtrace
HandleBreakEventSet ( Mono.Debugger.Soft.Event es, bool dequeuing ) : void
HandleBreakpoint ( ThreadMirror thread, Mono.Debugger.Soft.EventRequest er ) : bool
HandleConnectionCallbackErrors ( AsyncCallback callback ) : AsyncCallback

Catches errors in async callbacks and hands off to OnConnectionError

HandleEvent ( Mono.Debugger.Soft.Event e ) : void
HandleEventSet ( Mono.Debugger.Soft.EventSet es ) : void
HasUserFrame ( long tid, ThreadInfo infos ) : bool
HideConnectionDialog ( ) : void
InitForRemoteSession ( Mono.Debugging.Soft.SoftDebuggerStartInfo dsi, IPEndPoint &dbgEP, IPEndPoint &conEP ) : void
InsertBreakpoint ( Mono.Debugging.Client.Breakpoint bp, BreakInfo bi ) : void
InsertCatchpoint ( Mono.Debugging.Client.Catchpoint cp, BreakInfo bi, TypeMirror excType ) : void
IsRunningOnMac ( ) : bool
PathToFileName ( string path ) : string
PathsAreEqual ( string p1, string p2 ) : bool
QueueBreakEventSet ( Mono.Debugger.Soft.Event eventSet ) : void
QueueEnsureExited ( ) : void
ReadOutput ( System reader, bool isError ) : void
RemoveQueuedBreakEvents ( Mono.Debugger.Soft.EventRequest request ) : void
ResolveBreakpoints ( TypeMirror t ) : void
ResolvePendingBreakpoint ( BreakInfo bi, Mono.Debugger.Soft.Location l ) : void
ResolvePendingCatchpoint ( BreakInfo bi, TypeMirror type ) : void
StartLaunching ( Mono.Debugging.Soft.SoftDebuggerStartInfo dsi ) : void
Step ( StepDepth depth, StepSize size ) : void
ThreadIsAlive ( ThreadMirror thread ) : bool
UpdateAssemblyFilters ( Mono.Debugger.Soft.AssemblyMirror asm ) : bool
WriteDebuggerOutput ( bool isError, string msg ) : void
uname ( IntPtr buf ) : int

메소드 상세

ConnectOutput() 보호된 메소드

protected ConnectOutput ( System reader, bool error ) : void
reader System
error bool
리턴 void

Disassemble() 공개 메소드

public Disassemble ( Mono frame, int firstLine, int count ) : Mono.Debugging.Client.AssemblyLine[]
frame Mono
firstLine int
count int
리턴 Mono.Debugging.Client.AssemblyLine[]

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EndSession() 보호된 메소드

protected EndSession ( ) : void
리턴 void

EnsureExited() 보호된 메소드

This is a fallback in case the debugger agent doesn't respond to an exit call
protected EnsureExited ( ) : void
리턴 void

GetAllTypes() 공개 메소드

public GetAllTypes ( ) : IEnumerable
리턴 IEnumerable

GetConnectingMessage() 보호된 메소드

protected GetConnectingMessage ( Mono.Debugging.Client.DebuggerStartInfo dsi ) : string
dsi Mono.Debugging.Client.DebuggerStartInfo
리턴 string

GetExceptionObject() 공개 메소드

public GetExceptionObject ( ThreadMirror thread ) : ObjectMirror
thread Mono.Debugger.Soft.ThreadMirror
리턴 Mono.Debugger.Soft.ObjectMirror

GetType() 공개 메소드

public GetType ( string fullName ) : TypeMirror
fullName string
리턴 Mono.Debugger.Soft.TypeMirror

HandleException() 보호된 메소드

protected HandleException ( Exception ex ) : bool
ex System.Exception
리턴 bool

IsExternalCode() 공개 메소드

public IsExternalCode ( Mono frame ) : bool
frame Mono
리턴 bool

IsExternalCode() 공개 메소드

public IsExternalCode ( TypeMirror type ) : bool
type Mono.Debugger.Soft.TypeMirror
리턴 bool

OnAttachToProcess() 보호된 메소드

protected OnAttachToProcess ( long processId ) : void
processId long
리턴 void

OnCancelAsyncEvaluations() 보호된 메소드

protected OnCancelAsyncEvaluations ( ) : void
리턴 void

OnConnectionError() 보호된 메소드

Called if an error happens while making the connection. Default terminates the session.
protected OnConnectionError ( Exception ex ) : void
ex System.Exception
리턴 void

OnContinue() 보호된 메소드

protected OnContinue ( ) : void
리턴 void

OnDetach() 보호된 메소드

protected OnDetach ( ) : void
리턴 void

OnDisassembleFile() 보호된 메소드

protected OnDisassembleFile ( string file ) : Mono.Debugging.Client.AssemblyLine[]
file string
리턴 Mono.Debugging.Client.AssemblyLine[]

OnEnableBreakEvent() 보호된 메소드

protected OnEnableBreakEvent ( Mono.Debugging.Client.BreakEventInfo binfo, bool enable ) : void
binfo Mono.Debugging.Client.BreakEventInfo
enable bool
리턴 void

OnExit() 보호된 메소드

protected OnExit ( ) : void
리턴 void

OnFinish() 보호된 메소드

protected OnFinish ( ) : void
리턴 void

OnGetProcesses() 보호된 메소드

protected OnGetProcesses ( ) : Mono.Debugging.Client.ProcessInfo[]
리턴 Mono.Debugging.Client.ProcessInfo[]

OnGetThreadBacktrace() 보호된 메소드

protected OnGetThreadBacktrace ( long processId, long threadId ) : Mono.Debugging.Client.Backtrace
processId long
threadId long
리턴 Mono.Debugging.Client.Backtrace

OnGetThreads() 보호된 메소드

protected OnGetThreads ( long processId ) : ThreadInfo[]
processId long
리턴 ThreadInfo[]

OnInsertBreakEvent() 보호된 메소드

protected OnInsertBreakEvent ( Mono.Debugging.Client.BreakEvent ev ) : Mono.Debugging.Client.BreakEventInfo
ev Mono.Debugging.Client.BreakEvent
리턴 Mono.Debugging.Client.BreakEventInfo

OnNextInstruction() 보호된 메소드

protected OnNextInstruction ( ) : void
리턴 void

OnNextLine() 보호된 메소드

protected OnNextLine ( ) : void
리턴 void

OnRemoveBreakEvent() 보호된 메소드

protected OnRemoveBreakEvent ( Mono.Debugging.Client.BreakEventInfo binfo ) : void
binfo Mono.Debugging.Client.BreakEventInfo
리턴 void

OnResumed() 보호된 메소드

protected OnResumed ( ) : void
리턴 void

OnRun() 보호된 메소드

protected OnRun ( Mono.Debugging.Client.DebuggerStartInfo startInfo ) : void
startInfo Mono.Debugging.Client.DebuggerStartInfo
리턴 void

OnSetActiveThread() 보호된 메소드

protected OnSetActiveThread ( long processId, long threadId ) : void
processId long
threadId long
리턴 void

OnStepInstruction() 보호된 메소드

protected OnStepInstruction ( ) : void
리턴 void

OnStepLine() 보호된 메소드

protected OnStepLine ( ) : void
리턴 void

OnStop() 보호된 메소드

protected OnStop ( ) : void
리턴 void

OnUpdateBreakEvent() 보호된 메소드

protected OnUpdateBreakEvent ( Mono.Debugging.Client.BreakEventInfo binfo ) : void
binfo Mono.Debugging.Client.BreakEventInfo
리턴 void

RegisterUserAssemblies() 보호된 메소드

protected RegisterUserAssemblies ( List userAssemblyNames ) : void
userAssemblyNames List
리턴 void

ShouldRetryConnection() 보호된 메소드

protected ShouldRetryConnection ( Exception ex, int attemptNumber ) : bool
ex System.Exception
attemptNumber int
리턴 bool

SoftDebuggerSession() 공개 메소드

public SoftDebuggerSession ( ) : System
리턴 System

StartConnecting() 보호된 메소드

protected StartConnecting ( Mono.Debugging.Soft.SoftDebuggerStartInfo dsi ) : void
dsi Mono.Debugging.Soft.SoftDebuggerStartInfo
리턴 void

StartConnecting() 보호된 메소드

Starts the debugger connecting to a remote IP
protected StartConnecting ( Mono.Debugging.Soft.SoftDebuggerStartInfo dsi, int maxAttempts, int timeBetweenAttempts ) : void
dsi Mono.Debugging.Soft.SoftDebuggerStartInfo
maxAttempts int
timeBetweenAttempts int
리턴 void

StartListening() 보호된 메소드

Starts the debugger listening for a connection over TCP/IP
protected StartListening ( Mono.Debugging.Soft.SoftDebuggerStartInfo dsi ) : void
dsi Mono.Debugging.Soft.SoftDebuggerStartInfo
리턴 void

StartListening() 보호된 메소드

Starts the debugger listening for a connection over TCP/IP
protected StartListening ( Mono.Debugging.Soft.SoftDebuggerStartInfo dsi, int &assignedDebugPort ) : void
dsi Mono.Debugging.Soft.SoftDebuggerStartInfo
assignedDebugPort int
리턴 void

StartListening() 보호된 메소드

Starts the debugger listening for a connection over TCP/IP
protected StartListening ( Mono.Debugging.Soft.SoftDebuggerStartInfo dsi, int &assignedDebugPort, int &assignedConsolePort ) : void
dsi Mono.Debugging.Soft.SoftDebuggerStartInfo
assignedDebugPort int
assignedConsolePort int
리턴 void