Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can do that with a freaking C++ and gdb. As long as you have debug symbols.

Never mind pretty much all other languages.



Locally, sure. Can you do it to a C++ binary deployed at a customer?


Of course you can. You can attach gdbserver to a running process on the remote machine and connect to it via your local gdb.

Edit: Plus, if there was a crash, you can generally get a coredump, so you can inspect the exact state the program was in, again, with GDB.





Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: