Purposefully debugging without using a debugger?

后端 未结 20 1835
春和景丽
春和景丽 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条回答
  •  梦毁少年i
    2021-02-01 09:45

    Some bugs may show themselves only in release mode therefore using a debugger may not be possible. In those situations, i often use printf :).

提交回复
热议问题