Hacker News new | past | comments | ask | show | jobs | submit login

I found that I wrote much better code once I ditched the IDE debugger, and stopped writing enterprise code... Perhaps the latter outweighs the former in terms of impact.

Firing up GDB for those rare segfaults which I don't immediately know the cause of (the last 2 lines I wrote, usually) gives me a stack trace very quickly, and lets me dump the values of the variables in that frame. I rarely need more. That wasn't the case back in my enterprise days.

GDB is very powerful, check out its integration with emacs for example (not something I've used).




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

Search: