|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.api.debugger.Breakpoint org.netbeans.api.debugger.jpda.JPDABreakpoint org.netbeans.api.debugger.jpda.LineBreakpoint
Notifies about line breakpoint events.
How to use it:
DebuggerManager.addBreakpoint (LineBreakpoint.create ( "examples.texteditor.Ted", 27 ));This breakpoint stops in Ted class on 27 line number.
Field Summary | |
static String |
PROP_CONDITION
Property name constant. |
static String |
PROP_LINE_NUMBER
Property name constant |
static String |
PROP_SOURCE_NAME
Property name constant. |
static String |
PROP_SOURCE_PATH
Property name constant. |
static String |
PROP_STRATUM
Property name constant. |
static String |
PROP_URL
Property name constant |
Fields inherited from class org.netbeans.api.debugger.jpda.JPDABreakpoint |
PROP_HIDDEN, PROP_PRINT_TEXT, PROP_SUSPEND, SUSPEND_ALL, SUSPEND_EVENT_THREAD, SUSPEND_NONE |
Fields inherited from class org.netbeans.api.debugger.Breakpoint |
PROP_DISPOSED, PROP_ENABLED, PROP_GROUP_NAME |
Method Summary | |
static LineBreakpoint |
create(String url,
int lineNumber)
Creates a new breakpoint for given parameters. |
String |
getCondition()
Returns condition. |
int |
getLineNumber()
Gets number of line to stop on. |
String |
getSourceName()
Returns source name. |
String |
getSourcePath()
Returns source path. |
String |
getStratum()
Returns stratum. |
String |
getURL()
Gets name of class to stop on. |
void |
setCondition(String c)
Sets condition. |
void |
setLineNumber(int ln)
Sets number of line to stop on. |
void |
setSourceName(String sn)
Sets source name. |
void |
setSourcePath(String sp)
Sets source path. |
void |
setStratum(String s)
Sets stratum. |
void |
setURL(String url)
Sets name of class to stop on. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class org.netbeans.api.debugger.jpda.JPDABreakpoint |
addJPDABreakpointListener, disable, enable, getPrintText, getSuspend, isEnabled, isHidden, removeJPDABreakpointListener, setHidden, setPrintText, setSuspend |
Methods inherited from class org.netbeans.api.debugger.Breakpoint |
addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, getGroupName, removePropertyChangeListener, removePropertyChangeListener, setGroupName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String PROP_LINE_NUMBER
public static final String PROP_URL
public static final String PROP_CONDITION
public static final String PROP_SOURCE_NAME
public static final String PROP_SOURCE_PATH
public static final String PROP_STRATUM
Method Detail |
public static LineBreakpoint create(String url, int lineNumber)
url
- a urllineNumber
- a line number
public String getURL()
public void setURL(String url)
public int getLineNumber()
public void setLineNumber(int ln)
ln
- a line number to stop onpublic String getCondition()
public void setCondition(String c)
c
- a new conditionpublic String getStratum()
public void setStratum(String s)
s
- a new stratumpublic String getSourceName()
public void setSourceName(String sn)
public String getSourcePath()
public void setSourcePath(String sp)
sp
- a new source pathpublic String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |