SystemMonitor: Add "Debug In HackStudio" action to process context menu

This action launches HackStudio with its debugger attached to the
selected process.
This commit is contained in:
Itamar 2023-02-19 22:12:07 +02:00 committed by Andreas Kling
commit 91224d47d2
Notes: sideshowbarker 2024-07-17 08:42:05 +09:00
2 changed files with 14 additions and 1 deletions

View file

@ -1091,7 +1091,7 @@ void HackStudioWidget::initialize_debugger()
});
GUI::Application::the()->event_loop().wake();
},
[this](float progress) {
[](float progress) {
if (GUI::Application::the()->active_window())
GUI::Application::the()->active_window()->set_progress(progress * 100);
});