第 9 章 代码分析9.1 死锁检测9.2 竞争检测9.3 性能追踪9.4 代码测试9.5 基准测试9.6 运行时统计量9.7 语言服务协议每个人都知道调试的难度是编写程序的两倍。如果你在编码时尽可能聪明,这样的程序你怎么调试得了呢?Everyone knows that debugging is twice as hard as writing a program in the first place. So if you are as clever as you can be when you write it, how will you ever debug it?-- Brian Kernighan