Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321379 - [EDC] Debug view flickers when stepping
Summary: [EDC] Debug view flickers when stepping
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-edc (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ling Wang CLA
QA Contact: Ken Ryall CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-30 12:36 EDT by Ling Wang CLA
Modified: 2010-08-02 14:29 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.