IActiveScriptSiteDebugEx::OnCanNotJITScriptErrorDebug
Informs the host about a script run-time error when the Process Debug Manager does not find a Just In Time script debugger.
To implement a debugger in your host, you should handle IActiveScriptSiteDebug::OnScriptErrorDebug. Based on a user action, the host can either attach the debugger and return, or return the starting of the debugger in the OnScriptErrorDebug pfEnterDebugger
parameter. You should also implement this interface to get the notification about the run-time error even if there are no external debuggers that can be interpreted by the Process Debug Manager.
Syntax
HRESULT OnCanNotJITScriptErrorDebug(
IActiveScriptErrorDebug* pErrorDebug
BOOL *pfCallOnScriptErrorWhenContinuing
);
Parameters
pErrorDebug
[in] The run-time error that occurred.
pfCallOnScriptErrorWhenContinuingt
[out] Whether to call IActiveScriptSiteDebug::OnScriptErrorDebug if the user decides to continue without debugging.
Return Value
The method returns an HRESULT
. Possible values include, but are not limited to, those in the following table.
Value | Description |
---|---|
S_OK |
The method succeeded. |
Remarks
You should also implement this interface to get a notification.