Allows a smart host to determine how to handle run-time errors.
HRESULT OnScriptErrorDebug( IActiveScriptErrorDebug* pErrorDebug, BOOL* pfEnterDebugger, BOOL* pfCallOnScriptErrorWhenContinuing );
- pErrorDebug
[in] The run-time error that occurred
- pfEnterDebugger
[out] Flag indicating whether to pass the error to the debugger to do JIT debugging.
- pfCallOnScriptErrorWhenContinuing
[out] Flag indicating whether to call IActiveScriptSite::OnScriptError when the user decides to continue without debugging.
The method returns an HRESULT. Possible values include, but are not limited to the value in the following table.
Value | Description |
---|---|
S_OK | The method succeeded. |
A smart host can use this method to determine how to handle run-time errors.