1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:37:34 +00:00

HackStudio: Add option to inspect Coredump

This adds a --coredump <file> option to Hack Studio.

When used, Hack Studio will open the coredump and allow the user to
inspect it in the Debug tab.
This commit is contained in:
Itamar 2021-11-19 16:13:07 +02:00 committed by Linus Groh
parent ce726fe027
commit 8316eb7306
8 changed files with 72 additions and 19 deletions

View file

@ -26,10 +26,12 @@ class DebugInfoWidget final : public GUI::Widget {
public:
virtual ~DebugInfoWidget() override { }
void update_state(Debug::ProcessInspector const&, PtraceRegisters const&);
void update_state(Debug::ProcessInspector&, PtraceRegisters const&);
void program_stopped();
void set_debug_actions_enabled(bool enabled);
Function<void(Debug::DebugInfo::SourcePosition const&)> on_backtrace_frame_selection;
private:
explicit DebugInfoWidget();
void init_toolbar();