breakpoints
This commit is contained in:
@@ -24,6 +24,7 @@ Frontend::Frontend()
|
||||
_windows.push_back(Window::create_threads(window_id++));
|
||||
_windows.push_back(Window::create_frames(window_id++));
|
||||
_windows.push_back(Window::create_disas(window_id++));
|
||||
_windows.push_back(Window::create_bp(window_id++));
|
||||
}
|
||||
|
||||
void Frontend::run_frame()
|
||||
@@ -182,7 +183,13 @@ void Frontend::draw_header()
|
||||
ImGui::BeginDisabled();
|
||||
}
|
||||
|
||||
if (ImGui::Button("Step Over")) {}
|
||||
if (ImGui::Button("Step Over"))
|
||||
{
|
||||
if (this->target->backend->step_over())
|
||||
{
|
||||
// TODO: already disable the UI into running mode
|
||||
}
|
||||
}
|
||||
if (ImGui::Button("Step Into"))
|
||||
{
|
||||
if (this->target->backend->step_into())
|
||||
@@ -190,7 +197,13 @@ void Frontend::draw_header()
|
||||
// TODO: already disable the UI into running mode
|
||||
}
|
||||
}
|
||||
ImGui::Button("Step Out");
|
||||
if (ImGui::Button("Step Out"))
|
||||
{
|
||||
if (this->target->backend->step_out())
|
||||
{
|
||||
// TODO: already disable the UI into running mode
|
||||
}
|
||||
}
|
||||
|
||||
if (!is_paused)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user