Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
jsdICallHook Interface Reference

Hook instances of this interface up to the jsdIDebuggerService::functionHook and toplevelHook properties. More...

import "jsdIDebuggerService.idl";

Inheritance diagram for jsdICallHook:
Inheritance graph
[legend]
Collaboration diagram for jsdICallHook:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void onCall (in jsdIStackFrame frame, in unsigned long type)
 Called before the JavaScript engine executes a top level script or calls a function.

Public Attributes

const unsigned long TYPE_TOPLEVEL_START = 0
 TYPE_* values must be kept in sync with the JSD_HOOK_* #defines in jsdebug.h.
const unsigned long TYPE_TOPLEVEL_END = 1
 Toplevel script has completed.
const unsigned long TYPE_FUNCTION_CALL = 2
 Function is being called.
const unsigned long TYPE_FUNCTION_RETURN = 3
 Function is returning.

Detailed Description

Hook instances of this interface up to the jsdIDebuggerService::functionHook and toplevelHook properties.

Definition at line 530 of file jsdIDebuggerService.idl.


Member Function Documentation

void jsdICallHook::onCall ( in jsdIStackFrame  frame,
in unsigned long  type 
)

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


Member Data Documentation

Function is being called.

Definition at line 548 of file jsdIDebuggerService.idl.

Function is returning.

Definition at line 552 of file jsdIDebuggerService.idl.

Toplevel script has completed.

Definition at line 544 of file jsdIDebuggerService.idl.

TYPE_* values must be kept in sync with the JSD_HOOK_* #defines in jsdebug.h.

Toplevel script is starting.

Definition at line 540 of file jsdIDebuggerService.idl.


The documentation for this interface was generated from the following file: