Interface IDebuggerBreakpoint

All Known Implementing Classes:
AbstractDebuggerBreakpoint

public interface IDebuggerBreakpoint
Definition of a breakpoint.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    standard maximal breakpoint flag (or, no flag), e.g.
    static final int
    limited to field breakpoint
    static final int
    limited to field breakpoint
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the breakpoint address relative to the debugger itself.
    int
    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_DEFAULT
      standard 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_READ
      limited to field breakpoint
      See Also:
    • BREAK_ON_WRITE

      static final int BREAK_ON_WRITE
      limited to field breakpoint
      See Also:
  • Method Details

    • getAddress

      String getAddress()
      Get the breakpoint address relative to the debugger itself. Unlike getUnitAddress(), 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: