Bug 363706 - [expressions] Each instance of the Expressions view should have its own list of expressions
Summary: [expressions] Each instance of the Expressions view should have its own list ...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 8.1.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 10:30 EST by Norman Yee CLA
Modified: 2020-09-04 15:20 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-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