|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IJavaScriptBreakpoint
General JavaScript breakpoint
| Field Summary | |
|---|---|
static java.lang.String |
ELEMENT_HANDLE
JSDT member handle |
static java.lang.String |
HIT_COUNT
The hit count set in the breakpoint |
static java.lang.String |
MARKER_ID
The id of the root breakpoint marker type for JavaScript breakpoints Value is: org.eclipse.wst.jsdt.debug.core.breakpoint.marker |
static java.lang.String |
SCRIPT_PATH
Breakpoint attribute for the path of the script |
static java.lang.String |
SUSPEND_POLICY
The suspend policy for the breakpoint |
static int |
SUSPEND_TARGET
Suspend policy for suspending the current target |
static int |
SUSPEND_THREAD
Suspend policy for suspending the current thread of execution |
static java.lang.String |
TYPE_NAME
The type name within the script |
| Method Summary | |
|---|---|
int |
getHitCount()
Returns the hit count set for this breakpoint or -1 if no hit count has been set. |
java.lang.String |
getJavaScriptElementHandle()
Returns the IJavaScriptElement handle for the member
this breakpoint is set on. |
java.lang.String |
getScriptPath()
Returns the path of the script as it was set when the breakpoint was created. |
int |
getSuspendPolicy()
Returns the suspend policy for this breakpoint, default suspend policy is to suspend the thread |
java.lang.String |
getTypeName()
Returns the type name that the breakpoint is set within. |
boolean |
isInstalled()
Returns if the breakpoint is currently installed or not. |
void |
setHitCount(int count)
Sets the given hit count for the breakpoint, throws an IllegalArgumentException if the given count is less than 1. |
void |
setJavaScriptElementHandle(java.lang.String handle)
Allows the IJavaScriptElement handle to be set for this breakpoint. |
void |
setSuspendPolicy(int policy)
Sets the suspend policy for this breakpoint. |
| Field Detail |
|---|
static final java.lang.String MARKER_ID
org.eclipse.wst.jsdt.debug.core.breakpoint.marker
static final java.lang.String SUSPEND_POLICY
static final java.lang.String TYPE_NAME
static final java.lang.String SCRIPT_PATH
static final java.lang.String HIT_COUNT
static final int SUSPEND_THREAD
static final int SUSPEND_TARGET
static final java.lang.String ELEMENT_HANDLE
| Method Detail |
|---|
java.lang.String getScriptPath()
throws CoreException
null
null
CoreException - if the breakpoint cannot be accessed
java.lang.String getTypeName()
throws CoreException
null when the breakpoint is set
on a top-level type i.e. set on the root source
null
CoreException - if the breakpoint cannot be accessed
int getHitCount()
throws CoreException
CoreException - if the breakpoint cannot be accessed
void setHitCount(int count)
throws CoreException,
java.lang.IllegalArgumentException
IllegalArgumentException if the given count is less than 1.
count - the count to set, must be > 0
CoreException
java.lang.IllegalArgumentException - if count < 1
int getSuspendPolicy()
throws CoreException
CoreException - if the breakpoint cannot be accessedSUSPEND_THREAD,
SUSPEND_TARGET
void setSuspendPolicy(int policy)
throws CoreException
SUSPEND_THREAD or SUSPEND_TARGET
will be ignored.
policy - the policy to set
CoreException - if the breakpoint cannot be accessedSUSPEND_THREAD,
SUSPEND_TARGET
java.lang.String getJavaScriptElementHandle()
throws CoreException
IJavaScriptElement handle for the member
this breakpoint is set on.null if no element handle has been set
IJavaScriptElement handle or null
CoreException - if the breakpoint cannot be accessed
void setJavaScriptElementHandle(java.lang.String handle)
throws CoreException
IJavaScriptElement handle to be set for this breakpoint.
handle - the new handle to set, null will remove any existing handle
CoreException - if the breakpoint cannot be accessed
boolean isInstalled()
throws CoreException
true if the breakpoint is installed false otherwise
CoreException - if the breakpoint cannot be accessed
|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||