public class JPDABreakpoint extends Breakpoint
Breakpoint.GroupProperties, Breakpoint.HIT_COUNT_FILTERING_STYLE, Breakpoint.VALIDITY
Modifier and Type | Field and Description |
---|---|
static String |
PROP_HIDDEN
Property name constant.
|
static String |
PROP_PRINT_TEXT
Property name constant.
|
static String |
PROP_SUSPEND
Property name constant.
|
static int |
SUSPEND_ALL
Suspend property value constant.
|
static int |
SUSPEND_EVENT_THREAD
Suspend property value constant.
|
static int |
SUSPEND_NONE
Suspend property value constant.
|
PROP_DISPOSED, PROP_ENABLED, PROP_GROUP_NAME, PROP_GROUP_PROPERTIES, PROP_HIT_COUNT_FILTER, PROP_VALIDITY
Modifier and Type | Method and Description |
---|---|
void |
addJPDABreakpointListener(JPDABreakpointListener listener)
Adds a JPDABreakpointListener.
|
boolean |
canHaveDependentBreakpoints() |
void |
disable()
Disables the breakpoint.
|
void |
enable()
Enables the breakpoint.
|
String |
getPrintText()
Gets value of print text property.
|
JPDADebugger |
getSession()
Get the specific session where this breakpoint belongs to.
|
int |
getSuspend()
Gets value of suspend property.
|
boolean |
isEnabled()
Test whether the breakpoint is enabled.
|
boolean |
isHidden()
Gets value of hidden property.
|
void |
removeJPDABreakpointListener(JPDABreakpointListener listener)
Removes a JPDABreakpointListener.
|
void |
setHidden(boolean h)
Sets value of hidden property.
|
void |
setPrintText(String printText)
Sets value of print text property.
|
void |
setSession(JPDADebugger session)
Set the specific session where this breakpoint belongs to.
|
void |
setSuspend(int s)
Sets value of suspend property.
|
addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, getBreakpointsToDisable, getBreakpointsToEnable, getGroupName, getGroupProperties, getHitCountFilter, getHitCountFilteringStyle, getValidity, getValidityMessage, removePropertyChangeListener, removePropertyChangeListener, setBreakpointsToDisable, setBreakpointsToEnable, setGroupName, setHitCountFilter, setValidity
public static final String PROP_SUSPEND
public static final String PROP_HIDDEN
public static final String PROP_PRINT_TEXT
public static final int SUSPEND_ALL
public static final int SUSPEND_EVENT_THREAD
public static final int SUSPEND_NONE
public int getSuspend()
public void setSuspend(int s)
s
- a new value of suspend propertypublic boolean isHidden()
public void setHidden(boolean h)
h
- a new value of hidden propertypublic String getPrintText()
null
.public void setPrintText(String printText)
printText
- a new value of print text property. Can be null
.public boolean isEnabled()
isEnabled
in class Breakpoint
true
if sopublic void disable()
disable
in class Breakpoint
public void enable()
enable
in class Breakpoint
public void setSession(JPDADebugger session)
session
- the specific sessionpublic JPDADebugger getSession()
null
, the breakpoint is considered in this session only
and is discarded after this session finishes.null
.public boolean canHaveDependentBreakpoints()
canHaveDependentBreakpoints
in class Breakpoint
public void addJPDABreakpointListener(JPDABreakpointListener listener)
listener
- the listener to addpublic void removeJPDABreakpointListener(JPDABreakpointListener listener)
listener
- the listener to remove