Community
Participate
Working Groups
When you open multiple workbench windows with multiple disassembly views open, than selecting the stackframe in one workbench windows causes the other workbench window's disassembly view to update as well.
Created attachment 183126 [details] patch - retrieves debug context per workbench window
Right, I tend to forget that there can be multiple windows. I think we should also register the IDebugContextListener with the window-specific context service.
Created attachment 183228 [details] new patch - retrives debug context and register listener per window service I intended to change the listener when I submit a view pin&clone patch to CDT, I guess this is a good fix for now. I'll have to change the addDebugListener to provide the view IDs later. I also made an addition nullpointer fix in this patch, getTopAddress() causes a nullpointer when the view is close.
I have commit the patch to head.
*** cdt cvs genie on behalf of pchuong *** Bug 330259 - [disassembly] debug context is not per workbench window [*] DisassemblyPart.java 1.40 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyPart.java?root=Tools_Project&r1=1.39&r2=1.40