Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353150

Summary: Expression view's tooltip doesn't display ampersand
Product: [Tools] CDT Reporter: Norman Yee <normankyee>
Component: cdt-debugAssignee: cdt-debug-inbox <cdt-debug-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: minor    
Priority: P3 CC: cdtdoug, pawel.1.piech
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.