IDebugCoreServer3::DiagnoseWebDebuggingError

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Attempts to determine why an auto-attach failed.

Syntax

HRESULT DiagnoseWebDebuggingError(  
   LPCWSTR pszUrl  
);  
int DiagnoseWebDebuggingError(  
   string pszUrl  
);  

Parameters

pszUrl
[in] Not currently used; should always be set to a null value.

Return Value

If successful, returns S_OK; otherwise, returns an error code. The following are other typical return codes:

Code Description
S_WEBDBG_UNABLE_TO_DIAGNOSE Cannot determine why the remote server failed to start debugging.
S_WEBDBG_DEBUG_VERB_BLOCKED Cannot debug on remote server, possibly due to insufficient permissions or because the DEBUG verb is not enabled.
E_WEBDBG_DEBUG_VERB_BLOCKED The web server has been locked down and is blocking the DEBUG verb, which is required to enable debugging.

See Also

IDebugCoreServer3