Method | Description | |
---|---|---|
Attach ( IDebugProgram2 rgpPrograms, IDebugProgramNode2 rgpProgramNodes, uint celtPrograms, IDebugEventCallback2 pCallback, enum_ATTACH_REASON dwReason ) : int |
Attaches a debug DebugEngine (DE) to a program or programs. Called by the session debug manager (SDM) when the DE is running in-process to the SDM.
|
|
GetEngineId ( System.Guid &pguidEngine ) : int |
Gets the GUID of the debug DebugEngine (DE).
|
|
LaunchSuspended ( string pszServer, IDebugPort2 pPort, string pszExe, string pszArgs, string pszDir, string bstrEnv, string pszOptions, enum_LAUNCH_FLAGS dwLaunchFlags, uint hStdInput, uint hStdOutput, uint hStdError, IDebugEventCallback2 pCallback, IDebugProcess2 &ppProcess ) : int |
This method launches a process by means of the debug DebugEngine (DE).
|
|
ResumeProcess ( IDebugProcess2 pProcess ) : int |
Resumes process execution.
|
Method | Description | |
---|---|---|
CreateOrInitializeEventSource ( IDebugEventCallback2 pCallback ) : void |
Creates the or initialize event source.
|
public Attach ( IDebugProgram2 rgpPrograms, IDebugProgramNode2 rgpProgramNodes, uint celtPrograms, IDebugEventCallback2 pCallback, enum_ATTACH_REASON dwReason ) : int | ||
rgpPrograms | IDebugProgram2 | An array of IDebugProgram2 objects that represent programs to be attached to. These are port programs. |
rgpProgramNodes | IDebugProgramNode2 | An array of IDebugProgramNode2 objects that represent program nodes, one for each program. The program nodes in this array represent the same programs as in pProgram. The program nodes are given so that the DE can identify the programs to attach to. |
celtPrograms | uint | Number of programs and/or program nodes in the pProgram and rgpProgramNodes arrays. |
pCallback | IDebugEventCallback2 | The IDebugEventCallback2 object to be used to send debug events to the SDM. |
dwReason | enum_ATTACH_REASON | A value from the ATTACH_REASON enumeration that specifies the reason for attaching these programs. For more information, see the Remarks section. |
return | int |
protected CreateOrInitializeEventSource ( IDebugEventCallback2 pCallback ) : void | ||
pCallback | IDebugEventCallback2 | The p callback. |
return | void |
public GetEngineId ( System.Guid &pguidEngine ) : int | ||
pguidEngine | System.Guid | Returns the GUID of the DE. |
return | int |
public LaunchSuspended ( string pszServer, IDebugPort2 pPort, string pszExe, string pszArgs, string pszDir, string bstrEnv, string pszOptions, enum_LAUNCH_FLAGS dwLaunchFlags, uint hStdInput, uint hStdOutput, uint hStdError, IDebugEventCallback2 pCallback, IDebugProcess2 &ppProcess ) : int | ||
pszServer | string | The name of the machine in which to launch the process. Use a null value to specify the local machine. |
pPort | IDebugPort2 | The IDebugPort2 interface representing the port that the program will run in. |
pszExe | string | The name of the executable to be launched. |
pszArgs | string | The arguments to pass to the executable. May be a null value if there are no arguments. |
pszDir | string | The name of the working directory used by the executable. May be a null value if no working directory is required. |
bstrEnv | string | Environment block of NULL-terminated strings, followed by an additional NULL terminator. |
pszOptions | string | The options for the executable. |
dwLaunchFlags | enum_LAUNCH_FLAGS | Specifies the LAUNCH_FLAGS for a session. |
hStdInput | uint | Handle to an alternate input stream. May be 0 if redirection is not required. |
hStdOutput | uint | Handle to an alternate output stream. May be 0 if redirection is not required. |
hStdError | uint | Handle to an alternate error output stream. May be 0 if redirection is not required. |
pCallback | IDebugEventCallback2 | The IDebugEventCallback2 object that receives debugger events. |
ppProcess | IDebugProcess2 | Returns the resulting IDebugProcess2 object that represents the launched process. |
return | int |
public ResumeProcess ( IDebugProcess2 pProcess ) : int | ||
pProcess | IDebugProcess2 | An IDebugProcess2 object that represents the process to be resumed. |
return | int |