[英]Google Breakpad examples
有沒有人有關於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);
這有幫助嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.