Important: Please read the Qt Code of Conduct -

Crash dump generation in QML application (on Windows).

  • Hi,
    I'm trying to use crash dump generation in my QML application.
    To do that I set an exception handler(SetUnhandledExceptionFilter) at the application start up,
    and write a minidump file (MiniDumpWriteDump) in the exception handler.
    It works fine when a crash happens in main() function,
    but when a buggy function is called from QML the application just crashed without calling of my exception handler.

    Please see my test code:

    Any ideas how can I make it work?

Log in to reply