public interface IJavaLineBreakpoint extends IJavaBreakpoint, ILineBreakpoint
SUSPEND_THREAD, SUSPEND_VM
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED
Modifier and Type | Method and Description |
---|---|
String |
getCondition()
Returns the conditional expression associated with this breakpoint, or
null if this breakpoint does not have a condition. |
boolean |
isConditionEnabled()
Returns whether the condition on this breakpoint is enabled.
|
boolean |
isConditionSuspendOnTrue()
Returns whether the breakpoint suspends when the value of the condition
is
true or when the value of the condition changes. |
void |
setCondition(String condition)
Sets the condition associated with this breakpoint.
|
void |
setConditionEnabled(boolean enabled)
Sets the enabled state of this breakpoint's condition to the given state.
|
void |
setConditionSuspendOnTrue(boolean suspendOnTrue)
Set the suspend state of this breakpoint's condition.
|
boolean |
supportsCondition()
Returns whether this breakpoint supports a conditional expression.
|
addBreakpointListener, addInstanceFilter, getBreakpointListeners, getHitCount, getInstanceFilters, getSuspendPolicy, getThreadFilter, getThreadFilters, getTypeName, isInstalled, removeBreakpointListener, removeInstanceFilter, removeThreadFilter, setHitCount, setSuspendPolicy, setThreadFilter, supportsInstanceFilters, supportsThreadFilters
getCharEnd, getCharStart, getLineNumber
delete, getMarker, getModelIdentifier, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered
getAdapter
boolean supportsCondition()
true
.String getCondition() throws CoreException
null
if this breakpoint does not have a condition.null
CoreException
- if unable to access the property on this breakpoint's
underlying markervoid setCondition(String condition) throws CoreException
true
. Setting the condition to
null
or an empty string removes the condition.
If this breakpoint does not support conditions, setting the condition has no effect.
condition
- conditional expressionCoreException
- if unable to set the property on this breakpoint's
underlying markerboolean isConditionEnabled() throws CoreException
CoreException
- if unable to access the property on this breakpoint's
underlying markervoid setConditionEnabled(boolean enabled) throws CoreException
enabled
- the enabled state of the conditionCoreException
- if unable to set the property on this breakpoint's
underlying markerboolean isConditionSuspendOnTrue() throws CoreException
true
or when the value of the condition changes.true
if this breakpoint suspends when the value of
the condition is true
, false
if this
breakpoint suspends when the value of the condition changes.CoreException
- if unable to access the property on this breakpoint's
underlying markervoid setConditionSuspendOnTrue(boolean suspendOnTrue) throws CoreException
true
, the breakpoint will stop when the value of the
condition is true
. If the value is false
, the
breakpoint will stop when the value of the condition changes.suspendOnTrue
- if the condition should suspend when trueCoreException
- if unable to access the property on this breakpoint's
underlying marker
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.