31i73 / atom-dbg-gdb

An Atom package - A GDB debugger
https://atom.io/packages/dbg-gdb
MIT License
16 stars 10 forks source link

Make it possible to debug using core dumps #32

Open twinsen92 opened 6 years ago

twinsen92 commented 6 years ago

I made a small patch that allows you use a core dump. The path to the core dump can be defined using the gdb_core option. This can be done better. Specifically, the fragment where I trick the miEmitter by sending a MI-like notification (line 198 in patched file). But you'll be the judge :)

This could be further expanded with a file chooser dialog or something. The continue, stop, and step buttons should be greyed out for a better visual effect, since there is no code flow.