Bug 283706 - [debug view] Step in/step over/step out buttons' enabled state not updated when instruction stepping mode is enabled/disabled
Summary: [debug view] Step in/step over/step out buttons' enabled state not updated wh...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf (show other bugs)
Version: 0 DD 1.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-16 09:44 EDT by Norman Yee CLA
Modified: 2020-09-04 15:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Norman Yee CLA 2009-07-16 09:44:49 EDT
Build ID: I20090611-1540

Steps To Reproduce:
This bug can be reproduced with the GDB DSF debugger plugin, org.eclipse.cdt.dsf.gdb.

1. create an Eclipse debug launch configuration and launch it
2. from the Eclipse that was just launched, create a debug launch configuration for the "DSF C/C++ local application" and launch it
3. set a breakpoint on canStep() in MIRunControl.java
4. in the debug view, click on the instruction stepping mode button.  note that the breakpoint on canStep() doesn't get hit.


More information:
I'm working on a custom DSF debugger plugin that doesn't support instruction mode step over and step out and I need to gray out the step over and step out buttons when instruction stepping mode is enabled.  The problem is that canStep() never gets called to enable/disable those buttons when I press the instruction stepping mode button.

Pawel Piech said: "I think this is a bug, (please file one).  The handler for the toggle instruction step mode action should cause a refresh of the whole view so that the actions will get updated.  I think that's the simplest solution, other solutions would be much more complicated."