An exception is in 0x751fc52f, code: 0x71a :, flags = 0x1 (execution cannot be continued) (first chance)

I get an error in the subject line when I debug a Qt application (using Qt Creator 3.6.0)

I donโ€™t get it when I create and run it, but only when I debug it. It seems that because of this, my debugger also plays funky, sometimes it is not included in the code at other times, especially when it restarts Qt Creator.

Moreover, there is no idea where this exception occurs. How can I get this exception and possibly stop the debugger where it occurs?

+5
source share
1 answer

How can I get this exception and possibly stop the debugger where this happens?

Qt Creator can set a special debugging mode for it. Depending on the particular Break on exception debugger:

enter image description here

Remember that Qt Creator uses external debuggers, and specialized IDEs such as Visual Studio or xCode have better control over debugging options. For example, MS Visual Studio recognizes several types of exceptions, including C ++ and many others, but here you have only general โ€œC ++ exceptionsโ€. Types of exceptions handled by the Visual Studio debugger:

enter image description here

+7
source

Source: https://habr.com/ru/post/1243724/


All Articles