Package ghidra.debug.api.breakpoint
Enum Class LogicalBreakpoint.TraceMode
- All Implemented Interfaces:
Serializable,Comparable<LogicalBreakpoint.TraceMode>,Constable
- Enclosing interface:
LogicalBreakpoint
The state of a logical breakpoint's trace/target locations
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe mode when all mapped locations are placed and disabledThe mode when all mapped locations are placed and enabledThe mode when the breakpoint is missing from one or more of its mapped locationsThe mode when all mapped locations are placed, but some are enabled, and some are disabledA placeholder mode when no traces are involved -
Method Summary
Modifier and TypeMethodDescriptionabstract LogicalBreakpoint.TraceModeFor locations of the same logical breakpoint, compose the modestatic LogicalBreakpoint.TraceModefromBool(boolean enabled) Convert a boolean to trace breakpoint modestatic LogicalBreakpoint.TraceModeReturns the enum constant of this class with the specified name.static LogicalBreakpoint.TraceMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
A placeholder mode when no traces are involved -
MISSING
The mode when the breakpoint is missing from one or more of its mapped locations -
ENABLED
The mode when all mapped locations are placed and enabled -
DISABLED
The mode when all mapped locations are placed and disabled -
MIXED
The mode when all mapped locations are placed, but some are enabled, and some are disabled
-
-
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
-
fromBool
Convert a boolean to trace breakpoint mode -
combine
For locations of the same logical breakpoint, compose the mode- Parameters:
that- the other state- Returns:
- the composed state
-