tags:

views:

47

answers:

1

I am starting to ship Qt applications built using MinGW and have a question about debug logs. When using code compiled with MSVC, if my app were to crash a log file or mini-dump could be created that was invaluable when diagnosing the problem. There is even a very cool library called crashrpt that can generate and then email this log file back home automatically.

Will I be blessed with the same debugging logs when an application built using gcc crashes? If not, are there any tools out there that can produce useful logs that I can use to diagnose problems?

+1  A: 

By default applications compiled with GCC do not produce a log when they crash - you will have to do that yourself somehow. On some platforms (not Windows), they may produce a core dump, which can be used for debugging, but this is nothing to do with GCC specifically.

anon
as a side note, I've never seen one of my app built with MSVC produce a log file when crashing -- how to get this behavior?
Gregory Pakosz