Ask HN: How do you get a grip on phantom errors?
1–4 of 4 posts
Re: Ask HN: How do you get a grip on phantom errors?
#2The main key is to reproduce the errors on your system, so just try a bunch of wacky things like different screen resolutions, memory constraints, database configurations, etc. Continually look at the code and brainstorm what might cause that issue -- there are a limited number of code paths -- and try to cause the constraints in your code. It's definitely very specific to the individual situation.
Re: Ask HN: How do you get a grip on phantom errors?
#3Re: Ask HN: How do you get a grip on phantom errors?
#4What you could do, is figure out the IP address of the user (that shouldn't be too hard), then go back into the log files and check all their actions one by one rebuilding the state up to the moment of the bugs occurrence.
Chances are that you'll be able to reproduce it that way, even if the user is clueless.
This little trick saved my ass a couple of times.