7
有没有人有谷歌breakpad配置的任何例子?我可以很好地构建它,但是,有限的文档。我想查看一些示例,例如如何修改发送崩溃报告的位置。谷歌Breakpad的例子
有没有人有谷歌breakpad配置的任何例子?我可以很好地构建它,但是,有限的文档。我想查看一些示例,例如如何修改发送崩溃报告的位置。谷歌Breakpad的例子
这似乎是平台特定的。在Windows上,您可以在客户端\ 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);
这有帮助吗?
这与App Engine有什么关系? – 2011-04-18 05:58:10
任何人的建议? – chadb 2011-04-18 18:35:49
你有没有想过这个? – 2011-06-03 17:51:13