Four rules of debugging

2010-11-13 21:13:16 UTC

  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.

2 Responses to “Four rules of debugging”

  1. Nikita Zhuk Says:

    5. It can be debugger’s fault if you’re using GDB in Xcode.

    Don’t trust GDB. LLDB will make this world a better place.

  2. Nobu Says:

    Wish I could trust myself more.

Leave a Reply

Do not delete the second sentence.