Add scripting to your application with Vbsedit !

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.

HRESULT OnCanNotJITScriptErrorDebug(
   IActiveScriptErrorDebug*  pErrorDebug
   BOOL *pfCallOnScriptErrorWhenContinuing
);

pErrorDebug

[in] The run-time error that occurred.

pfCallOnScriptErrorWhenContinuingt

[out] Whether to call IActiveScriptSiteDebug::OnScriptErrorDebug if the user decides to continue without debugging.

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.

You should also implement this interface to get a notification.


Add VBScript and Javascript scripting
to your application with VbsEdit !



Download Now!

This package includes VbsEdit 32-bit and 64-bit.




Home  

Copyright © 2001-2024 adersοft