Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321379

Summary: [EDC] Debug view flickers when stepping
Product: [Tools] CDT Reporter: Ling Wang <ling.5.wang>
Component: cdt-debug-edcAssignee: Ling Wang <ling.5.wang>
Status: RESOLVED FIXED QA Contact: Ken Ryall <ken.ryall>
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ling Wang CLA 2010-07-30 12:36:20 EDT
The debug view content flicker when performing stepping in EDC debugger (e.g. the Win32 debugger), the stack frames come and go quickly.
Comment 2 Ling Wang CLA 2010-08-02 14:29:17 EDT
The reason for the flickering is a resumeEvent is fired by EDC at the beginning of a step, resulting in removal of all frames from debug view, then when the stepping ends, the frames are reconstructed and displayed in debug view again.
The solution is not fire the resumeEvent unless the context is still running 2 seconds after a step/resume command is issued. For example, after resuming a thread, if no breakpoint is hit within two seconds, user will see the thread as running in two seconds, otherwise user will see  the thread hit a breakpoint and no flicker in the debug view. 
Bug 321384 depends on this bug. A patch is attached there for both the bugs.