Provides information about the debug session.
Syntax
HRESULT OnScriptErrorDebug( IActiveScriptErrorDebug *pErrorDebug, BOOL *pfEnterDebugger, BOOL *pfCallOnScriptErrorWhenContinuing );
Parameters
- pErrorDebug
- [in] Address of an IActiveScriptErrorDebug interface that provides error information.
- pfEnterDebugger
- [in] Address of a Boolean value that indicates whether to pass the error to the debugger or to do just-in-time (JIT) debugging.
- pfCallOnScriptErrorWhenContinuing
- [out] Address of a Boolean value that indicates whether to call IActiveScriptSite::OnScriptError if the user decides to continue the debugging session.
Return Value
Returns S_OK if successful, or an error code otherwise.