Extending from the famous Law of Parsimony, when there are multiple explanation for a bug in a program, the mistake is usually made in the simplest form.
Java Debugging Essential Tip 101 #1: Most of the time its just a typo. Especially when Java is case-sensitive. You think I thought, who confirm I typed it correctly? I learned it thru the hard-way.
Java Debugging Essential Tip 101 #2: If you spend several hours in one direction and you can't solve the problem, you should probably explore the other direction. If its not the server problem, its the client's problem!
Java Debugging Essential Tip 101 #3: Are you sure you fully understood the Exception message? Read again! Read againnnnnnnnnn. Yes, againnnnnnnn.
Java Debugging Essential Tip 101 #4: One error usually masks another. The rest of the codes seems error-free cuz the current one is significant to give you the pain in the neck! Add the missin' brace, the other underlined red codes start to appear!
No, I'm not suffering from Monday Blues. In fact, I pretty much enjoyed working today. But I wouldn't mind having a longer weekend. 4 days left to the weekend! Hoooooosh!
P.S. the so-call tips are just reminders to myself, so don't say i hao lian start to give ppl tips liao hor. I still got alot to learn one.
Java Debugging Essential Tip 101 #1: Most of the time its just a typo. Especially when Java is case-sensitive. You think I thought, who confirm I typed it correctly? I learned it thru the hard-way.
Java Debugging Essential Tip 101 #2: If you spend several hours in one direction and you can't solve the problem, you should probably explore the other direction. If its not the server problem, its the client's problem!
Java Debugging Essential Tip 101 #3: Are you sure you fully understood the Exception message? Read again! Read againnnnnnnnnn. Yes, againnnnnnnn.
Java Debugging Essential Tip 101 #4: One error usually masks another. The rest of the codes seems error-free cuz the current one is significant to give you the pain in the neck! Add the missin' brace, the other underlined red codes start to appear!
No, I'm not suffering from Monday Blues. In fact, I pretty much enjoyed working today. But I wouldn't mind having a longer weekend. 4 days left to the weekend! Hoooooosh!
P.S. the so-call tips are just reminders to myself, so don't say i hao lian start to give ppl tips liao hor. I still got alot to learn one.
Comments