Bug 60168

Summary: implement Tooltip variable display
Product: [Applications] kdevelop Reporter: Jon Smirl <jonsmirl>
Component: CPP DebuggerAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: wishlist CC: frans.englich, leonp, trapni
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jon Smirl 2003-06-21 07:28:13 UTC
Version:           Gideon CVS - 6/21/03 (using KDE KDE 3.1)
Installed from:    RedHat RPMs

When the debugger is active, implement tooltips in the editor window that display the value of the variable under the mouse cursor. This is a very handy feature implemented by many other debuggers.
Comment 1 Jon Smirl 2003-11-24 20:58:41 UTC
I know Kate is missing the hooks to implement this right. So I just added this bug: http://bugs.kde.org/show_bug.cgi?id=68962

But meanwhile, I could make a selection of text in the edit window. Then on hover KDevelop could feed the selected text into gdb and see if it is a variable. If it is, do a tool tip with the value.

This is a painful missing feature when debugging large programs with lots of variables. Some structures in Xfree have 500 members, it is a lot of work visually scanning those for the appropriate variable. Sometimes I am finding it easier to add a printf and recompile.
Comment 2 Jon Smirl 2003-12-01 16:29:20 UTC
------- Additional Comments From rodda@kde.org  2003-12-01 16:08 -------
Actually, it would seem to me that this is possible using KTextEditor::TextHintInterface, or am I 
mistaken? I'm happy to help / answer any questions about it / fix bugs etc.


http://bugs.kde.org/show_bug.cgi?id=68962    
Comment 3 Amilcar do Carmo Lucas 2004-03-04 01:47:35 UTC
*** Bug 76706 has been marked as a duplicate of this bug. ***
Comment 4 Miguel Tadeu 2004-03-11 18:40:03 UTC
And as an add-on, there could be a config file describing how to show the value of a class...like if i have a QPoint the tooltip would display "QPoint( 125, 340 )".
Comment 5 Jonathan Solomon 2004-03-29 19:31:59 UTC
I was thinking the same exact thing yesterday Miguel, but that really should be a separate wish item.
Comment 6 Miguel Tadeu 2004-04-10 15:31:28 UTC
Don't know Jonathan, just seemed logic to have a config file that defines how to display all types( basic and complex ).
Comment 7 bastian voigt 2004-12-01 16:33:46 UTC
pleasepleaseplease implement this :-)
Comment 8 Jens Dagerbo 2004-12-02 09:52:28 UTC
Still not possible. We need support from the editor. Maybe in KDE-4.
Comment 9 Michael Dean 2004-12-02 22:34:50 UTC
If someone would be kind enough to point me in the right direction as to where this needs to be implemented, I would gladly do so.  I have not yet contributed to kde, but would like to.  I just need someone to point me in the right direction.  KDE consists of an enormous amount of source to go through without a "tour guide."  Please help me help you.
Comment 10 Amilcar do Carmo Lucas 2004-12-06 00:18:44 UTC
1. Subscribe yourself to kdevelop-devel mailing list using the KDevelop website.

2. Subscribe to kate-devel mailing list.
Comment 11 Amilcar do Carmo Lucas 2005-07-28 13:47:26 UTC
*** Bug 109702 has been marked as a duplicate of this bug. ***
Comment 12 Krystof Zacek 2006-04-06 11:44:21 UTC
You can get inspired by Gnome's Anjuta IDE. The debugger variable tooltips do work there just fine (sometimes :-)
Comment 13 Andreas Pakulat 2008-06-29 15:30:24 UTC
good news: This is (almost) fixed in KDevelop4. Its still buggy afaik, but its working.