Purposefully debugging without using a debugger?

后端 未结 20 1831
春和景丽
春和景丽 2021-02-01 08:49

In chapter 5 of \"The Practice of Programming\" Brian Kernighan and Rob Pike write:

As a personal choice, we tend not to use debuggers beyond getting a st

20条回答
  •  一整个雨季
    2021-02-01 09:31

    Our software runs on Linux/Solaris/HPUX/AIX/FreeBSD/MacOS, and it seems very hard to get debuggers for some of those platforms, and much easier to just add some extra tracing code.

提交回复
热议问题