Community
Participate
Working Groups
You have two different processors while debugging and you enter two different addresses. When switching debug context, the edit box shows last entered value. It would be good if it were possible to keep that value in synch with rendering. Steps To Reproduce: 1. Start a debug session for configuration with more than one cpu. 2. Open memory view with debug context set to CPU A and enter an address in Memory Browser. 3. Change debug context to CPU B and enter a new address in Memory Browser. 4. Switching between CPU A and CPU B changes the rendering correctly and tab title is also showing correct address, but edit box where address was originally entered does not change. It would be good if address edit box could be kept in synch as well. Since this is where I entered my address, I tend to look there for address information.
Created attachment 174501 [details] fix Track the last good expression in the tab folder data. question though, wouldn't be better for updating expression per active tab as well? i.e. 1. Open Memory Browser view 2. GoTo expression "symbol1" 3. Create new tab with expression "symbol2" 4. Each time user changes active tab then expression field would be updating according to the expression used to create/reposition the rendering from the active tab folder.
(In reply to comment #1) > Created an attachment (id=174501) [details] > fix > Track the last good expression in the tab folder data. > question though, wouldn't be better for updating expression per active tab as > well? > i.e. > 1. Open Memory Browser view > 2. GoTo expression "symbol1" > 3. Create new tab with expression "symbol2" > 4. Each time user changes active tab then expression field would be updating > according to the expression used to create/reposition the rendering from the > active tab folder. This is also what we'd like to have. Thanks!
Created attachment 174512 [details] patch that will update expressions on Tab item focus change Patch will update expression text on active tab item change.
*** cdt cvs genie on behalf of tmadan *** Bug 319193 - [Memory Browser]Switching between two cpus does not affect edit box where address is entered [*] MemoryBrowser.java 1.31 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.memorybrowser/src/org/eclipse/cdt/debug/ui/memory/memorybrowser/MemoryBrowser.java?root=Tools_Project&r1=1.30&r2=1.31 [*] GoToAddressBarWidget.java 1.7 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.memorybrowser/src/org/eclipse/cdt/debug/ui/memory/memorybrowser/GoToAddressBarWidget.java?root=Tools_Project&r1=1.6&r2=1.7
Fixed on head