net.rim.device.api.browser.field2.debug
Class BrowserFieldScript

java.lang.Object
  extended by net.rim.device.api.browser.field2.debug.BrowserFieldScript

Deprecated. Debugger is deprecated in 6.0

public class BrowserFieldScript
extends Object

This class contains source code of a script and related functions. Each script can have breakpoints set and cleared for the lines of source code that are associated with the script.

Since:
BlackBerry API 5.0.0

Method Summary
 boolean clearBreakpoint(int lineNumber)
          Deprecated. Removes a breakpoint at the given line number if there is one.
 String getName()
          Deprecated. Gets the URL of the script.
 String[] getSourceLines()
          Deprecated. Gets the source lines of code in a string array.
 boolean setBreakpoint(int lineNumber)
          Deprecated. Sets a breakpoint at the given line number if there isn't already one.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Method Detail

getName

public String getName()
Deprecated. 
Gets the URL of the script. If the script is inline it will return the URL of the current page followed by @ and zero based index number for the script.

Returns:
The URL of the script
Since:
BlackBerry API 5.0.0

getSourceLines

public String[] getSourceLines()
Deprecated. 
Gets the source lines of code in a string array.

Returns:
The String[] of source code.
Since:
BlackBerry API 5.0.0

setBreakpoint

public boolean setBreakpoint(int lineNumber)
Deprecated. 
Sets a breakpoint at the given line number if there isn't already one.

Returns:
true if the breakpoint is set and false if it could not be set.
Since:
BlackBerry API 5.0.0

clearBreakpoint

public boolean clearBreakpoint(int lineNumber)
Deprecated. 
Removes a breakpoint at the given line number if there is one.

Returns:
true if the breakpoint was set and has been cleared; false if it could not be cleared or was not set to begin with.
Since:
BlackBerry API 5.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal