Browse Source

Merge pull request #14505 from glassez/stacktrace

Look for qbittorrent.pdb in installation directory
adaptive-webui-19844
Vladimir Golovnev 4 years ago committed by GitHub
parent
commit
0bf36ad031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/app/stacktrace_win.h

3
src/app/stacktrace_win.h

@ -24,6 +24,7 @@ @@ -24,6 +24,7 @@
#include <dbghelp.h>
#include <stdio.h>
#include <QCoreApplication>
#include <QDir>
#include <QTextStream>
#ifdef __MINGW32__
@ -256,7 +257,7 @@ const QString straceWin::getBacktrace() @@ -256,7 +257,7 @@ const QString straceWin::getBacktrace()
HANDLE hProcess = GetCurrentProcess();
HANDLE hThread = GetCurrentThread();
SymInitialize(hProcess, NULL, TRUE);
SymInitializeW(hProcess, QCoreApplication::applicationDirPath().toStdWString().c_str(), TRUE);
DWORD64 dwDisplacement;

Loading…
Cancel
Save