It is imperative that you do not break the keyboard.
- Explain the problem in a letter to your sister
Or your two year old son. Someone who would not understand the word if you did not explain it very clearly. You do not need to send email, you just need to be sure that you understand it inside out. You are surprised at how many times just repeating a problem suddenly makes it obvious to you where you did wrong. This is a good way to find out what your assumptions were about the problem, and how they may not always be correct.
* This link is JaredPar's excellent answer to another SO question.
At this point, you have already "emailed" the family pet, so you know that I hope you have covered all the silly aspects, it's time to talk with a real person. Perhaps in the past they experienced some obscure thing that reminds them of this situation, and they will definitely have a different perspective. Try to make sure that you understand what the problem is, not what you think. You do not want to prejudice them. You can and should talk about what they tried, and explain why you think that the problem is in this area (you are probably right), but you do not want to cover your mind with their sentences, even if they do not seem to be right.
By this time, I hope you will be less cruel, and you should be armed with new ideas. Start by re-checking the error. A simple step, but I was upset for hours on the error that was in our test script, and not in our code. Once you have checked the error again, start at the top. Check ALL. Place a breakpoint at the last point at which you are 100% sure, and then work your way forward until you find that the result is again broken. This is a huge success, because now you have, I hope, a smaller block of code for investigation. Then, if necessary, pull a colleague to look at the actual current code.
Devinb
source share