Reputation: 12247
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?
Upvotes: 14
Views: 11046
Reputation: 11096
I was seeing the same weird errors in the console when debugging on Windows using Qt Creator v7. I had to disable the options to "Add Exceptions to Issue View" in the CDB (Microsoft Console Debugger) settings. See the screen shot (snapped after unchecking the boxes, thereby eliminating the issue).
Upvotes: 0
Reputation: 8718
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":
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:
Upvotes: 12