Package ghidra.debug.api.breakpoint
Enum Class LogicalBreakpoint.ProgramMode
java.lang.Object
java.lang.Enum<LogicalBreakpoint.ProgramMode>
ghidra.debug.api.breakpoint.LogicalBreakpoint.ProgramMode
- All Implemented Interfaces:
Serializable,Comparable<LogicalBreakpoint.ProgramMode>,Constable
- Enclosing interface:
LogicalBreakpoint
The state of a logical breakpoint's program bookmark
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionabstract LogicalBreakpoint.StatecombineTrace(LogicalBreakpoint.TraceMode traceMode, LogicalBreakpoint.Perspective perspective) Compose the logical breakpoint state from the perspective of the program, given the composed state of its locationsReturns the enum constant of this class with the specified name.static LogicalBreakpoint.ProgramMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
A placeholder state when the program bookmark state is not applicable -
MISSING
The state when the program location applies, but no breakpoint is present thereThis can happen when a breakpoint is placed directly in the debugger at a mapped address, but that breakpoint is not (yet) bookmarked in the mapped program.
-
ENABLED
The breakpoint's program bookmark is enabled -
DISABLED
The breakpoint's program bookmark is 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
-
combineTrace
public abstract LogicalBreakpoint.State combineTrace(LogicalBreakpoint.TraceMode traceMode, LogicalBreakpoint.Perspective perspective) Compose the logical breakpoint state from the perspective of the program, given the composed state of its locationsThis state is generally considered the state of the logical breakpoint. In other words, the program's perspective is the default.
- Parameters:
traceMode- the mode of its locationsperspective- the perspective- Returns:
- the logical state
-