[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.cdt] Re: Debug: Variable value on mouse-over?
|
- From: aegges@xxxxxx (Axel Mueller)
- Date: Fri, 17 Jul 2009 11:50:17 +0000 (UTC)
- Newsgroups: eclipse.tools.cdt
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Toralf Lund wrote:
I seem to remember having seen variable values in "tooltips" when
debugging with Eclipse. That is, when I hovered the mouse over a variable
reference while displaying a C/C++ function being executed in the editor
view, the current value of the variable would be displayed (like I'm used
to from other debug GUIs) in that yellow popup you're all familiar with.
However, all I get when I do this now, is the variable declaration.
What's supposed to happen? Was I dreaming when I thought I saw the
variable value?
Check your preference settings in Windows->Preferences->C++->Editor->Hovers
I would suggest (just my personal opinion):
Combined Hover => Alt
Debugger => no key defined
Source => Ctrl
Then you can hover with your mouse over a variable during debugging and a
tooltip will show its value. If you press Ctrl and then hover you will see
the source code (i.e. definition of the variable etc.). If you can use
Alt+mouse the type of hover depends on the situation (debugging or source
or something else).
But beware that hovering does not work well with member variables e.g.
pointer->variable. You will just see the pointer address. See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=200418 (please add your
vote, I am waiting for this bug to be fixed for many years!).
Axel