The inferior stopped because it triggered an exception.
-
Hi,
I have built my application using Qt6.4.0 and MSVC2019 successfully. I am facing the runtime exception error as mentioned below-
The inferior stopped because it triggered an exception.
Stopped in thread 0 by: Exception at 0x7ff8fb39ac24, code: 0xc0000005: read access violation at: 0x8, flags=0x0 (first chance).The same application is able run without any exception when I build using Qt5.12.3 and MSVC2017.
Why am I facing different behavior with same code?
Is any setting available in Qt Creator which could bypass the same?
Kindly suggest.Thanks,
-
Hi,
I have built my application using Qt6.4.0 and MSVC2019 successfully. I am facing the runtime exception error as mentioned below-
The inferior stopped because it triggered an exception.
Stopped in thread 0 by: Exception at 0x7ff8fb39ac24, code: 0xc0000005: read access violation at: 0x8, flags=0x0 (first chance).The same application is able run without any exception when I build using Qt5.12.3 and MSVC2017.
Why am I facing different behavior with same code?
Is any setting available in Qt Creator which could bypass the same?
Kindly suggest.Thanks,
@Pradson said in The inferior stopped because it triggered an exception.:
Why am I facing different behavior with same code?
Most probably an issue in your code which does not always lead to a crash.
But like always is such situations: run your app through debugger and check the stack trace after crash.