Share via


IDebugSessionProviderEx:StartDebugSession

Initiates a debug session with the specified application.

Syntax

HRESULT StartDebugSession(  
   IRemoteDebugApplication*  pda  
   BOOL  fQuery  
);  

Parameters

pda
[in] Specifies the debug application.

fQuery
[in] True indicates a query.

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 initiates a debug session with the specified application. The debugger should call IRemoteDebugApplication::ConnectDebugger before returning from this call.

See also

IDebugSessionProviderEx Interface
IRemoteDebugApplication::ConnectDebugger