cha*_*adb 8 c++ crash-reports crash-dumps google-breakpad
有没有人有任何谷歌破解配置的例子?我可以很好地构建它,但是,文档有限.我想看一些示例,例如如何修改崩溃报告发送到的位置.
这似乎是特定于平台的。在 Windows 上,您可以在 client\windows\sender\crash_report_sender.h 中查看以下函数(特别要注意“url”参数)。
// Sends the specified minidump file, along with the map of
// name value pairs, as a multipart POST request to the given URL.
// Parameter names must contain only printable ASCII characters,
// and may not contain a quote (") character.
// Only HTTP(S) URLs are currently supported. The return value indicates
// the result of the operation (see above for possible results).
// If report_code is non-NULL and the report is sent successfully (that is,
// the return value is RESULT_SUCCEEDED), a code uniquely identifying the
// report will be returned in report_code.
// (Otherwise, report_code will be unchanged.)
ReportResult SendCrashReport(const wstring &url,
const map<wstring, wstring> ¶meters,
const wstring &dump_file_name,
wstring *report_code);
Run Code Online (Sandbox Code Playgroud)
这有帮助吗?
| 归档时间: |
|
| 查看次数: |
3704 次 |
| 最近记录: |