PDA

View Full Version : Watch the content for a QStringList / QList with the debugger



qt_developer
12th April 2013, 10:34
Hi all,

Is it possible to watch the content for a QStringList / QList with the debugger?

Kind regards.

pradeepreddyg95
15th April 2013, 14:11
yes, with visual studio you can watch it clearly .

amleto
15th April 2013, 23:55
and qtcreator

qt_developer
16th April 2013, 13:10
I can't see the content of the QStringList. I attach an image to clarify:

http://i49.tinypic.com/11lpq13.jpg

My code:



QStringList stringList;
stringList << "red" << "blue" << "black";


I use Visual Studio 2010.

amleto
17th April 2013, 20:47
http://qt-project.org/wiki/IDE-debug-helpers