Enum Class LogicalBreakpoint.Consistency
- All Implemented Interfaces:
Serializable,Comparable<LogicalBreakpoint.Consistency>,Constable
- Enclosing interface:
LogicalBreakpoint
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionhas a trace location but is not bookmarked, or the bookmark disagreeshas a bookmark but one or more trace locations is missingthe bookmark and locations all agree -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static LogicalBreakpoint.Consistency[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
the bookmark and locations all agree -
INEFFECTIVE
has a bookmark but one or more trace locations is missing -
INCONSISTENT
has a trace location but is not bookmarked, or the bookmark disagrees
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
sameAddress
-