C# 클래스 Microsoft.Samples.Debugging.CorDebug.CorDebugger

상속: System.MarshalByRefObject
파일 보기 프로젝트 열기: LogosBible/monodevelop 1 사용 예제들

공개 메소드들

메소드 설명
CanLaunchOrAttach ( int processId, bool win32DebuggingEnabled ) : void
CorDebugger ( System.Guid debuggerGuid ) : System

Creates a debugger wrapper from Guid.

CorDebugger ( string debuggerVersion ) : System

Creates a debugger interface that is able debug requested verison of CLR

The version number is usually retrieved either by calling one of following mscoree functions: GetCorVerison, GetRequestedRuntimeVersion or GetVersionFromProcess.

CreateProcess ( String applicationName, String commandLine ) : Microsoft.Samples.Debugging.CorDebug.CorProcess
CreateProcess ( String applicationName, String commandLine, String currentDirectory ) : Microsoft.Samples.Debugging.CorDebug.CorProcess
CreateProcess ( String applicationName, String commandLine, String currentDirectory, string>.IDictionary environment ) : Microsoft.Samples.Debugging.CorDebug.CorProcess
CreateProcess ( String applicationName, String commandLine, String currentDirectory, string>.IDictionary environment, int flags ) : Microsoft.Samples.Debugging.CorDebug.CorProcess
DebugActiveProcess ( int processId, bool win32Attach ) : Microsoft.Samples.Debugging.CorDebug.CorProcess
GetDebuggerVersionFromFile ( string pathToExe ) : string
GetDebuggerVersionFromPid ( int pid ) : string
GetDefaultDebuggerVersion ( ) : string
GetProcess ( int processId ) : Microsoft.Samples.Debugging.CorDebug.CorProcess
Terminate ( ) : void

비공개 메소드들

메소드 설명
CreateProcess ( String applicationName, String commandLine, Microsoft.Samples.Debugging.CorDebug.NativeApi.SECURITY_ATTRIBUTES processAttributes, Microsoft.Samples.Debugging.CorDebug.NativeApi.SECURITY_ATTRIBUTES threadAttributes, bool inheritHandles, int creationFlags, IntPtr environment, String currentDirectory, Microsoft.Samples.Debugging.CorDebug.NativeApi.STARTUPINFO startupInfo, Microsoft.Samples.Debugging.CorDebug.NativeApi.PROCESS_INFORMATION &processInformation, CorDebugCreateProcessFlags debuggingFlags ) : Microsoft.Samples.Debugging.CorDebug.CorProcess
InitFromICorDebug ( ICorDebug rawDebuggingAPI ) : void
InitFromVersion ( string debuggerVersion ) : void
InternalFireEvent ( ManagedCallbackType callbackType, CorEventArgs e ) : void
SetManagedHandler ( ICorDebugManagedCallback managedCallback ) : void
SetUnmanagedHandler ( ICorDebugUnmanagedCallback nativeCallback ) : void

메소드 상세

CanLaunchOrAttach() 공개 메소드

public CanLaunchOrAttach ( int processId, bool win32DebuggingEnabled ) : void
processId int
win32DebuggingEnabled bool
리턴 void

CorDebugger() 공개 메소드

Creates a debugger wrapper from Guid.
public CorDebugger ( System.Guid debuggerGuid ) : System
debuggerGuid System.Guid
리턴 System

CorDebugger() 공개 메소드

Creates a debugger interface that is able debug requested verison of CLR
The version number is usually retrieved either by calling one of following mscoree functions: GetCorVerison, GetRequestedRuntimeVersion or GetVersionFromProcess.
public CorDebugger ( string debuggerVersion ) : System
debuggerVersion string
리턴 System

CreateProcess() 공개 메소드

public CreateProcess ( String applicationName, String commandLine ) : Microsoft.Samples.Debugging.CorDebug.CorProcess
applicationName String
commandLine String
리턴 Microsoft.Samples.Debugging.CorDebug.CorProcess

CreateProcess() 공개 메소드

public CreateProcess ( String applicationName, String commandLine, String currentDirectory ) : Microsoft.Samples.Debugging.CorDebug.CorProcess
applicationName String
commandLine String
currentDirectory String
리턴 Microsoft.Samples.Debugging.CorDebug.CorProcess

CreateProcess() 공개 메소드

public CreateProcess ( String applicationName, String commandLine, String currentDirectory, string>.IDictionary environment ) : Microsoft.Samples.Debugging.CorDebug.CorProcess
applicationName String
commandLine String
currentDirectory String
environment string>.IDictionary
리턴 Microsoft.Samples.Debugging.CorDebug.CorProcess

CreateProcess() 공개 메소드

public CreateProcess ( String applicationName, String commandLine, String currentDirectory, string>.IDictionary environment, int flags ) : Microsoft.Samples.Debugging.CorDebug.CorProcess
applicationName String
commandLine String
currentDirectory String
environment string>.IDictionary
flags int
리턴 Microsoft.Samples.Debugging.CorDebug.CorProcess

DebugActiveProcess() 공개 메소드

public DebugActiveProcess ( int processId, bool win32Attach ) : Microsoft.Samples.Debugging.CorDebug.CorProcess
processId int
win32Attach bool
리턴 Microsoft.Samples.Debugging.CorDebug.CorProcess

GetDebuggerVersionFromFile() 공개 정적인 메소드

public static GetDebuggerVersionFromFile ( string pathToExe ) : string
pathToExe string
리턴 string

GetDebuggerVersionFromPid() 공개 정적인 메소드

public static GetDebuggerVersionFromPid ( int pid ) : string
pid int
리턴 string

GetDefaultDebuggerVersion() 공개 정적인 메소드

public static GetDefaultDebuggerVersion ( ) : string
리턴 string

GetProcess() 공개 메소드

public GetProcess ( int processId ) : Microsoft.Samples.Debugging.CorDebug.CorProcess
processId int
리턴 Microsoft.Samples.Debugging.CorDebug.CorProcess

Terminate() 공개 메소드

public Terminate ( ) : void
리턴 void