Information is key to resolving problems. There is no substitute. That is why we use debuggers and printing or logging features: to find out the state of the program at a particular instant.
On the other hand, unrelated information stalls the process, overwhelms the mind. Here are some tips for asking a good question.
I cannot stress this enough. We cannot possibly help you if you simply post a thread, copy and paste your whole code and say "it has errors what's wrong with it?". Keep this in mind:
1. Explain to us what your code DOES (or what it's supposed to do).
2. Explain to us what exactly the error is. What kind of error? Or is it just not doing what you want?
3. Remember that you know a lot more about your code than we do. Don't assume we know just what it does.
ONLY POST THE PART OF YOUR CODE THAT HAS PROBLEMS!
PLEASE do not post your entire code in a message. And if you have to use 2 messages that's a good indication that you're going to annoy people. Only post the part of your code where you have problems. That's it. Just a very small piece of it. It's not hard. Just find the part you think doesn't work and post that. WE DON'T WANT TO SEE YOUR ENTIRE CODE. If you post the entire code it's going to take us a lot longer to find the problem.
If you get an error on a certain LINE, tell us what's on that line and what's on the few lines above it!
It's not too helpful when you mention an error on a certain line but don't tell us what code is on that line. Because errors can sometimes be caused by lines of code above the one the error is mentioned on, please post a few lines above that line.
ONLY YOU KNOW WHAT "DOESN'T WORK" MEANS.
Please tell us what your code is supposed to do and why it "doesn't work". Or if you don't feel like explaining what the whole code is, at least tell us what the offending code is supposed to do. When you come in and say "it doesn't work" or just "it has errors", that means NOTHING. There could be a million things wrong and no one will know where to look.
REMEMBER, WHEN PEOPLE HELP YOU, THEY ARE DOING YOU A FAVOR
Regardless of how big your ego is, it is NOT someone else's privilege to debug Your code. It is not their privilege to have them help you. It is YOURS. Remember that when people help you they are doing YOU a favor. You are not doing them a favor by letting them see your incredible application. Be patient, help people out by posting good descriptions of what you need help with, and not snapping at people with garbage such as "if you aren't going to help don't waste my time replying".