Enum Class TraceBreakpointKind

java.lang.Object
java.lang.Enum<TraceBreakpointKind>
ghidra.trace.model.breakpoint.TraceBreakpointKind
All Implemented Interfaces:
Serializable, Comparable<TraceBreakpointKind>, Constable

public enum TraceBreakpointKind extends Enum<TraceBreakpointKind>
The kind of breakpoint

This identifies the sort of access that would trap execution

TODO: This is identical to TargetBreakpointKind (not in the classpath here). Is there a common place we could factor both? Should we? CAUTION: Encoding in a trace database depends on this enum's bits field, so we must take care not to introduce a dependency that would open us up to database breaks if the common enum changes.

  • Enum Constant Details

  • Field Details

    • COUNT

      public static final int COUNT
  • Method Details

    • values

      public static TraceBreakpointKind[] 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 TraceBreakpointKind 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
    • getBits

      public byte getBits()