We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
你没有提到你的平台,但如果是Windows,你可以看看微软的 Windows 错误报告。
这是“应用程序 XYZ 已崩溃。您想向 Microsoft 发送错误报告吗?” 东西。 如果您注册 WER,您就可以访问应用程序的错误报告(基本上是转储文件)。
You don't mention your platform, but if it's Windows, you could take a look at Microsoft's Windows Error Reporting.
This is the "Application XYZ has crashed. Do you want to send an error report to Microsoft?" stuff. If you sign up for WER, you get access to the error reports (dump files, basically) for your apps.
您可以使用SetUnhandledExceptionFilter和MiniDumpWriteDump函数自行进行错误报告。
You can use SetUnhandledExceptionFilter and MiniDumpWriteDump functions to make error reporting by yourself.
如果您的应用程序适用于 Windows,那么 XCrashReport 可能是一个有趣的解决方案。 它看起来很小、免费、易于集成、配置和修改(如果您需要一些调整)。
If your application is for Windows, then XCrashReport might be an interesting solution. It seems to be small, free, easy to integrate, configure and modify if you need some tweaking.