Bug 240875 - Show variable contents on mouse-over in tree view
Summary: Show variable contents on mouse-over in tree view
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: CPP Debugger (show other bugs)
Version: 4.0.0
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: 4.0.1
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-06 11:24 UTC by Andreas Cord-Landwehr
Modified: 2012-01-15 10:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.3
Sentry Crash Report:


Attachments
Picture with many strings replaced by dots (19.66 KB, image/jpeg)
2010-06-06 18:56 UTC, Andreas Cord-Landwehr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Cord-Landwehr 2010-06-06 11:24:40 UTC
Version:           4.0.0 (using KDE 4.4.3) 
OS:                Linux

On debugging for two long variable news/values I get "{...}" or "..." displayed. It would be nice if I could get the content of these fields simply by a mouse over. (like title tags in HTML).
Otherwise I need to adjust the column widths before getting any information.

Reproducible: Didn't try
Comment 1 Niko Sams 2010-06-06 11:34:25 UTC
what type does the variable have?
can you expand the tree?
Comment 2 Andreas Cord-Landwehr 2010-06-06 18:56:02 UTC
Created attachment 47746 [details]
Picture with many strings replaced by dots

Hi, it is not only the variable content, but more the name. Please note this picture.

With standard configs you cannot see anything. At least an information on mouse-over which variable names these "..." points are, would be great. 

Answering you question, eg. the last "..." denotes the second part of a pair, consisting of two vectors. But as you can see, by default you see nothing ;)
Comment 3 Andreas Pakulat 2010-06-06 19:09:54 UTC
You can resize the columns to see more of the variables by simply dragging the small handle between them. Having tooltips should be as easy as setting a tooltip role on the items.

As far as the value goes, for that somebody needs to write a python script for gdb that knows how the datatypes are implemented and tells gdb how they can be printed. (see http://tromey.com/blog/?p=524 and http://sourceware.org/gdb/current/onlinedocs/gdb.html#SEC256)
Comment 4 Niko Sams 2012-01-15 10:41:17 UTC
Git commit 3589dda8f20a0c0562b6c88dadd81a9531144851 by Niko Sams.
Committed on 14/01/2012 at 19:08.
Pushed by nsams into branch '1.3'.

show tooltip for variable names and values to be able to view lengthier items
FIXED-IN: 4.3

M  +4    -1    debugger/variable/variablecollection.cpp

http://commits.kde.org/kdevplatform/3589dda8f20a0c0562b6c88dadd81a9531144851