Community
Participate
Working Groups
Build Identifier: 201006141710 This only applicable to dsf disassembly view implementation, the cdi disassembly view works as expected. I believe the difference is the call to IDisassemblyBackend.setDebugContext(), the dsf version callback to gotoFrameIfActive(), where as, the cdi version callback to gotoFrame(). I am not sure whether it is required to check if active or not, maybe for performance issue? If so, than the view will need to perform an update with the current frame when set visible. Reproducible: Always Steps to Reproduce: 1. launch a dsf-gdb debug session 2. click on a thread 3. hide the disassembly view behind one of the view, i.e expression 4. click on another thread 5. unhide the disassembly view Now, the view is still showing the old frame location.
Created attachment 180767 [details] Fix Patrick, could you try this patch?
(In reply to comment #1) > Patrick, could you try this patch? It works as expected.
Thanks, committed to HEAD and cdt_7_0 (7.0.2).
*** cdt cvs genie on behalf of aleherbau *** Bug 327056 - [disassembly] The view does not update to new context when it is hidden [*] DisassemblyPart.java 1.31.2.2 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.31.2.1&r2=1.31.2.2 [*] DisassemblyPart.java 1.34 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.33&r2=1.34