|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A breakpoint that suspends execution when a particular line of code is reached.
Clients are not intended to implement this interface
Field Summary |
Fields inherited from interface org.eclipse.jdt.debug.core.IJavaBreakpoint |
SUSPEND_THREAD, SUSPEND_VM |
Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint |
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED |
Method Summary | |
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. |
Methods inherited from interface org.eclipse.jdt.debug.core.IJavaBreakpoint |
addInstanceFilter, getHitCount, getInstanceFilters, getSuspendPolicy, getThreadFilter, getThreadFilters, getTypeName, isInstalled, removeInstanceFilter, removeThreadFilter, setHitCount, setSuspendPolicy, setThreadFilter, supportsInstanceFilters, supportsThreadFilters |
Methods inherited from interface org.eclipse.debug.core.model.IBreakpoint |
delete, getMarker, getModelIdentifier, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
Methods inherited from interface org.eclipse.debug.core.model.ILineBreakpoint |
getCharEnd, getCharStart, getLineNumber |
Method Detail |
public boolean supportsCondition()
true
.
public String getCondition() throws org.eclipse.core.runtime.CoreException
null
if this breakpoint does not have a condition.
null
org.eclipse.core.runtime.CoreException
- if unable to access the property on
this breakpoint's underlying markerpublic void setCondition(String condition) throws org.eclipse.core.runtime.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 expression
org.eclipse.core.runtime.CoreException
- if unable to set the property on
this breakpoint's underlying markerpublic boolean isConditionEnabled() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
- if unable to access the property on
this breakpoint's underlying markerpublic void setConditionEnabled(boolean enabled) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
- if unable to set the property on
this breakpoint's underlying markerpublic boolean isConditionSuspendOnTrue() throws org.eclipse.core.runtime.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.
org.eclipse.core.runtime.CoreException
- if unable to access the property on
this breakpoint's underlying markerpublic void setConditionSuspendOnTrue(boolean suspendOnTrue) throws org.eclipse.core.runtime.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.
org.eclipse.core.runtime.CoreException
- if unable to access the property on this
breakpoint's underlying marker
|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |