PDA

View Full Version : Eclipse/GDB: How can I see QString content?



GodOfWar
11th March 2009, 13:45
Hi!
I'm using Eclipse to debug Qt Applications but I've got some problem with QStrings.
I've installed the latest Qt libraries ( 4.5.0 ) and the latest Eclipse Integration (1.5) but I cannot see the content of QStrings in GDB.
I've tried to recompile QT manually with the debug option but nothing changed.
It's the same under XP and under Linux.
Is there something missing?

lyuts
12th March 2009, 14:26
I remember seeing the detailed article about this but can't find it. Right now I have another one. Here it is http://silmor.de/46.

GodOfWar
12th March 2009, 15:28
I remember seeing the detailed article about this but can't find it. Right now I have another one. Here it is http://silmor.de/46.

Thank you for your reply. So I suppose my configuration is good but the Qt Eclipse Integration doesn't provide the feature I want. Sigh.

lyuts
13th March 2009, 09:41
I'm not sure, but I think Qt Eclipse integration should handle this. Did you look through its options in eclipse?

GodOfWar
13th March 2009, 12:41
I'm not sure, but I think Qt Eclipse integration should handle this. Did you look through its options in eclipse?

Yes but I couldn't find any option. The only thing I can do is to set the Qt version ( with the respective path ) I want to use.

GodOfWar
15th March 2009, 11:51
Since Eclipse isn't able to properly and comfortably debug Qt Applications, what do you use for that purpose?
I've given a try to QtCreator 1.0 but it lacks of usability in the project management department, so I'm going to move back to KDevelop.

fullmetalcoder
15th March 2009, 13:15
Since Eclipse isn't able to properly and comfortably debug Qt Applications, what do you use for that purpose?
I've given a try to QtCreator 1.0 but it lacks of usability in the project management department, so I'm going to move back to KDevelop.
You could also give a try to Qt4 IDEs (just have a quick look in the Qt Software section and you will find four). I'm not sure about the others but Edyuk can show the content of a QString (you'll need to use the SVN version though).

montylee
16th March 2009, 17:20
Try QDevelop (http://qdevelop.org/)