|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.model.Breakpoint
org.eclipse.debug.core.model.LineBreakpoint
com.aptana.ide.debug.internal.core.model.JSDebugLineBreakpoint
public class JSDebugLineBreakpoint
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint |
|---|
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED |
| Constructor Summary | |
|---|---|
JSDebugLineBreakpoint()
Default constructor is required for the breakpoint manager to re-create persisted breakpoints. |
|
JSDebugLineBreakpoint(org.eclipse.core.resources.IResource resource,
int lineNumber)
Constructs a line breakpoint on the given resource at the given line number. |
|
JSDebugLineBreakpoint(org.eclipse.core.resources.IResource resource,
int lineNumber,
java.util.Map attributes,
boolean register)
Constructs a line breakpoint on the given resource at the given line number. |
|
JSDebugLineBreakpoint(IUniformResource resource,
int lineNumber)
JSDebugLineBreakpoint |
|
JSDebugLineBreakpoint(IUniformResource resource,
int lineNumber,
java.util.Map attributes,
boolean register)
JSDebugLineBreakpoint |
|
| Method Summary | |
|---|---|
java.lang.String |
getCondition()
Returns the conditional expression associated with this breakpoint, or null if this breakpoint
does not have a condition. |
int |
getHitCount()
Returns this breakpoint's hit count or, -1 if this breakpoint does not have a hit count. |
java.lang.String |
getModelIdentifier()
|
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. |
boolean |
isRunToLine()
isRunToLine |
void |
setCondition(java.lang.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. |
void |
setHitCount(int count)
Sets the hit count attribute of this breakpoint. |
| Methods inherited from class org.eclipse.debug.core.model.LineBreakpoint |
|---|
getCharEnd, getCharStart, getLineNumber |
| Methods inherited from class org.eclipse.debug.core.model.Breakpoint |
|---|
delete, ensureMarker, equals, getMarker, getMarkerRule, getMarkerRule, hashCode, isEnabled, isPersisted, isRegistered, markerExists, run, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setEnabled, setMarker, setPersisted, setRegistered |
| Methods inherited from class org.eclipse.core.runtime.PlatformObject |
|---|
getAdapter |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.debug.core.model.ILineBreakpoint |
|---|
getCharEnd, getCharStart, getLineNumber |
| Methods inherited from interface org.eclipse.debug.core.model.IBreakpoint |
|---|
delete, getMarker, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Constructor Detail |
|---|
public JSDebugLineBreakpoint()
setMarker(...) method is called to restore this breakpoint's
attributes.
public JSDebugLineBreakpoint(org.eclipse.core.resources.IResource resource,
int lineNumber)
throws org.eclipse.core.runtime.CoreException
resource - file on which to set the breakpointlineNumber - 1-based line number of the breakpoint
org.eclipse.core.runtime.CoreException - if unable to create the breakpoint
public JSDebugLineBreakpoint(IUniformResource resource,
int lineNumber)
throws org.eclipse.core.runtime.CoreException
resource - lineNumber -
org.eclipse.core.runtime.CoreException
public JSDebugLineBreakpoint(org.eclipse.core.resources.IResource resource,
int lineNumber,
java.util.Map attributes,
boolean register)
throws org.eclipse.core.runtime.CoreException
resource - file on which to set the breakpointlineNumber - 1-based line number of the breakpointattributes - the marker attributes to setregister - whether to add this breakpoint to the breakpoint manager
org.eclipse.core.runtime.CoreException - if unable to create the breakpoint
public JSDebugLineBreakpoint(IUniformResource resource,
int lineNumber,
java.util.Map attributes,
boolean register)
throws org.eclipse.core.runtime.CoreException
resource - lineNumber - attributes - register -
org.eclipse.core.runtime.CoreException| Method Detail |
|---|
public java.lang.String getModelIdentifier()
getModelIdentifier in interface org.eclipse.debug.core.model.IBreakpointIBreakpoint.getModelIdentifier()
public boolean isRunToLine()
throws org.eclipse.core.runtime.CoreException
IJSLineBreakpoint
isRunToLine in interface IJSLineBreakpointorg.eclipse.core.runtime.CoreException
public int getHitCount()
throws org.eclipse.core.runtime.CoreException
IJSLineBreakpoint
getHitCount in interface IJSLineBreakpointorg.eclipse.core.runtime.CoreException - if unable to access the property from this breakpoint's underlying markerIJSLineBreakpoint.getHitCount()
public void setHitCount(int count)
throws org.eclipse.core.runtime.CoreException
IJSLineBreakpoint
setHitCount in interface IJSLineBreakpointcount - the new hit count
org.eclipse.core.runtime.CoreException - if unable to set the property on this breakpoint's underlying markerIJSLineBreakpoint.setHitCount(int)
public java.lang.String getCondition()
throws org.eclipse.core.runtime.CoreException
IJSLineBreakpointnull if this breakpoint
does not have a condition.
getCondition in interface IJSLineBreakpointnull
org.eclipse.core.runtime.CoreException - if unable to access the property on this breakpoint's underlying markerIJSLineBreakpoint.getCondition()
public void setCondition(java.lang.String condition)
throws org.eclipse.core.runtime.CoreException
IJSLineBreakpointtrue. 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.
setCondition in interface IJSLineBreakpointcondition - conditional expression
org.eclipse.core.runtime.CoreException - if unable to set the property on this breakpoint's underlying markerIJSLineBreakpoint.setCondition(java.lang.String)
public boolean isConditionEnabled()
throws org.eclipse.core.runtime.CoreException
IJSLineBreakpoint
isConditionEnabled in interface IJSLineBreakpointorg.eclipse.core.runtime.CoreException - if unable to access the property on this breakpoint's underlying markerIJSLineBreakpoint.isConditionEnabled()
public void setConditionEnabled(boolean enabled)
throws org.eclipse.core.runtime.CoreException
IJSLineBreakpoint
setConditionEnabled in interface IJSLineBreakpointorg.eclipse.core.runtime.CoreException - if unable to set the property on this breakpoint's underlying markerIJSLineBreakpoint.setConditionEnabled(boolean)
public boolean isConditionSuspendOnTrue()
throws org.eclipse.core.runtime.CoreException
IJSLineBreakpointtrue or when the value
of the condition changes.
isConditionSuspendOnTrue in interface IJSLineBreakpointtrue 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 markerIJSLineBreakpoint.isConditionSuspendOnTrue()
public void setConditionSuspendOnTrue(boolean suspendOnTrue)
throws org.eclipse.core.runtime.CoreException
IJSLineBreakpointtrue, 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.
setConditionSuspendOnTrue in interface IJSLineBreakpointorg.eclipse.core.runtime.CoreException - if unable to access the property on this breakpoint's underlying markerIJSLineBreakpoint.setConditionSuspendOnTrue(boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||