MCPcopy Create free account
hub / github.com/buzzySmile/qBreakpad / MDCallback

Function MDCallback

handler/BreakpadHandler.cpp:72–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 void *context, bool success)
71#elif defined(Q_OS_WIN32)
72bool MDCallback(const wchar_t* _dump_dir,
73 const wchar_t* _minidump_id,
74 void* context,
75 EXCEPTION_POINTERS* exinfo,
76 MDRawAssertionInfo* assertion,
77 bool success)
78#endif
79{
80 Q_UNUSED(_dump_dir);
81 Q_UNUSED(_minidump_id);
82 Q_UNUSED(context);
83#if defined(Q_OS_WIN32)
84 Q_UNUSED(assertion);
85 Q_UNUSED(exinfo);
86#endif
87
88 /*
89 NO STACK USE, NO HEAP USE THERE !!!
90 Creating QString's, using qDebug, etc. - everything is crash-unfriendly.
91 */
92
93 QProcess::startDetached(reporterFullFileName_);
94 return success;
95}
96
97google_breakpad::ExceptionHandler* GlobalHandler::handler_ = 0;
98GlobalHandler* GlobalHandler::instance_ = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected