IDkmStartDebuggingOperations.LaunchDebuggedProcess Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Causes the debug monitor to create a new process under the debugger. The process should be left suspended until ResumeDebuggedProcess is called. The debug monitor must wait for ResumeDebuggedProcess before creating the DkmProcess object since it needs the UniqueProcessId value from the AD7 Layer.
Note that this method may only be called in response to the Visual Studio debugger package requesting a launch. Components that wish to launch another process under the debugger should send a custom event to a visual studio package. From a package, a launch can be requested through the IVsDebugger.LaunchDebugTargets API.
public:
Microsoft::VisualStudio::Debugger::Start::DkmLaunchedProcessInfo LaunchDebuggedProcess(Microsoft::VisualStudio::Debugger::Start::DkmProcessLaunchRequest ^ request);
public Microsoft.VisualStudio.Debugger.Start.DkmLaunchedProcessInfo LaunchDebuggedProcess (Microsoft.VisualStudio.Debugger.Start.DkmProcessLaunchRequest request);
abstract member LaunchDebuggedProcess : Microsoft.VisualStudio.Debugger.Start.DkmProcessLaunchRequest -> Microsoft.VisualStudio.Debugger.Start.DkmLaunchedProcessInfo
Public Function LaunchDebuggedProcess (request As DkmProcessLaunchRequest) As DkmLaunchedProcessInfo
Parameters
- request
- DkmProcessLaunchRequest
[In] DkmProcessLaunchRequest is used to describe the process that debugger should launch.
Returns
[Out] DkmLaunchedProcessInfo is returned from APIs that launch a process.