|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.browser.field2.debug.BrowserFieldDebugContext
public class BrowserFieldDebugContext
This class provides debug access to the javascript engine. It reveals standard debugging functions which can be used to make a functional debugger.
| Method Summary | ||
|---|---|---|
Object |
eval(String script)
|
|
BrowserFieldDebugContext |
getCallingContext()
This is useful when trying to create a callstack. |
|
String |
getException()
Gets the Exception that was thrown by the context. |
|
String |
getFunctionName()
Gets the name of the function (without parameters) that the debugger is currently broken in |
|
int |
getLineNumber()
|
|
boolean |
isRunningScript(BrowserFieldScript script)
This is used to determine if the running script is the script provided. |
|
void |
resume()
Continue executing until the script has completed or another breakpoint is encountered. |
|
void |
stepInto()
Executes the current line of code. |
|
void |
stepNone()
Do not step. |
|
void |
stepOut()
Executes the current line of code. |
|
void |
stepOver()
Execute the current line of code. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getException()
public boolean isRunningScript(BrowserFieldScript script)
public BrowserFieldDebugContext getCallingContext()
public void resume()
public void stepOver()
public void stepInto()
public void stepOut()
public void stepNone()
public int getLineNumber()
public Object eval(String script)
script - The source code of the script that you would like
to execute within the context that is currently being debugged.
public String getFunctionName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.