Interface IDebuggerBreakpoint
- All Known Implementing Classes:
AbstractDebuggerBreakpoint
public interface IDebuggerBreakpoint
Definition of a breakpoint.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
standard maximal breakpoint flag (or, no flag), e.g.static final int
limited to field breakpointstatic final int
limited to field breakpoint -
Method Summary
Modifier and TypeMethodDescriptionGet the breakpoint address relative to the debugger itself.int
getFlags()
Retrieve the optional breakpoint flags.Get the breakpoint address relative to the unit from which the breakpoint belongs, if possible.boolean
Determine whether or not the breakpoint is currently enable.boolean
setEnabled
(boolean enabled) Enable or disable this breakpoint.
-
Field Details
-
BREAK_DEFAULT
static final int BREAK_DEFAULTstandard maximal breakpoint flag (or, no flag), e.g. break on execute for code, break on read or write for field- See Also:
-
BREAK_ON_READ
static final int BREAK_ON_READlimited to field breakpoint- See Also:
-
BREAK_ON_WRITE
static final int BREAK_ON_WRITElimited to field breakpoint- See Also:
-
-
Method Details
-
getAddress
String getAddress()Get the breakpoint address relative to the debugger itself. UnlikegetUnitAddress()
, this method should never return null.- Returns:
-
getUnitAddress
UnitAddress<ICodeUnit> getUnitAddress()Get the breakpoint address relative to the unit from which the breakpoint belongs, if possible. This method may return null: it is possible that a breakpoint is not located within any unit processed within a JEB project.;- Returns:
-
getFlags
int getFlags()Retrieve the optional breakpoint flags.- Returns:
- 0 (default), or a combination of
BREAK_ON_xxx
flags
-
setEnabled
boolean setEnabled(boolean enabled) Enable or disable this breakpoint.- Parameters:
enabled
-- Returns:
- true if the operation was successful
-
isEnabled
boolean isEnabled()Determine whether or not the breakpoint is currently enable.- Returns:
-