问题描述
我注意到很多桌面应用程序(例如 Firefox、Google Chrome、VS 2008 等)都有一个崩溃转储,可以发送给软件供应商进行分析.我打算自己创建这样的故障转储.我在做.Net
I notice that a lot of desktop apps ( such as Firefox, Google Chrome, VS 2008 etc) have a crash dump that can be sent to the software vendors for analysis purpose. I am intended to create such a crash dump myself. I am doing .Net
在收集哪些数据时,最佳做法是什么,以便收集的数据足以重现和修复错误,仅此而已?
What are the best practices when comes to what data to collect, so that the data collected is just enough to reproduce and fix the bugs, but nothing more?
推荐答案
我收集异常名称、堆栈跟踪并询问客户在崩溃时他在做什么.通常这就足够了.
I collect exception name, stack trace and ask customer what he was doing at time of crash. Usually that is enough.
此外,您可以在 Microsoft 建立帐户,以使用他们的 Windows 错误报告.
Additionally, you can establish account with Microsoft to get debugging data of your application crashes with their Windows Error Reporting.
这篇关于做什么:软件崩溃时收集信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!