Add scripting to your application with Vbsedit !

IDebugApplication::HandleRuntimeError

 

Causes the current thread to block and sends a notification of the error to the debugger IDE.

HRESULT HandleRuntimeError(
   IActiveScriptErrorDebug*  pErrorDebug,
   IActiveScriptSite*        pScriptSite,
   BREAKRESUMEACTION*        pbra,
   ERRORRESUMEACTION*        perra,
   BOOL*                     pfCallOnScriptError
);

pErrorDebug

[in] The error that occurred.

pScriptSite

[in] The script site of the thread.

pbra

[out] Action to take when the debugger resumes the application.

perra

[out] Action to take when the debugger resumes the application if there is an error.

pfCallOnScriptError

[out] Flag which is TRUE if the engine should call the IActiveScriptSite::OnScriptError method.

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.

A language engine calls this method in the context of a thread that causes a run-time error. This method causes the current thread to block and sends an error notification to be sent to the debugger IDE. When the debugger IDE resumes the application, this method returns with the action to be taken.

System_CAPS_noteNote

While in the run-time fault, the language engine may be called by the thread to do such tasks as enumerate stack frames or evaluate expressions.


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