public interface IJavaMethodBreakpoint extends IJavaLineBreakpoint
Clients are not intended to implement this interface.
SUSPEND_THREAD, SUSPEND_VM
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED
Modifier and Type | Method and Description |
---|---|
String |
getMethodName()
Returns the name of the method(s) this breakpoint suspends
execution in, or
null if this breakpoint does
not suspend execution based on method name. |
String |
getMethodSignature()
Returns the signature of the method(s) this breakpoint suspends
execution in, or
null if this breakpoint does not
suspend execution based on method signature. |
String |
getTypeName()
Returns the pattern specifying the fully qualified name of type(s)
this breakpoint suspends execution in.
|
boolean |
isEntry()
Returns whether this breakpoint causes execution to suspend
on entry to methods.
|
boolean |
isEntrySuspend(IDebugTarget target)
Returns whether this breakpoint last suspended in the given
target due to a method entry (
true ) or exit
(false ). |
boolean |
isExit()
Returns whether this breakpoint causes execution to suspend
on exit of methods.
|
boolean |
isNativeOnly()
Returns whether this breakpoint causes execution to suspend
only on entry/exit of native methods.
|
void |
setEntry(boolean entry)
Sets whether this breakpoint causes execution to suspend
on entry to methods.
|
void |
setExit(boolean exit)
Sets whether this breakpoint causes execution to suspend
on exit of methods.
|
void |
setNativeOnly(boolean nativeOnly)
Sets whether this breakpoint causes execution to suspend
only on entry/exit of native methods.
|
getCondition, isConditionEnabled, isConditionSuspendOnTrue, setCondition, setConditionEnabled, setConditionSuspendOnTrue, supportsCondition
addInstanceFilter, getHitCount, getInstanceFilters, getSuspendPolicy, getThreadFilter, getThreadFilters, isInstalled, removeInstanceFilter, removeThreadFilter, setHitCount, setSuspendPolicy, setThreadFilter, supportsInstanceFilters, supportsThreadFilters
getCharEnd, getCharStart, getLineNumber
delete, getMarker, getModelIdentifier, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered
getAdapter
String getMethodName() throws CoreException
null
if this breakpoint does
not suspend execution based on method name.null
if this breakpoint does
not suspend execution based on method nameCoreException
- if unable to access the property from
this breakpoint's underlying markerString getMethodSignature() throws CoreException
null
if this breakpoint does not
suspend execution based on method signature.null
if this breakpoint does not
suspend execution based on method signatureCoreException
- if unable to access the property from
this breakpoint's underlying markerString getTypeName() throws CoreException
getTypeName
in interface IJavaBreakpoint
CoreException
- if unable to access the property from
this breakpoint's underlying markerIJavaBreakpoint.getTypeName()
boolean isEntry() throws CoreException
CoreException
- if unable to access the property from
this breakpoint's underlying markerboolean isExit() throws CoreException
CoreException
- if unable to access the property from
this breakpoint's underlying markervoid setEntry(boolean entry) throws CoreException
entry
- whether this breakpoint causes execution to suspend
on entry to methodsCoreException
- if unable to set the property on
this breakpoint's underlying markervoid setExit(boolean exit) throws CoreException
exit
- whether this breakpoint causes execution to suspend
on exit of methodsCoreException
- if unable to set the property on
this breakpoint's underlying markervoid setNativeOnly(boolean nativeOnly) throws CoreException
nativeOnly
- whether this breakpoint causes execution to suspend
only on entry/exit of native methodsCoreException
- if unable to set the property on
this breakpoint's underlying markerboolean isNativeOnly() throws CoreException
CoreException
- if unable to access the property
on this breakpoint's underlying markerboolean isEntrySuspend(IDebugTarget target)
true
) or exit
(false
).true
if this breakpoint last suspended the given
target due to a method entry; false
if this breakpoint last
suspended in the given target due to a method exit or if this
breakpoint hasn't suspended the given target.Copyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.