I have been doing wxPerl which is a Perl GUI interface to the cross-platform wxWidgets for quite some time now. When browsing through wxWidget documentation (http://docs.wxwidgets.org/2.8.4/wx_debugstrategies.html)
begin{quote}
Positive thinking
It is common to blow up the problem in one’s imagination, so that it seems to threaten weeks, months or even years of work. The problem you face may seem insurmountable: but almost never is. Once you have been programming for some time, you will be able to remember similar incidents that threw you into the depths of despair. But remember, you always solved the problem, somehow!
Perseverance is often the key, even though a seemingly trivial problem can take an apparently inordinate amount of time to solve. In the end, you will probably wonder why you worried so much. That’s not to say it isn’t painful at the time. Try not to worry — there are many more important things in life.
end{quote}
It reminds me of words I have read somewhere I cannot recall them precisely. One phrase says “The first time you try something, it seems very difficult. When you continue to do it, you will feel that you won’t be able to do it. However, if you keep on trying, the day will come when you can do it with great ease.” I read this in a Reader’s Digest article about an illiterate Thai lady trying to read and write Thai on own from her daughter’s school books. At the end, she could read Thai newspaper and write letters to her daughter.
Another quote I read somewhere in a programming book says that “Half of a programmer life will be spent on correcting his or her own mistakes.”
If you have a problem to debug, you are half way through. The other half will be done sooner or later and you probably have done it before.