[scriptable, uuid(3a722496-9d78-4f0a-a797-293d9e8cb8d2)]
Constants
Hook instances of this interface up to the jsdIDebuggerService::breakpointHook, debuggerHook, errorHook, interruptHook, and throwHook properties. TYPE_* values must be kept in sync with JSD_HOOK_* #defines in jsdebug.h. Execution stopped because we're in single step mode.
RETURN_* values must be kept in sync with JSD_HOOK_RETURN_* #defines in jsdebug.h. Indicates unrecoverable error processing the hook. This will cause the script being executed to be aborted without raising a JavaScript exception.
Continue processing normally. This is the "do nothing special" return value for all hook types *except* TYPE_THROW. Returning RETURN_CONTINUE from TYPE_THROW cause the exception to be ignored. Return RETURN_CONTINUE_THROW to continue exception processing from TYPE_THROW hooks.
Methods
@param frame A jsdIStackFrame object representing the bottom stack frame.
@param type One of the jsdIExecutionHook::TYPE_ constants.
@param val in - Current exception (if any) when this method is called.
out - If you return RETURN_THROW_WITH_VAL, value to be
thrown.
If you return RETURN_RET_WITH_VAL, value to return.
All other return values, not significant.
@retval One of the jsdIExecutionHook::RETURN_* constants.
Compare to:
