Witold E Wolski wrote:
> I am running a fairly new Ubuntu linux version with Qt crator installed from 
> deb package (version Qt Creator 2.4.1)
> 
> I would like to inspect stl container objects in the debug view i.e. std::map.
> 
> http://doc.qt.digia.com/qtcreator-2.3/creator-debugging-helpers.html
> reading this it seams that on a new linux distro this should work out of the 
> box. But in my case it does not.
> The only thing I see is a message: <unavailable synchronous data>
> 
>  What is the problem I am running into. Help would be greatly appreciated.

Seeing the debugger log (contents of right pane of Windows -> Views ->
Debugger log) is often helpful in such cases.

My current suspicion is that your compiler is gcc >= 4.6 which seemingly
changed object layout for std::map. There is a patch from March making
the Qt Creator dumpers work with both versions. That was post-2.4, though.

If that's the problem, using a recent version of Qt Creator (2.6 was just
released, but 2.5.x has that fix, too) should work.

If it doesn't, it's a different issue, and I'd really need to see the full
debugger log and the definition of the type you want to display inside
the map (just member variables are ok, I don't need functions etc).
Private mail is ok in that case.

Best regards,
Andre'
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to