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

Bug 81352

Summary: Automatic switch of instruction stepping mode
Product: [Tools] CDT Reporter: Dobrin Alexiev <dalexiev>
Component: cdt-debugAssignee: cdt-debug-inbox <cdt-debug-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dobrin Alexiev CLA 2004-12-15 17:58:35 EST
As part of our beta product we implemented a feature that automatically 
switches between instruction level debugging and source level debugging based 
on which view or editor is currently active. 

I think many embedded IDEs have similar behavior since it is pretty common to 
debug machine instructions. Many of the customers don't have the source code 
so it makes sense for them to often switch between assembly and C debugging, 
but the current CDT requires the user to manually trigger the instruction 
stepping mode on and off. 

We enhanced CDT to automatically switch between instruction and source 
stepping mode biased on the active view or editor or keyboard focus. If the 
user clicks or activates the disassembly view the stepping mode automatically 
becomes instruction stepping. If the user clicks or activates a source editor 
it will turn off instruction stepping and go to source stepping. 

In case some users are not happy with the automatic behavior we have a toolbar 
and a menu that turns on/off the automatic switch. 

If people think that these features are valuable for the general user or if we 
need a way to augment this feature I am ready to submit the changes I did.
Comment 1 Alain Magloire CLA 2004-12-16 11:09:07 EST
Wrong component
Comment 2 Nobody - feel free to take it CLA 2004-12-20 11:54:52 EST

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