Community
Participate
Working Groups
When a thread or stack frame is revealed in the Debug view (on hitting a breakpoint) it may get shifted up or down due to subsequent content updates of items higher up in the tree. Note that this is similar to bug 324100, which was fixed by delaying the handling of reveal until all content updates have been completed. I am not sure if it is reproducible with the Java debugger, but I will provide a JUnit test which simulates the issue together with a proposed fix.
Proposed fix and test case for review: https://git.eclipse.org/r/29316
I have pushed the patch again. Last time it was on the wrong branch: https://git.eclipse.org/r/#/c/31022/
(In reply to Anton Leherbauer from comment #2) > I have pushed the patch again. Last time it was on the wrong branch: > https://git.eclipse.org/r/#/c/31022/ Hi Anton. We usually fix a bug in the current stream (master) and only when the fix proofs to be OK, we backport it. Is this a regression compared to 4.3?
(In reply to Dani Megert from comment #3) > Hi Anton. We usually fix a bug in the current stream (master) and only when > the fix proofs to be OK, we backport it. > > Is this a regression compared to 4.3? No, I don't think it is a regression. I'll post another patch against master, then.
New patch against master: https://git.eclipse.org/r/31029
Anton, Do you have steps to reproduce in some other debugger which we can test with the fix ?
(In reply to Sarika Sinha from comment #6) > Anton, > Do you have steps to reproduce in some other debugger which we can test with > the fix ? So far I can only reproduce with the TCF debugger + Simics backend.
Patch looks fine with the tests. No Regression in JDT.
(In reply to Sarika Sinha from comment #8) > Patch looks fine with the tests. > > No Regression in JDT. (In reply to Anton Leherbauer from comment #5) > New patch against master: https://git.eclipse.org/r/31029 Please see my comments there.
(In reply to Anton Leherbauer from comment #5) > New patch against master: https://git.eclipse.org/r/31029 Thanks Anton. Submitted with http://git.eclipse.org/c/platform/eclipse.platform.debug.git/commit/?id=e598699286ab39f12bbcc0d7b1fc2475f11d40f5
Anton, Can you verify that the bug has been resolved ?
(In reply to Sarika Sinha from comment #11) > Anton, > Can you verify that the bug has been resolved ? I'll try to verify it by the end of this week.
Verified with I20141028-2000. Thanks!