breakpoints
This commit is contained in:
@@ -20,6 +20,7 @@ namespace dbgui::frontend
|
||||
frames,
|
||||
threads,
|
||||
disassembly,
|
||||
breakpoints,
|
||||
};
|
||||
|
||||
struct RegWindow
|
||||
@@ -98,11 +99,19 @@ namespace dbgui::frontend
|
||||
std::vector<Instruction> insts;
|
||||
};
|
||||
|
||||
struct BreakpointWindow
|
||||
{
|
||||
bool draw(Frontend &);
|
||||
|
||||
std::string id;
|
||||
bool open;
|
||||
};
|
||||
|
||||
struct Window
|
||||
{
|
||||
WindowType type;
|
||||
std::variant<std::monostate, RegWindow, ThreadWindow, FrameWindow,
|
||||
DisasmWindow>
|
||||
DisasmWindow, BreakpointWindow>
|
||||
data;
|
||||
|
||||
// if true, window is closed and should be deleted
|
||||
@@ -112,6 +121,7 @@ namespace dbgui::frontend
|
||||
static Window create_threads(size_t window_id);
|
||||
static Window create_frames(size_t window_id);
|
||||
static Window create_disas(size_t window_id);
|
||||
static Window create_bp(size_t window_id);
|
||||
|
||||
void handle_data_res(const BackToFront::DataResult &result);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user