Allows a smart host to determine how to handle run-time errors.

HRESULT OnScriptErrorDebug(
   IActiveScriptErrorDebug*  pErrorDebug,
   BOOL*                     pfEnterDebugger,
   BOOL*                     pfCallOnScriptErrorWhenContinuing
);

Parameters

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.

Expand imageReturn Value

Expand imageRemarks

Expand imageSee Also