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

The ones I really hate are the ones that disappear when run under a debugger, or with higher logging levels. Usually race conditions.



Ah, the dreaded heisenbug


The solution is simple, though: ship with the debugger.


…with the JVM debug port open, so you can unlock your customers when they are stuck.

Even works for software embedded on rockets - After all, network latency to the moon is only 2s, right?


Yep, GDB also regularly splits up TCP network packets, so beware of changing stream packet boundaries




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

Search: