[Qt-creator] Fwd: Debugging lists
Fabrice Feray
fabrice at feray.com
Mon May 18 15:47:43 CEST 2009
Derived (actual) type can be accessed through CLI, which can be
accessed through MI. So I don't see what you mean.
Any idea?
Thanks,
Fab
Début du message réexpédié :
>
> On Sat, May 16, 2009 at 02:57:50PM +0200, Fabrice Feray wrote:
>> Hi,
>>
>> I use lists with pointers to abstract base class to gather in the
>> list
>> different type of objects that share the same abstract base class.
>>
>> In the debugger, I have only access to the base class information of
>> each object. But I would like to access information beyond the base
>> class: I would like to downcast them so as have access to full
>> information.
>>
>> How can I do that?
>
> Tell the gdb folks to provide full type information also when using
> the
> MI frontend ;-}
>
> Are the objects derived from QObject? In this case we might find a
> workaround using the QObject meta information.
>
> Andre'
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090518/96eebe2c/attachment.html
More information about the Qt-creator-old
mailing list