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

Bug 322363

Summary: [pretty printers] Support for varobjs changing type and/or name
Product: [Tools] CDT Reporter: Jens Elmenthaler <jens.elmenthaler>
Component: cdt-debug-dsf-gdbAssignee: Project Inbox <cdt-debug-dsf-gdb-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3 CC: pawel.1.piech
Version: 8.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 302121    
Bug Blocks:    

Description Jens Elmenthaler CLA 2010-08-11 10:16:20 EDT
Build Identifier: CDt 8.0

Currently, changing the type/name/display hint of a varobj does not
work well with the gdb. However, with pretty printers, there are scenarios where this could make sense (not very likely right now, that's why a nice to have).

There are two junit test cases that are prepared to handle those cases:
PrettyPrintingTests.testUpdatingTypeName
PrettyPrintingTests.testDisplayHintChange

These tests fail with current gdb's. Looking at the reason, it seems that the gdb folk did not have such a scenario in mind. So it's also not supported by the current implementation of DSF GDB.

Turning this feature one, would have to start with bugzilla entries for gdb.

Reproducible: Always