Connects a debugger to this application.
HRESULT ConnectDebugger( IApplicationDebugger* pad );
- pad
[in] The debugger to attach to this application.
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. |
E_FAIL | A debugger is already connected to this application. |
An application can have only one debugger connected at a time. This method fails if a debugger is already connected.