Share via


IDebugCoreServer3::DiagnoseWebDebuggingError

Attempts to determine why an auto-attach failed.

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

Reference

IDebugCoreServer3