Starts the default debugger integrated development environment (IDE) and attaches a debug session to this application, if one is not already attached.
Syntax
HRESULT StartDebugSession();
Parameters
This method takes no parameters.
Return Value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Value | Description |
|---|---|
S_OK |
The method succeeded. |
Remarks
This method is used to implement just-in-time debugging.