Class Index | File Index

Modules


All Classes


Class FirebugCommandAdaptor


Defined in: FirebugCommandAdaptor.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
FirebugCommandAdaptor.backtrace(args)
Returns a backtrace (stacktrace) of frames.
<static>  
FirebugCommandAdaptor.changebreakpoint(args)
Return the breakpoint object with the specified id.
<static>  
FirebugCommandAdaptor.clearbreakpoint(args)
Remove the breakpoint object with the specified id.
<static>  
FirebugCommandAdaptor.continue(args)
Continue execution of javascript if suspended, if no stepaction is passed, simply resumes execution.
<static>  
FirebugCommandAdaptor.evaluate(args)
evaluate a Javascript expression.
<static>  
FirebugCommandAdaptor.frame(args)
Returns a frame.
<static>  
FirebugCommandAdaptor.getbreakpoint(args)
Return the breakpoint object with the specified id.
<static>  
FirebugCommandAdaptor.getbreakpoints()
Return all the breakpoints in this context.
<static>  
FirebugCommandAdaptor.inspect(args)
Tells Firebug to enter 'inspect' mode.
<static>  
FirebugCommandAdaptor.lookup(args)
Lookup an object by it's handle.
<static>  
FirebugCommandAdaptor.scope(args)
Returns a particular scope for the specified frame.
<static>  
FirebugCommandAdaptor.scopes(args)
Returns all the scopes for a frame.
<static>  
FirebugCommandAdaptor.scripts(args)
Retrieve all known scripts.
<static>  
FirebugCommandAdaptor.serialize(obj, incContext)
prepare a javascript object to be serialized into JSON.
<static>  
FirebugCommandAdaptor.setbreakpoint(args)
Set a breakpoint and return its id.
<static>  
FirebugCommandAdaptor.source()
source command.
<static>  
FirebugCommandAdaptor.suspend()
Try to suspend any currently running Javascript.
Class Detail
FirebugCommandAdaptor()
Method Detail
<static> FirebugCommandAdaptor.backtrace(args)
Returns a backtrace (stacktrace) of frames.
Parameters:
{Object} args
Arguments object
{Number} args.fromFrame
fromFrame: the frame to start the trace from.
{Number} args.toFrame
toFrame: the frame to to stop the trace at.
{Boolean} args.includeScopes
includeScopes defaults to false.

<static> FirebugCommandAdaptor.changebreakpoint(args)
Return the breakpoint object with the specified id.
Parameters:
{Object} args
Arguments object
args.breakpoint
breakpoint: the id of the breakpoint you want to change.

<static> FirebugCommandAdaptor.clearbreakpoint(args)
Remove the breakpoint object with the specified id.
Parameters:
{Object} args
Arguments object
args.breakpoint
breakpoint: the id of the breakpoint you want to remove.

<static> FirebugCommandAdaptor.continue(args)
Continue execution of javascript if suspended, if no stepaction is passed, simply resumes execution.
Parameters:
{Object} args
Arguments object.
args.stepaction
stepaction: 'in', 'next', or 'out'.
args.stepcount
stepcount: currently ignored.

<static> FirebugCommandAdaptor.evaluate(args)
evaluate a Javascript expression. If a frame argument is passed, evaluates the expression in that frame, otherwise the expression is evaluated in the context's global scope.
Parameters:
{Object} args
Arguments object.
{String} args.expression
A string of Javascript to be evaluated.
{Number} args.frame
Optional frame to evaluate in.

<static> FirebugCommandAdaptor.frame(args)
Returns a frame.
Parameters:
{Object} args
Arguments object.
{Number} args.number
number: the number (index) of the requested frame.
{Boolean} args.includeScopes
includeScopes defaults to true.

<static> FirebugCommandAdaptor.getbreakpoint(args)
Return the breakpoint object with the specified id.
Parameters:
{Object} args
Arguments object.
args.breakpoint
breakpoint: the handle of the breakpoint you want to get.

<static> FirebugCommandAdaptor.getbreakpoints()
Return all the breakpoints in this context.

<static> FirebugCommandAdaptor.inspect(args)
Tells Firebug to enter 'inspect' mode.
Parameters:
{Object} args
Arguments object
args.xpath
xpath: optional xpath for the node to inspect.
args.selector
selector: optional css selector for a specific node to inspect

<static> FirebugCommandAdaptor.lookup(args)
Lookup an object by it's handle.
Parameters:
{Object} args
Arguments object
args.handle
the handle id to look up.

<static> FirebugCommandAdaptor.scope(args)
Returns a particular scope for the specified frame.
Parameters:
{Object} args
Arguments object.
args.number
number: scope index
args.frameNumber
frameNumber: optional frame index. defaults to 0

<static> FirebugCommandAdaptor.scopes(args)
Returns all the scopes for a frame.
Parameters:
{Object} args
Arguments object.
args.frameNumber
frameNumber: optional frame index. defaults to 0

<static> FirebugCommandAdaptor.scripts(args)
Retrieve all known scripts.
Parameters:
{Object} args
Arguments object.
args.includeSource
includeSource: boolean

<static> FirebugCommandAdaptor.serialize(obj, incContext)
prepare a javascript object to be serialized into JSON.
Parameters:
{Object} obj
the javascript thing to serialize
{Boolean} incContext
boolean indicates whether the context id field should be included.

<static> FirebugCommandAdaptor.setbreakpoint(args)
Set a breakpoint and return its id.
Parameters:
{Object} args
Arguments object
args.target
target: the url of the file to set the breakpoint in.
args.line
line: line number to set the breakpoint at.

<static> FirebugCommandAdaptor.source()
source command. Return the source code for every script in this context.

<static> FirebugCommandAdaptor.suspend()
Try to suspend any currently running Javascript.

Documentation generated by JsDoc Toolkit 2.3.0 on Fri Mar 05 2010 18:00:35 GMT-0800 (PST)