码迷,mamicode.com
首页 > 其他好文 > 详细

怎样高效地报告Bug

时间:2018-02-17 19:22:51      阅读:190      评论:0      收藏:0      [点我收藏+]

标签:let   str   spec   toms   can   wrong   描述   ram   问题   

Summary

  • The first aim of a bug report is to let the programmer see the failure with their own eyes. If you can‘t be with them to make it fail in front of them, give them detailed instructions so that they can make it fail for themselves.
  • In case the first aim doesn‘t succeed, and the programmer can‘t see it failing themselves, the second aim of a bug report is to describe what went wrong. Describe everything in detail. State what you saw, and also state what you expected to see. Write down the error messages, especially if they have numbers in.
  • When your computer does something unexpected, freeze. Do nothing until you‘re calm, and don‘t do anything that you think might be dangerous.
  • By all means try to diagnose the fault yourself if you think you can, but if you do, you should still report the symptoms as well.
  • Be ready to provide extra information if the programmer needs it. If they didn‘t need it, they wouldn‘t be asking for it. They aren‘t being deliberately awkward. Have version numbers at your fingertips, because they will probably be needed.
  • Write clearly. Say what you mean, and make sure it can‘t be misinterpreted.
  • Above all, be precise. Programmers like precision.

  作者想要传授的技巧简单说来就只有“详细”两个字,我们能够准确地描述出问题所在,程序开发者们才能有更多的精力去解决Bug而不是寻找Bug。

 

  https://www.chiark.greenend.org.uk/~sgtatham/bugs.html

怎样高效地报告Bug

标签:let   str   spec   toms   can   wrong   描述   ram   问题   

原文地址:https://www.cnblogs.com/AbsolutelyPerfect/p/8452075.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!