Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335535 - [run control] Stepping is slow on a Mac
Summary: [run control] Stepping is slow on a Mac
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf (show other bugs)
Version: 8.0   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-27 00:53 EST by Pawel Piech CLA
Modified: 2020-09-04 15:23 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Piech CLA 2011-01-27 00:53:58 EST
Running 3.7M5/8.0M5 Candidate

I tried stepping as fast as I could by holding the F6 key and noticed that the stepping speed is much slower than on other platforms.  Also CDI stepping is somewhat faster as well.

Stepping with DSF is optimized such that the instruction pointer in the editor is refreshed after every step.  The text selection in the editor is delayed because updating all the selection listeners in the window is rather expensive.  This optimization is quite efficient on Windows and Linux, however it appears that it doesn't work as well on the Mac.  Comparing the CDI which does not paint the instruction pointer after every step and the DSF implementation, which does, it seems that painting the annotation is the most expensive step on this platform.