Package org.eclipse.jdt.debug.core
Interface IJavaMethodBreakpoint
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable,org.eclipse.debug.core.model.IBreakpoint,IJavaBreakpoint,IJavaLineBreakpoint,org.eclipse.debug.core.model.ILineBreakpoint,org.eclipse.debug.core.model.ITriggerPoint
A method breakpoint suspends execution when a method is entered or exited.
- Since:
- 2.0
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTEREDFields inherited from interface org.eclipse.jdt.debug.core.IJavaBreakpoint
RESUME_ON_HIT, SUSPEND_THREAD, SUSPEND_VMFields inherited from interface org.eclipse.debug.core.model.ITriggerPoint
TRIGGERPOINT -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the method(s) this breakpoint suspends execution in, ornullif this breakpoint does not suspend execution based on method name.Returns the signature of the method(s) this breakpoint suspends execution in, ornullif this breakpoint does not suspend execution based on method signature.Returns the pattern specifying the fully qualified name of type(s) this breakpoint suspends execution in.booleanisEntry()Returns whether this breakpoint causes execution to suspend on entry to methods.booleanisEntrySuspend(org.eclipse.debug.core.model.IDebugTarget target) Returns whether this breakpoint last suspended in the given target due to a method entry (true) or exit (false).booleanisExit()Returns whether this breakpoint causes execution to suspend on exit of methods.booleanReturns whether this breakpoint causes execution to suspend only on entry/exit of native methods.voidsetEntry(boolean entry) Sets whether this breakpoint causes execution to suspend on entry to methods.voidsetExit(boolean exit) Sets whether this breakpoint causes execution to suspend on exit of methods.voidsetNativeOnly(boolean nativeOnly) Sets whether this breakpoint causes execution to suspend only on entry/exit of native methods.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.debug.core.model.IBreakpoint
delete, getMarker, getModelIdentifier, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegisteredMethods inherited from interface org.eclipse.jdt.debug.core.IJavaBreakpoint
addBreakpointListener, addInstanceFilter, getBreakpointListeners, getHitCount, getInstanceFilters, getSuspendPolicy, getThreadFilter, getThreadFilters, isDisableOnHit, isInstalled, removeBreakpointListener, removeInstanceFilter, removeThreadFilter, setDisableOnHit, setHitCount, setSuspendPolicy, setThreadFilter, supportsInstanceFilters, supportsThreadFiltersMethods inherited from interface org.eclipse.jdt.debug.core.IJavaLineBreakpoint
getCondition, isConditionEnabled, isConditionSuspendOnTrue, setCondition, setConditionEnabled, setConditionSuspendOnTrue, supportsConditionMethods inherited from interface org.eclipse.debug.core.model.ILineBreakpoint
getCharEnd, getCharStart, getLineNumberMethods inherited from interface org.eclipse.debug.core.model.ITriggerPoint
isTriggerPoint, setTriggerPoint
-
Method Details
-
getMethodName
Returns the name of the method(s) this breakpoint suspends execution in, ornullif this breakpoint does not suspend execution based on method name.- Returns:
- the name of the method(s) this breakpoint suspends execution in,
or
nullif this breakpoint does not suspend execution based on method name - Throws:
org.eclipse.core.runtime.CoreException- if unable to access the property from this breakpoint's underlying marker
-
getMethodSignature
Returns the signature of the method(s) this breakpoint suspends execution in, ornullif this breakpoint does not suspend execution based on method signature.- Returns:
- the signature of the method(s) this breakpoint suspends execution
in, or
nullif this breakpoint does not suspend execution based on method signature - Throws:
org.eclipse.core.runtime.CoreException- if unable to access the property from this breakpoint's underlying marker
-
getTypeName
Returns the pattern specifying the fully qualified name of type(s) this breakpoint suspends execution in. Patterns are limited to exact matches and patterns that begin or end with '*'.- Specified by:
getTypeNamein interfaceIJavaBreakpoint- Returns:
- the pattern specifying the fully qualified name of type(s) this breakpoint suspends execution in
- Throws:
org.eclipse.core.runtime.CoreException- if unable to access the property from this breakpoint's underlying marker- See Also:
-
isEntry
boolean isEntry() throws org.eclipse.core.runtime.CoreExceptionReturns whether this breakpoint causes execution to suspend on entry to methods.- Returns:
- whether this breakpoint causes execution to suspend on entry to methods
- Throws:
org.eclipse.core.runtime.CoreException- if unable to access the property from this breakpoint's underlying marker
-
isExit
boolean isExit() throws org.eclipse.core.runtime.CoreExceptionReturns whether this breakpoint causes execution to suspend on exit of methods.- Returns:
- whether this breakpoint causes execution to suspend on exit of methods
- Throws:
org.eclipse.core.runtime.CoreException- if unable to access the property from this breakpoint's underlying marker
-
setEntry
void setEntry(boolean entry) throws org.eclipse.core.runtime.CoreException Sets whether this breakpoint causes execution to suspend on entry to methods.- Parameters:
entry- whether this breakpoint causes execution to suspend on entry to methods- Throws:
org.eclipse.core.runtime.CoreException- if unable to set the property on this breakpoint's underlying marker
-
setExit
void setExit(boolean exit) throws org.eclipse.core.runtime.CoreException Sets whether this breakpoint causes execution to suspend on exit of methods.- Parameters:
exit- whether this breakpoint causes execution to suspend on exit of methods- Throws:
org.eclipse.core.runtime.CoreException- if unable to set the property on this breakpoint's underlying marker
-
setNativeOnly
void setNativeOnly(boolean nativeOnly) throws org.eclipse.core.runtime.CoreException Sets whether this breakpoint causes execution to suspend only on entry/exit of native methods.- Parameters:
nativeOnly- whether this breakpoint causes execution to suspend only on entry/exit of native methods- Throws:
org.eclipse.core.runtime.CoreException- if unable to set the property on this breakpoint's underlying marker
-
isNativeOnly
boolean isNativeOnly() throws org.eclipse.core.runtime.CoreExceptionReturns whether this breakpoint causes execution to suspend only on entry/exit of native methods.- Returns:
- whether this breakpoint causes execution to suspend only on entry/exit of native methods
- Throws:
org.eclipse.core.runtime.CoreException- if unable to access the property on this breakpoint's underlying marker
-
isEntrySuspend
boolean isEntrySuspend(org.eclipse.debug.core.model.IDebugTarget target) Returns whether this breakpoint last suspended in the given target due to a method entry (true) or exit (false).- Parameters:
target- the debug target- Returns:
trueif this breakpoint last suspended the given target due to a method entry;falseif this breakpoint last suspended in the given target due to a method exit or if this breakpoint hasn't suspended the given target.
-