Search code examples
c++crash-dumps

Windows C++ App crash


I have a Windows C++ app that crashes on user computers from time to time. I didnt write the app and it doesnt have its own logging. Is there a tool / utility I could use that is able to log some useful information when the application exits (e.g. the file and line number where the crash occurred)? The end user's component does not have Visual Studio.


Solution

  • "the file and line number where the crash occurred"

    That would be possible only if the code were built with debug information included. If your users are prepared to install VC++ Express, they could attach to the process with its debugger after the crash, but without the source they will simply see assembler code, and without debug information that may be of limited help in any case.