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

Bug 363706

Summary: [expressions] Each instance of the Expressions view should have its own list of expressions
Product: [Tools] CDT Reporter: Norman Yee <normankyee>
Component: cdt-debugAssignee: cdt-debug-inbox <cdt-debug-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3 CC: cdtdoug, pawel.1.piech
Version: 8.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Norman Yee CLA 2011-11-14 10:30:29 EST
Build Identifier: 20110916-0149

If you open an Expressions view, add some expressions to it, and then create a new instance of the Expressions view, the new instance of the Expressions view shares the same list of expressions as the other instance.  If you add a new expression to one Expressions view, it gets added to all instances of the Expressions views.

It would be better to have a separate list of expressions for each Expressions view because you may want to watch different variables/registers in each Expressions view.



Reproducible: Always

Steps to Reproduce:
1. launch a debug configuration
2. open an Expressions view
3. click on the Open New View toolbar button to create another instance of the Expressions view
4. click on Add new expression
5. type some variable name like "foo"
6. notice that "foo" gets added to both Expressions views