打开崩溃报告
Qt Creator Sentry使用Google Breakpad收集有关崩溃的信息,并将其发送至Sentry进行处理。Breakpad 可能会捕获崩溃进程内存中的任意内容,包括用户敏感信息、URL 和用户信任的其他内容 。不过,崩溃报告仅用于修复软件错误。Qt Creator
要打开崩溃报告,请
- 转到首选项>Environment >System 。
- 选择Enable crash reporting 。
如果崩溃报告未超过 Sentry 为接受崩溃报告而设置的文件大小限制,则会自动发送。您不会收到关于发送报告或发送成功或失败的通知。
清除本地崩溃报告
Qt Creator 将崩溃报告存储在计算机上的以下目录中:
- 在 Windows 上
%APPDATA%\QtProject\qtcreator\crashpad_reports
- 在 Linux 和 macOS 上:
$HOME/.config/QtProject/qtcreator/crashpad_reports
要释放崩溃报告在计算机上保留的磁盘空间,请选择Clear Local Crash Reports 。您可以在按钮旁边看到崩溃报告的大小。
选择? 查看有关 Breakpad 和安全策略的更多信息。
注意: 报告崩溃的最佳方法是创建错误报告,并粘贴相应的堆栈跟踪。
另请参阅 联系 Qt。
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.