也许这里的讨论会对你有帮助
http://stackoverflow.com/questions/602138/is-a-debugger-the-mother-of-all-evil+ you're wasting your time because all that time put into debugging can never be reused. It's a one time hack in the sense that if you have another bug later, you'll probably need to start all over again, and
+ you've only solved this one bug, and while it might only occur for this specific scenario that you tested, you most likely did not solve a more general problem. That's because you're not thinking in generality, you're in a debugging mindset, not a general mindset.