调试程序的四个法则

来源:互联网 发布:itx机箱 知乎 编辑:程序博客网 时间:2024/04/29 20:05
 

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

原创粉丝点击