Google ブレークパッドの構成例はありますか? 問題なくビルドできますが、ドキュメントは限られています。クラッシュ レポートの送信先を変更する方法などの例を見たいと思います。
4264 次
1 に答える
2
これはプラットフォーム固有のようです。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);
これは役に立ちますか?
于 2011-04-24T22:32:04.943 に答える