public class ThreadBreakpoint extends JPDABreakpoint
DebuggerManager.addBreakpoint (ThreadBreakpoint.create ( ));This breakpoint stops when some thread is created or killed.
Breakpoint.GroupProperties, Breakpoint.HIT_COUNT_FILTERING_STYLE, Breakpoint.VALIDITY
Modifier and Type | Field and Description |
---|---|
static String |
PROP_BREAKPOINT_TYPE
Property name constant.
|
static int |
TYPE_THREAD_DEATH
Catch type property value constant.
|
static int |
TYPE_THREAD_STARTED
Catch type property value constant.
|
static int |
TYPE_THREAD_STARTED_OR_DEATH
Catch type property value constant.
|
PROP_HIDDEN, PROP_PRINT_TEXT, PROP_SUSPEND, SUSPEND_ALL, SUSPEND_EVENT_THREAD, SUSPEND_NONE
PROP_DISPOSED, PROP_ENABLED, PROP_GROUP_NAME, PROP_GROUP_PROPERTIES, PROP_HIT_COUNT_FILTER, PROP_VALIDITY
Modifier and Type | Method and Description |
---|---|
static ThreadBreakpoint |
create()
Creates a new breakpoint for given parameters.
|
int |
getBreakpointType()
Returns type of this breakpoint.
|
void |
setBreakpointType(int breakpointType)
Sets type of this breakpoint (TYPE_THREAD_STARTED or TYPE_THREAD_DEATH).
|
String |
toString()
Returns a string representation of this object.
|
addJPDABreakpointListener, canHaveDependentBreakpoints, disable, enable, getPrintText, getSession, getSuspend, isEnabled, isHidden, removeJPDABreakpointListener, setHidden, setPrintText, setSession, setSuspend
addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, getBreakpointsToDisable, getBreakpointsToEnable, getGroupName, getGroupProperties, getHitCountFilter, getHitCountFilteringStyle, getValidity, getValidityMessage, removePropertyChangeListener, removePropertyChangeListener, setBreakpointsToDisable, setBreakpointsToEnable, setGroupName, setHitCountFilter, setValidity
public static final String PROP_BREAKPOINT_TYPE
public static final int TYPE_THREAD_STARTED
public static final int TYPE_THREAD_DEATH
public static final int TYPE_THREAD_STARTED_OR_DEATH
public static ThreadBreakpoint create()
public int getBreakpointType()
public void setBreakpointType(int breakpointType)
breakpointType
- a new value of breakpoint type property