mirror of
https://github.com/Fishwaldo/qt-openzwave.git
synced 2025-03-15 19:41:24 +00:00
testing
This commit is contained in:
parent
4424fcfa08
commit
b6984084a0
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,7 @@ void backtrace(int sig = 0)
|
|||
free(name);
|
||||
}
|
||||
#ifndef HAVE_BP
|
||||
qWarning("Exiting....");
|
||||
exit(-1);
|
||||
#endif
|
||||
}
|
||||
|
@ -72,6 +73,7 @@ void crash() { volatile int* a = (int*)(NULL); *a = 1; }
|
|||
static bool dumpCallback(const google_breakpad::MinidumpDescriptor& descriptor,
|
||||
void* context, bool succeeded) {
|
||||
backtrace();
|
||||
qWarning() << "dumpCallback Succeeded: " << succeeded << " at " << descriptor.path();
|
||||
if (succeeded == true) {
|
||||
std::map<string, string> parameters;
|
||||
std::map<string, string> files;
|
||||
|
|
Loading…
Add table
Reference in a new issue