PATCH: dbg won't show nested values
John Birch
jbb at kdevelop.org
Thu Jan 25 10:09:59 UTC 2001
Hi,
The data passed into gdb when expanding some nested values (on the watch tab)
was incorrect, supplying some of the intermediate placeholder types rather
than the actual member names. ie "this.<KMainWindow>.<QMainWindow>.d" rather
than "this.d".
However, this bug is strange as it should not be working properly in previous
versions! Before applying, can you test to see if this is a problem on your
machine, because it may be caused by my cvs snapshot of gdb. :(
The easiest way to test is to create a normal app and place a breakpoint on
the constructor of the derived app class. Then expand "this" variable, then
<KMainWindow> then <QMainWindow> then <QObject> then senderObjects and its
children. Any (all) of these may fail and display some odd looking gdb
message. If they do, then this patch should fix the problems.
This also cleans up a display problem with some classes that look like
QStrings, but arn't, that causes the dbg to ask for a displayable string that
doesn't exist from gdb.
Thanks,
jbb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbg.diff.gz
Type: application/x-gzip
Size: 1026 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20010125/a31a1f3e/attachment.gz>
More information about the KDevelop-devel
mailing list