Method | Description | |
---|---|---|
AttachTo ( ContextFactory factory ) : void |
Attaches the debugger to the given ContextFactory. Attaches the debugger to the given ContextFactory. |
|
ClearAllBreakpoints ( ) : void |
Clears all breakpoints. Clears all breakpoints. |
|
CompileScript ( string url, string text ) : void |
Compiles the given script. Compiles the given script. |
|
ContextSwitch ( int frameIndex ) : void |
Switches context to the stack frame with the given index. Switches context to the stack frame with the given index. |
|
CurrentContextData ( ) : |
Returns the current ContextData object. Returns the current ContextData object. |
|
Detach ( ) : void |
Detaches the debugger from the current ContextFactory. Detaches the debugger from the current ContextFactory. |
|
Dispose ( ) : void |
Releases resources associated with this debugger. Releases resources associated with this debugger. |
|
Eval ( string expr ) : string |
Evaluates the given script. Evaluates the given script. |
|
EvalScript ( string url, string text ) : void |
Evaluates the given script. Evaluates the given script. |
|
FunctionNames ( ) : string[] |
Returns an array of all function names. Returns an array of all function names. |
|
FunctionSourceByName ( string functionName ) : |
Returns the FunctionSource object for the function with the given name. Returns the FunctionSource object for the function with the given name. |
|
GetObjectIds ( object @object ) : object[] |
Returns an array of the property names on the given script object. Returns an array of the property names on the given script object. |
|
GetObjectProperty ( object @object, object id ) : object |
Returns the value of a property on the given script object. Returns the value of a property on the given script object. |
|
Go ( ) : void |
Resumes execution of script. Resumes execution of script. |
|
ObjectToString ( object @object ) : string |
Converts the given script object to a string. Converts the given script object to a string. |
|
SetBreak ( ) : void |
Tells the debugger to break at the next opportunity. Tells the debugger to break at the next opportunity. |
|
SetBreakOnEnter ( bool breakOnEnter ) : void |
Sets whether the debugger should break on function entering. Sets whether the debugger should break on function entering. |
|
SetBreakOnExceptions ( bool breakOnExceptions ) : void |
Sets whether the debugger should break on exceptions. Sets whether the debugger should break on exceptions. |
|
SetBreakOnReturn ( bool breakOnReturn ) : void |
Sets whether the debugger should break on function return. Sets whether the debugger should break on function return. |
|
SetGuiCallback ( GuiCallback callback ) : void |
Sets the GuiCallback object to use. Sets the GuiCallback object to use. |
|
SetReturnValue ( int returnValue ) : void |
Sets the action to perform to end interruption. Sets the action to perform to end interruption. |
|
SetScopeProvider ( ScopeProvider scopeProvider ) : void |
Sets the ScopeProvider to be used. Sets the ScopeProvider to be used. |
|
SetSourceProvider ( SourceProvider sourceProvider ) : void |
Sets the ScopeProvider to be used. Sets the ScopeProvider to be used. |
|
SourceInfo ( string url ) : Dim.SourceInfo |
Returns the SourceInfo object for the given URL. Returns the SourceInfo object for the given URL. |
|
StringIsCompilableUnit ( string str ) : bool |
Returns whether the given string is syntactically valid script. Returns whether the given string is syntactically valid script. |
Method | Description | |
---|---|---|
CollectFunctions_r ( DebuggableScript function, |
Helper function for
|
|
Do_eval ( |
Evaluates script in the given stack frame. Evaluates script in the given stack frame. |
|
FunctionSource ( DebuggableScript fnOrScript ) : |
Returns the FunctionSource object for the given function or script. Returns the FunctionSource object for the given function or script. |
|
GetAllFunctions ( DebuggableScript function ) : DebuggableScript[] |
Returns an array of all functions in the given script. Returns an array of all functions in the given script. |
|
GetFunctionSource ( DebuggableScript fnOrScript ) : Dim.FunctionSource |
Returns the FunctionSource object for the given script or function. Returns the FunctionSource object for the given script or function. |
|
GetNormalizedUrl ( DebuggableScript fnOrScript ) : string |
Returns the source URL for the given script or function. Returns the source URL for the given script or function. |
|
GetObjectIdsImpl ( Context cx, object @object ) : object[] |
Returns an array of the property names on the given script object. Returns an array of the property names on the given script object. |
|
GetObjectPropertyImpl ( Context cx, object @object, object id ) : object |
Returns the value of a property on the given script object. Returns the value of a property on the given script object. |
|
HandleBreakpointHit ( Dim frame, Context cx ) : void |
Called when a breakpoint has been hit. Called when a breakpoint has been hit. |
|
HandleExceptionThrown ( Context cx, Exception ex, Dim frame ) : void |
Called when a script exception has been thrown. Called when a script exception has been thrown. |
|
Interrupted ( Context cx, Dim frame, Exception scriptException ) : void |
Interrupts script execution. Interrupts script execution. |
|
LoadSource ( string sourceUrl ) : string |
Loads the script at the given URL. Loads the script at the given URL. |
|
RegisterTopScript ( DebuggableScript topScript, string source ) : void |
Registers the given script as a top-level script in the debugger. Registers the given script as a top-level script in the debugger. |
public AttachTo ( ContextFactory factory ) : void | ||
factory | ContextFactory | |
return | void |
public CompileScript ( string url, string text ) : void | ||
url | string | |
text | string | |
return | void |
public ContextSwitch ( int frameIndex ) : void | ||
frameIndex | int | |
return | void |
public CurrentContextData ( ) : |
||
return |
public EvalScript ( string url, string text ) : void | ||
url | string | |
text | string | |
return | void |
public FunctionSourceByName ( string functionName ) : |
||
functionName | string | |
return |
public GetObjectIds ( object @object ) : object[] | ||
@object | object | |
return | object[] |
public GetObjectProperty ( object @object, object id ) : object | ||
@object | object | |
id | object | |
return | object |
public ObjectToString ( object @object ) : string | ||
@object | object | |
return | string |
public SetBreakOnEnter ( bool breakOnEnter ) : void | ||
breakOnEnter | bool | |
return | void |
public SetBreakOnExceptions ( bool breakOnExceptions ) : void | ||
breakOnExceptions | bool | |
return | void |
public SetBreakOnReturn ( bool breakOnReturn ) : void | ||
breakOnReturn | bool | |
return | void |
public SetGuiCallback ( GuiCallback callback ) : void | ||
callback | GuiCallback | |
return | void |
public SetReturnValue ( int returnValue ) : void | ||
returnValue | int | |
return | void |
public SetScopeProvider ( ScopeProvider scopeProvider ) : void | ||
scopeProvider | ScopeProvider | |
return | void |
public SetSourceProvider ( SourceProvider sourceProvider ) : void | ||
sourceProvider | SourceProvider | |
return | void |
public SourceInfo ( string url ) : Dim.SourceInfo | ||
url | string | |
return | Dim.SourceInfo |
public StringIsCompilableUnit ( string str ) : bool | ||
str | string | |
return | bool |