public interface IJavaScriptLineBreakpoint extends IJavaScriptBreakpoint
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MARKER_ID
Registered marker id for a JavaScript line breakpoint
|
ELEMENT_HANDLE, HIT_COUNT, SCRIPT_PATH, SUSPEND_POLICY, SUSPEND_TARGET, SUSPEND_THREAD, TYPE_NAME
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCondition()
Returns the condition set for this breakpoint or
null . |
boolean |
isConditionEnabled()
Returns if the condition for this breakpoint is enabled or not
|
boolean |
isConditionSuspendOnTrue()
Returns if the breakpoint should suspend when the assigned condition evaluates to
true . |
void |
setCondition(java.lang.String condition)
Sets the given condition for the breakpoint.
|
void |
setConditionEnabled(boolean enabled)
Allows the enabled state of the condition to be set
|
void |
setConditionSuspendOnTrue(boolean suspendontrue)
Sets if the condition for this breakpoint will suspend when it evaluates to
true . |
getHitCount, getJavaScriptElementHandle, getScriptPath, getSuspendPolicy, getTypeName, isInstalled, setHitCount, setJavaScriptElementHandle, setSuspendPolicy
static final java.lang.String MARKER_ID
java.lang.String getCondition() throws CoreException
null
.null
if one has not been setCoreException
- if the breakpoint cannot be accessedvoid setCondition(java.lang.String condition) throws CoreException
condition
- the new condition to set. null
has the effect of erasing the current conditionCoreException
- if the breakpoint cannot be accessedboolean isConditionEnabled() throws CoreException
CoreException
- if the breakpoint cannot be accessedvoid setConditionEnabled(boolean enabled) throws CoreException
enabled
- if the condition should be enabled. Disabling a condition does not remove it.CoreException
- if the breakpoint cannot be accessedboolean isConditionSuspendOnTrue() throws CoreException
true
.CoreException
- if the breakpoint cannot be accessedvoid setConditionSuspendOnTrue(boolean suspendontrue) throws CoreException
true
.suspendontrue
- if the condition should suspend when it evaluates to true
CoreException
- if the breakpoint cannot be accessedCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.