gogoprog / atom-gdb

Atom plugin to set gdb breakpoints in .gdbinit file and run an external debugger as QtCreator or ddd
MIT License
10 stars 1 forks source link

Additional features: #8

Closed NuclearCookie closed 7 years ago

NuclearCookie commented 9 years ago

A "Stop debugging" ( Shift + f5 ) would be nice. Also, when pressing f5, it launches a new debugging session every time, even if you are already debugging. Could you prevent this from happening? Or stop the current debugging session and start a new one?

gogoprog commented 9 years ago

That's a good idea but the only thing I could do is to kill the external debugger process which won't feel "clean".

So I don't really know, what do you think?

NuclearCookie commented 9 years ago

I'm not sure if it won't feel clean. If you can store the pid of the program you spawned, and ask to shut it down ( SIGQUIT? ).. As for preventing to launch a new instance when you're already debugging, I think this can achieved by keeping track of the pids as well