Summary: | implement Tooltip variable display | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Jon Smirl <jonsmirl> |
Component: | CPP Debugger | Assignee: | 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
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. ------- 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 *** Bug 76706 has been marked as a duplicate of this bug. *** 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 )". I was thinking the same exact thing yesterday Miguel, but that really should be a separate wish item. Don't know Jonathan, just seemed logic to have a config file that defines how to display all types( basic and complex ). pleasepleaseplease implement this :-) Still not possible. We need support from the editor. Maybe in KDE-4. 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. 1. Subscribe yourself to kdevelop-devel mailing list using the KDevelop website. 2. Subscribe to kate-devel mailing list. *** Bug 109702 has been marked as a duplicate of this bug. *** You can get inspired by Gnome's Anjuta IDE. The debugger variable tooltips do work there just fine (sometimes :-) good news: This is (almost) fixed in KDevelop4. Its still buggy afaik, but its working. |