How do you reproduce bugs that occur sporadically?

前端 未结 28 1198
离开以前
离开以前 2021-01-30 19:43

We have a bug in our application that does not occur every time and therefore we don\'t know its \"logic\". I don\'t even get it reproduced in 100 times today.

Disclaime

28条回答
  •  囚心锁ツ
    2021-01-30 20:31

    Along with a lot of patience, a quiet prayer & cursing you would need:

    • a good mechanism for logging the user actions
    • a good mechanism for gathering the data state when the user performs some actions (state in application, database etc.)
    • Check the server environment (e.g. an anti-virus software running at a particular time etc.) & record the times of the error & see if you can find any trends
    • some more prayers & cursing...

    HTH.

提交回复
热议问题