Skip to content

How to use this extension with coredumps [missing in README]? #360

Open
@GitMensch

Description

@GitMensch

So far I've only started the application, then used the debugging console or autorun to load a core file.
But there is likely a better way, isn't there?

Thinking about that it would be likely useful to have an extra launch type for that which has no pause/run/step active (if this is actually possible with the dap).

Additional:
On systems with installed systemd-coredump all created coredumps are taken into its db and the last one can always be inspected with gdb using coredumpclt debug (you can filter for example with pid or executable name, too).
It would be really nice to start this instead of GDB - but I have no clue if this would work, I guess via its --debuger (default is gdb - we'd just set the gdbpath there) and via --debugger-arguments= (to pass the collected startup commands).
That would be useful both locally and for ssh-remote. Maybe a new type "core" with an optional boolean argument coredumpclt?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions