Commit e1aafd8e authored by Jan Möbius's avatar Jan Möbius
Browse files

Write windows crash dump to config directory crash dump file

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent b0770a8b
......@@ -89,13 +89,19 @@
#ifdef WIN32
#include "StackWalker/StackWalker.hh"
#include <fstream>
class StackWalkerToConsole : public StackWalker
virtual void OnOutput(LPCSTR szText)
// Writes crash dump to .OpenFlipper config directory
std::ofstream crashFile;
QString crashName = OpenFlipper::Options::configDirStr() + QDir::separator() + "CrashDump.txt";,std::ios::out | std::ios::app);
crashFile << szText;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment