Jump to content

Windows/Getting a Backtrace with DrKonqi: Difference between revisions

From KDE Community Wiki
Created page with "With the advent of the KDE 4.7.0 release, it is possible to produce usable backtraces for Windows."
 
Ochurlaud (talk | contribs)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
With the advent of the KDE 4.7.0 release, it is possible to produce usable backtraces for Windows.
=== Introduction ===
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):
<pre>C:\Program Files (x86)\KDE-4.7.0> set _NT_SYMBOL_PATH="C:\Program Files (x86)\KDE-4.7.0"</pre>
* try to regenerate the crash by running the program from inside this console window:<pre>C:\Program Files (x86)\KDE-4.7.0> bin\kmymoney.exe</pre>
* copy the backtrace from DrKonqi into a file (save as a file currently crashes drkonqi itself) and append it to the bug report.
[[Category:MS Windows]]

Latest revision as of 14:58, 18 March 2016

Introduction

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.