jsdIStackFrame

IID:b6d50784-1dd1-11b2-a932-882246c6fe45
Inherits From:jsdIEphemeral

Properties

readonly jsdIValue* callee

Function object running in this stack frame.

readonly jsdIStackFrame* callingFrame

Link to the caller's stack frame.

readonly jsdIContext* executionContext

Executon context.

readonly char* functionName

Function name executing in this stack frame.

readonly PRBool isConstructing

True if stack frame is constructing a new object.

readonly PRBool isDebugger

True if stack frame represents a frame created as a result of a debugger evaluation.

readonly PRBool isNative

True if stack frame represents a native frame.

readonly JSDContext* JSDContext

readonly JSDStackFrameInfo* JSDStackFrameInfo

readonly JSDThreadState* JSDThreadState

readonly PRUint32 line

Current line number (using the script's pc to line map.)

readonly PRUint32 pc

Current program counter in this stack frame.

readonly jsdIValue* scope

Top object in the scope chain.

readonly jsdIScript* script

Script running in this stack frame, null for native frames.

readonly jsdIValue* thisValue

This object for this stack frame.


Methods

PRBool eval ( AString bytes , char* fileName , PRUint32 line , out jsdIValue* result )

PRBool eval ( AString bytes , char* fileName , PRUint32 line , out jsdIValue* result )

Evaluate arbitrary JavaScript in this stack frame.

Arguments:
bytes: Script to be evaluated.
fileName: Filename to compile this script under. This is the filename you'll see in error messages, etc.
line: Starting line number for this script. One based.
result

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com