Details
Description
To reproduce this, create a skeleton QMainWindow project using Qt Addin v 1.1.4/1.1.5 or 1.1.6 and to the constructor of the main window class, add something like this:-
qDebug() << "Set a breakpoint on this line and launch the debugger,";
qDebug() << "then make sure the 'Locals' and 'Auto' debugger windows are open in VS 2008.";
qDebug() << "As soon as the debugger reaches the breakpoint, it enters a deadlock.";
QSet<QString> m_qSet;
Put a break point on the second debug line and then launch the application in the debugger. Visual Studio will freeze and report a serious problem has occurred which should be reported blah blah blah.
After uninstalling the Qt Addin, the problem disappears. This would therefore appear to be some problem with introspection of stack allocated variables (locals/autos) of specific types (in this case QSet<QString> with the Addin.
Attachments
Issue Links
- replaces
-
QTVSADDINBUG-246 Visual Studio crashes when a QSet<QString> is created on the stack in the constructor of a class
-
- Closed
-