1.不是编译器的问题

2.几乎可以肯定不是内核的问题

3.可能不是库或者框架的问题

4.最有可能是你的错误

 

原文和链接

Four rules of debugging
  1. It is not the compiler’s fault.
  2. It is almost certainly not the kernel’s fault.
  3. It is probably not the library’s/framework’s fault.
  4. It is most probably your fault.

 

http://boredzo.org/blog/archives/2010-11-13/four-rules-of-debugging