struct BreakpointSettings
Defined at line 28 of file ../../src/developer/debug/zxdb/client/breakpoint_settings.h
The defaults for the settings should be chosen to be appropriate for new breakpoints if that
setting is not specified.
Public Members
BreakpointType type
uint32_t byte_size
basic_string name
bool enabled
ExecutionScope scope
vector locations
StopMode stop_mode
bool one_shot
bool has_automation
vector instructions
basic_string condition
Public Methods
const char * StopModeToString (StopMode )
Converts between the StopMode/Type enums and string values. These strings are the same ones
used in the settings system. On failure, *ToString returns "<invalid>" on failure (never
null), and StringTo*() returns nullopt.
Defined at line 13 of file ../../src/developer/debug/zxdb/client/breakpoint_settings.cc
std::optional<StopMode> StringToStopMode (std::string_view )
static
Defined at line 28 of file ../../src/developer/debug/zxdb/client/breakpoint_settings.cc
const char * TypeToString (Type )
static
Defined at line 43 of file ../../src/developer/debug/zxdb/client/breakpoint_settings.cc
std::optional<Type> StringToType (std::string_view )
static
Defined at line 61 of file ../../src/developer/debug/zxdb/client/breakpoint_settings.cc
bool TypeHasSize (Type )
Returns whether the given breakpoint type supports a byte_size.
Defined at line 75 of file ../../src/developer/debug/zxdb/client/breakpoint_settings.cc
Err ValidateSize (debug::Arch arch, Type type, uint32_t byte_size)
This function will validate the size and return a error if it's invalid.
Defined at line 78 of file ../../src/developer/debug/zxdb/client/breakpoint_settings.cc
Enumerations
enum StopMode
| Name | Value |
|---|---|
| kNone | 0 |
| kThread | 1 |
| kProcess | 2 |
| kAll | 3 |
What to stop when this breakpoint is hit.
TODO(dangyi): Merge this with debug_ipc::Stop.
Defined at line 31 of file ../../src/developer/debug/zxdb/client/breakpoint_settings.h