Solved Strange first chance exception in debug MSVC 2017
-
Hello!
I'm using Qt Creator 4.8.2 open-source (Qt version 5.11.3) with MSVC 2017 compiler and getting a first chance exception when the application starts in debug mode. When I start the application in release mode it works fine.The inferior stopped because it triggered an exception.
Stopped in thread 0 by: Exception at 0x7ffa1efde78a, code: 0xc0000008: , flags=0x0 (first chance).I configured Qt according to the answer from here but that does not help.
I get that exception even if I create default Qt Widgets Application.
-
@Flone hi Flone, check your debugger settings, should be something like this:
-
@KroMignon yep.
-
@Flone You can try to check Ignore first chance access violations, but I don't known if it really helps.
I've used Qt Creator 4.8.2 with Qt 5.12.0 and MSVC 2015 without troubles.
Can't figure out why you have such troubles. -
@KroMignon hm, I will update Qt to 5.12.0 and see if it helps and then maybe change MSVC to 2015. Thanks for the info! I will write about the result later.
-
@KroMignon changed Qt to 5.12.0 and it helped!