WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

jsdICallHook

IID:f102caf6-1dd1-11b2-bd43-c1dbacb95a98
Inherits From:nsISupports

Constants

PRUint32 TYPE_TOPLEVEL_START = 0
Toplevel script has completed.
PRUint32 TYPE_TOPLEVEL_END = 1
Function is being called.
PRUint32 TYPE_FUNCTION_CALL = 2
Function is returning.
PRUint32 TYPE_FUNCTION_RETURN = 3

Methods

void onCall ( jsdIStackFrame frame , PRUint32 type )

void onCall ( jsdIStackFrame frame , PRUint32 type )

Called before the JavaScript engine executes a top level script or calls a function.

Arguments:
frame
type

References

This interface is the type of the following properties:

jsdIDebuggerService.functionHook, jsdIDebuggerService.topLevelHook

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com