1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:18:13 +00:00

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
parent 6e5b1f5819
commit 91224d47d2
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);
});