Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316618 - Debug context activation causes expressions view updates when hidden if selection is empty
Summary: Debug context activation causes expressions view updates when hidden if selec...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.4.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5.2+   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-11 10:33 EDT by Darin Wright CLA
Modified: 2010-06-11 10:34 EDT (History)
1 user (show)

See Also:


Attachments
patch for 3.5.x (5.64 KB, patch)
2010-06-11 10:33 EDT, Darin Wright CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2010-06-11 10:33:26 EDT
Follow up from bug 316514

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.
Comment 1 Darin Wright CLA 2010-06-11 10:33:56 EDT
Created attachment 171729 [details]
patch for 3.5.x
Comment 2 Darin Wright CLA 2010-06-11 10:34:26 EDT
Released to 3.5.2
Comment 3 Darin Wright CLA 2010-06-11 10:34:39 EDT
(In reply to comment #2)
> Released to 3.5.2

Sorry, 3.5.2+