Bug 353150 - Expression view's tooltip doesn't display ampersand
Summary: Expression view's tooltip doesn't display ampersand
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-26 14:31 EDT by Norman Yee CLA
Modified: 2020-09-04 15:19 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Norman Yee CLA 2011-07-26 14:31:16 EDT
Build Identifier: 20110615-0604

In the Expressions view, if there isn't enough room to display the entire expression and you hover your mouse cursor over the expression, the expression is displayed in a yellow tooltip box, a.k.a. a hover box.  If the expression has an ampersand in it, the ampersand is not displayed in the tooltip.


Reproducible: Always

Steps to Reproduce:
1. Create a hello world C project
2. Add a global variable with a long name.  e.g., I added to the top of my program:

static int really_long_global_name;

3. build the project
4. create a debug launch configuration for your project and launch it
5. open the Expressions view
6. click on add new expression and type:

&really_long_global_name
7. resize the expression column so that there isn't enough room to display the entire expression
8. hover the mouse over the expression and the tooltip should pop up.  The tooltip contains

really_long_global_name

The & is missing from the tooltip.