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

Bug 345791

Summary: Pretty printing of pointers
Product: [Tools] CDT Reporter: Sergey Prigogin <eclipse.sprigogin>
Component: cdt-debug-dsfAssignee: Project Inbox <cdt-debug-dsf-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3 CC: cdtdoug, jaws
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Sergey Prigogin CLA 2011-05-13 16:54:17 EDT
It would be nice if printing dereferenced pointer variables in Variables view.

For example, for a variable
  std::string* s;
the Variables view should show both, the value of the pointer and the contents of the string.

Current display for pointers is noisy and not very informative:
Name : s
	Details:0x7fffffffcf30
	Default:0x7fffffffcf30
	Decimal:140737488342832
	Hex:0x7fffffffcf30
	Binary:11111111111111111111111111111111100111100110000
	Octal:03777777777747460

It would be nice to print just:

0x7fffffffcf30 -> "contents of the string"