Bug Hunting Strategies?

前端 未结 14 1389
北恋
北恋 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:34

    Here's some helpful hints:

    • If you use a language that has generates a stack trace on exceptions start from there.
    • Get a copy of the original data that caused the problem if you can.
    • Use a good debugger.
    • If you have access to one there are things like the ODB for various languages that can be helpful by allowing you to fast forward or reverse through the execution after the event occurs
    • Exclude the impossible and you will be left with the solution!

提交回复
热议问题