Bug Hunting Strategies?

前端 未结 14 1352
北恋
北恋 2021-02-08 12:00

Let\'s say you have a bug that was found in functional testing of a fairly complex part of the software. It could stem from bad/unexpected data in the database, middle-tier cod

14条回答
  •  你的背包
    2021-02-08 12:58

    My order:

    1. Look at the code of 1-2 most likely causes (chosen based on gut feeling).
    2. If nothing is found, execute the code in debugger (or if not possible, insert debugging/logging statements to the code).
    3. If nothing is found, call somebody else and repeat steps 1 and 2 together with him/her.

提交回复
热议问题