Community
Participate
Working Groups
Build Identifier: The expressions view overrides the variables view's contextActivated() method, and usually delegates these events to the parent. However, if the selection is empty (such as when a suspended thread with its top stack frame selected is collapsed) the view does not check to see if it is visible, but goes ahead and sets the input. This triggers the installation of the DefaultWatchExpressionModelProxy, (one per expression in the view), which, in turn, causes the expressions to be evaluated on suspend when the view is NOT visible. I'm not sure what the rationale behind this behaviour is, is there any specific reason why the view handles empty selections differently, or at all, when it is hidden? Reproducible: Always
Created attachment 171663 [details] patch
Created attachment 171664 [details] patch for 3.4.x
Fixed in HEAD (3.7) and 3.6 maintenance branch. I have not released this to the maps yet as 3.6 is not yet complete.
Created attachment 171726 [details] patch for 3.5.x
Released the fix to 3.4.2+, 3.5.2+. Also in 3.6 maintenance and HEAD, but not yet released to a build. I will open new bugs to track all the releases this fix is in.
Just to clarify - this fix is not going to make it into the 3.6 GA?
(In reply to comment #6) > Just to clarify - this fix is not going to make it into the 3.6 GA? The fix is not in 3.6. The fix will be in 3.6.1.
I don't think this bug applies to 3.6 anyway because we got rid of the direct call to setViewerInput(). The additional test that was added is unnecessary.