Projects/KDE on Windows/Getting a Backtrace with DrKonqi


With the advent of the KDE 4.7.0 release, it is possible to produce usable backtraces for Windows after experiencing a crash in a KDE application. At the moment, the following description is only valid for the Microsoft compiler, if somebody could extend this to the MinGW compilers, I would be very glad.

Step by step

This assumes you have installed KDE with the kdewin-installer, selected the msvc2010 compiler and experience a crash in one of the KDE applications.

  • rerun the installer and install all debug packages for (binary) packages you installed.
  • for msvc2010 (Visual Studio compiler): set the environment variable _NT_SYMBOL_PATH to the location of your KDE installation. To do this, open a cmd.exe console window and type the following (replace "C:\Program Files (x86)\KDE-4.7.0" with the location where you installed KDE):
C:\Program Files (x86)\KDE-4.7.0> set _NT_SYMBOL_PATH="C:\Program Files (x86)\KDE-4.7.0"
  • try to regenerate the crash by running the program from inside this console window:
    C:\Program Files (x86)\KDE-4.7.0> bin\kmymoney.exe
  • copy the backtrace from DrKonqi into a file (save as a file currently crashes drkonqi itself) and append it to the bug report.

This page was last edited on 11 March 2016, at 14:13. Content is available under Creative Commons License SA 4.0 unless otherwise noted.