[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GUD tooltip display
From: |
Eli Zaretskii |
Subject: |
GUD tooltip display |
Date: |
Wed, 28 Dec 2005 22:51:09 +0200 |
Could gdb-ui.el be extended to display class members in a tooltip?
Currently, when the mouse pointer is above a class name, the tooltip
says something like "(Class foo *) 0x12345678". Could it instead
display the result of "ptype foo" or "ptype *foo? It seems like other
visual debuggers do that.
Also, for simple scalar variables, the tooltip says "$1 = 12345".
Isn't it better to say "foo = 12345" (where `foo' is the variable's
name)? Convenience variables such as $1 are for GDB command-line
junkies, visually oriented (and command-line challenged) users might
become confused by the $1 thingy; OTOH, displaying the variable's name
could help if, e.g., the pointer is on the wrong token, or if the
expression under the pointer is not well defined or obvious.
WDYT?
- GUD tooltip display,
Eli Zaretskii <=