Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 224771 - Debug view action states go stale when stepping over blocking method
Summary: Debug view action states go stale when stepping over blocking method
Status: RESOLVED DUPLICATE of bug 224477
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-29 12:44 EDT by John Cortell CLA
Modified: 2008-03-29 13:08 EDT (History)
1 user (show)

See Also:


Attachments
Storyboard description of the problem (105.21 KB, image/gif)
2008-03-29 12:46 EDT, John Cortell CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Cortell CLA 2008-03-29 12:44:31 EDT
See attached screenshot for a storyboard explanation of the problem, as perceived by the user. This is happening with JDT and CDT, and my investigation hints at an oversight in the platform. 

EventHandlerModelProxy.dispatchResume() sets up a timer if the resume event is the result of a step operation. The purpose of the timer is to force a refresh of the viewer if the target doesn't suspend within .5 seconds. I imagine the idea is to avoid the flickering that would result between step operations if we didn't allow for some window of time for the state of the target to cycle back into the suspended state.

That's all good, but no such consideration is done for the view's actions. That is, after the .5 seconds are up, not only does the viewer need to be refreshed, but also the actions.
Comment 1 John Cortell CLA 2008-03-29 12:46:11 EDT
Created attachment 94107 [details]
Storyboard description of the problem
Comment 2 Darin Wright CLA 2008-03-29 13:08:51 EDT
Nice storyboard, John. Seems to be a popular problem of late.

*** This bug has been marked as a duplicate of bug 224477 ***