Enum Class LogicalBreakpoint.TraceMode

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

public static enum LogicalBreakpoint.TraceMode extends Enum<LogicalBreakpoint.TraceMode>
The state of a logical breakpoint's trace/target locations
  • Enum Constant Details

  • Method Details

    • values

      public static LogicalBreakpoint.TraceMode[] 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.TraceMode 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
    • fromBool

      public static LogicalBreakpoint.TraceMode fromBool(boolean enabled)
      Convert a boolean to trace breakpoint mode
      Parameters:
      enabled - true for ENABLED, false for DISABLED
      Returns:
      the state
    • combine

      For locations of the same logical breakpoint, compose the mode
      Parameters:
      that - the other state
      Returns:
      the composed state