mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-28 10:15:10 +01:00
Allow CrashGenerationClient to request that a dump of the parent process be written.
A=Jim Mathies <jmathies@mozilla.com> R=ted at https://bugzilla.mozilla.org/show_bug.cgi?id=679238 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@883 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
a8d599dc00
commit
06cede988b
13 changed files with 208 additions and 4 deletions
|
|
@ -190,6 +190,12 @@ class ExceptionHandler {
|
|||
static bool WriteMinidump(const wstring &dump_path,
|
||||
MinidumpCallback callback, void* callback_context);
|
||||
|
||||
// Requests a minidump of the server be generated and waits for completion.
|
||||
// This can be used to capture the execution state of parent process
|
||||
// independent of a crash on either side of the connection. Only valid for
|
||||
// out-of-process clients.
|
||||
bool RequestMinidumpForParent();
|
||||
|
||||
// Get the thread ID of the thread requesting the dump (either the exception
|
||||
// thread or any other thread that called WriteMinidump directly). This
|
||||
// may be useful if you want to include additional thread state in your
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue