Enum Class LogicalBreakpoint.Consistency

java.lang.Object
java.lang.Enum<LogicalBreakpoint.Consistency>
ghidra.debug.api.breakpoint.LogicalBreakpoint.Consistency
All Implemented Interfaces:
Serializable, Comparable<LogicalBreakpoint.Consistency>, Constable
Enclosing interface:
LogicalBreakpoint

public static enum LogicalBreakpoint.Consistency extends Enum<LogicalBreakpoint.Consistency>
The consistency of a logical breakpoint

When operating as designed, all breakpoints should be in the NORMAL state. This indicates that the breakpoint's bookmark and all trace locations agree on the mode. Exceptions do happen, and they should be indicated to the user:

If the breakpoint is a lone breakpoint, meaning Ghidra cannot determine to what program it belongs, then the breakpoint is always INCONSISTENT, because Ghidra uses program bookmarks to save breakpoints.

If the breakpoint is mapped, meaning Ghidra can determine to what program it belongs and at what address, but it is not bookmarked, then the breakpoint is INCONSISTENT. If it is bookmarked, but the bookmark disagrees, then the breakpoint is INCONSISTENT. A breakpoint that is bookmarked but has no trace locations, or is missing from any participating trace, is INEFFECTIVE.

Implementation Notes:
These are ordered by priority, highest last.
  • Enum Constant Details

  • Method Details

    • values

      public static LogicalBreakpoint.Consistency[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LogicalBreakpoint.Consistency valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • sameAddress