Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exception at 0x751fc52f, code: 0x71a: , flags=0x1 (execution cannot be continued) (first chance)

Tags:

c++

qt

qt-creator

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

I don't get it when I build and run but only when I debug it. It seems like because of this, my debugger is acting funky as well, sometime it doesn't step into the code, other time it does, specially when restart Qt Creator.

More importantly there is no clue where this exception is happening. How can i get to this exception and possibly have the debugger stop where it is occurring?

like image 527
zar Avatar asked Feb 24 '16 03:02

zar


1 Answers

How can i get to this exception and possibly have the debugger stop where it is occurring?

Qt Creator can set the specific debug mode for that. Depending on specific debugger "Break on exception":

enter image description here

Mind that Qt Creator uses external debuggers and specialized IDEs like Visual Studio or xCode have better control over debug options. MS Visual Studio, for instance, recognizes several types of exceptions including C++ and many more but here you have just general 'C++ exceptions'. Visual Studio debugger-handled types of exceptions:

enter image description here

like image 161
Alexander V Avatar answered Nov 08 '22 14:11

Alexander V