Get stack trace on crash on Windows without installing Visual Studio? (C ++)

I have a C ++ application that crashes on the computer of some person on the other side of the world. For me there is no way to simulate it or get the same computer. The person is not a developer, so I can not ask him to install Visual Studio or something like that. I have pretty deep debug logs, but they haven’t shown anything useful.

Is there a tool that can generate an application stack trace at the time of a crash? Such a thing is available inside OSX, but it seems that Windows does not have it.

+7
c ++ debugging stack-trace visual-studio crash-reports
source share
2 answers

You can use procdump. It can be configured as a debugger to automatically dump for process crashes.

Procdump is part of the Sysinternal tools and can be found at:

http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx

Matching Switches:

Create a dump to freeze the application:

Write a mini-dump for a process called "hang.exe" when one of them Windows stops responding for more than 5 seconds:

C:\>procdump -h hang.exe hungwindow.dmp 

Automatic dumping for emergency applications:

Register yourself as a Just-in-Time debugger (AeDebug). Makes complete dumps in C: \ dumps.

 C:\>procdump -ma -ic:\dumps 
+3
source share

Use google lib which allows debugging minidump for msvc. CrashRpt

+1
source share

All Articles