public interface IJavaScriptFunctionBreakpoint extends IJavaScriptLineBreakpoint
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FUNCTION_NAME
The id of the attribute for the function name
|
static java.lang.String |
FUNCTION_SIGNAURE
The id of the attribute for a method signature
|
static java.lang.String |
MARKER_ID
Registered marker id for a JavaScript function breakpoint
|
ELEMENT_HANDLE, HIT_COUNT, SCRIPT_PATH, SUSPEND_POLICY, SUSPEND_TARGET, SUSPEND_THREAD, TYPE_NAME
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFunctionName()
Returns the function name set in the breakpoint.
|
java.lang.String |
getSignature()
Returns the function signature set in the breakpoint.
|
boolean |
isEntry()
Returns if the breakpoint will suspend when the function is entered.
|
boolean |
isExit()
Returns if the breakpoint will suspend when the function is exited.
|
void |
setEntry(boolean isentry)
Sets if this will be a function entry breakpoint.
|
void |
setExit(boolean isexit)
Sets if this will be a function exit breakpoint.
|
getCondition, isConditionEnabled, isConditionSuspendOnTrue, setCondition, setConditionEnabled, setConditionSuspendOnTrue
getHitCount, getJavaScriptElementHandle, getScriptPath, getSuspendPolicy, getTypeName, isInstalled, setHitCount, setJavaScriptElementHandle, setSuspendPolicy
static final java.lang.String FUNCTION_SIGNAURE
static final java.lang.String FUNCTION_NAME
static final java.lang.String MARKER_ID
boolean isEntry() throws CoreException
true
if the breakpoint is set to suspend when entering the function false
otherwiseCoreException
- if the breakpoint cannot be accessedvoid setEntry(boolean isentry) throws CoreException
isentry
- if the breakpoint should suspend when the function is enteredCoreException
- if the breakpoint cannot be accessedboolean isExit() throws CoreException
true
if the breakpoint is set to suspend when exiting the function false
otherwiseCoreException
- if the breakpoint cannot be accessedvoid setExit(boolean isexit) throws CoreException
isexit
- if the breakpoint should suspend when the function is exitedCoreException
- if the breakpoint cannot be accessedjava.lang.String getFunctionName() throws CoreException
null
if noneCoreException
- if the breakpoint cannot be accessedjava.lang.String getSignature() throws CoreException
null
if noneCoreException
- if the breakpoint cannot be accessedCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.