C# Class Rhino.Tools.Debugger.Dim.StackFrame

Object to represent one stack frame.
Object to represent one stack frame.
Inheritance: DebugFrame
Show file Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
ContextData ( ) : Dim.ContextData

Returns the ContextData object for the Context.

Returns the ContextData object for the Context.

GetFunctionName ( ) : string

Returns the current function name.

Returns the current function name.

GetLineNumber ( ) : int

Returns the current line number.

Returns the current line number.

GetUrl ( ) : string

Returns the source URL.

Returns the source URL.

OnDebuggerStatement ( Context cx ) : void

Called when a 'debugger' statement is executed.

Called when a 'debugger' statement is executed.

OnEnter ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : void

Called when the stack frame is entered.

Called when the stack frame is entered.

OnExceptionThrown ( Context cx, Exception exception ) : void

Called when an exception has been thrown.

Called when an exception has been thrown.

OnExit ( Context cx, bool byThrow, object resultOrException ) : void

Called when the stack frame has been left.

Called when the stack frame has been left.

OnLineChange ( Context cx, int lineno ) : void

Called when the current position has changed.

Called when the current position has changed.

Scope ( ) : object

Returns the scope object for this frame.

Returns the scope object for this frame.

SourceInfo ( ) : Dim.SourceInfo

Returns the SourceInfo object for the function.

Returns the SourceInfo object for the function.

ThisObj ( ) : object

Returns the 'this' object for this frame.

Returns the 'this' object for this frame.

Private Methods

Method Description
StackFrame ( Context cx, Dim dim, Dim fsource ) : System

Creates a new StackFrame.

Creates a new StackFrame.

Method Details

ContextData() public method

Returns the ContextData object for the Context.
Returns the ContextData object for the Context.
public ContextData ( ) : Dim.ContextData
return Dim.ContextData

GetFunctionName() public method

Returns the current function name.
Returns the current function name.
public GetFunctionName ( ) : string
return string

GetLineNumber() public method

Returns the current line number.
Returns the current line number.
public GetLineNumber ( ) : int
return int

GetUrl() public method

Returns the source URL.
Returns the source URL.
public GetUrl ( ) : string
return string

OnDebuggerStatement() public method

Called when a 'debugger' statement is executed.
Called when a 'debugger' statement is executed.
public OnDebuggerStatement ( Context cx ) : void
cx Rhino.Context
return void

OnEnter() public method

Called when the stack frame is entered.
Called when the stack frame is entered.
public OnEnter ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : void
cx Rhino.Context
scope Scriptable
thisObj Scriptable
args object
return void

OnExceptionThrown() public method

Called when an exception has been thrown.
Called when an exception has been thrown.
public OnExceptionThrown ( Context cx, Exception exception ) : void
cx Rhino.Context
exception System.Exception
return void

OnExit() public method

Called when the stack frame has been left.
Called when the stack frame has been left.
public OnExit ( Context cx, bool byThrow, object resultOrException ) : void
cx Rhino.Context
byThrow bool
resultOrException object
return void

OnLineChange() public method

Called when the current position has changed.
Called when the current position has changed.
public OnLineChange ( Context cx, int lineno ) : void
cx Rhino.Context
lineno int
return void

Scope() public method

Returns the scope object for this frame.
Returns the scope object for this frame.
public Scope ( ) : object
return object

SourceInfo() public method

Returns the SourceInfo object for the function.
Returns the SourceInfo object for the function.
public SourceInfo ( ) : Dim.SourceInfo
return Dim.SourceInfo

ThisObj() public method

Returns the 'this' object for this frame.
Returns the 'this' object for this frame.
public ThisObj ( ) : object
return object