Debugging with cdb
I've setup win7 + msvs 2010 ultimate + windows SDK + windows DDK (to get cdb.exe) + Qt 4.8.4 + QtCreator 2.6.1 (MSVS). I've set up the toolchain and pointed the creator to cdb.
The problem is that the is no user-friendly information in watch window for internal Qt's types. As to debug helpers: they are enabled and IDE configuration dialog says "not needed" for QML observer, QML debugger and GDB helper, which I suspect to be reasonable.
So is it possible to have nice view of Qt's types?
[moved to tools, koahnig]
Well, by now QString is shown ok, but, say, QDir is not. Is it ok?
Are you using a debug build of Qt? Release builds hide quite a bit of internal structure which makes it impossible to watch datatypes in the debugger (basically all containing a d-pointer).
Would updating GDB help to get more information out from Qt types? According this http://stackoverflow.com/questions/4720591/how-do-i-make-qt-creators-debugger-show-the-contents-of-c-vectors-in-os-x
I tried it out, but when starting debuggin I get error from gdb: GDB: Failed to set controlling terminal: Operation not supported on socket\n
Any ideas what's wrong?
You can safely ignore that message. Gdb does not like something about the way it is interacted with. The same happens in many other IDE that embed gdb.
I am having the same issue. Qt types don't display properly while debugging in Qt Creator. Any solution?
win 7 SDK (msvc 2010 + CDB)
Qt Creator 2.8.1