Community
Participate
Working Groups
Using eclipse-cpp-juno-M5-win32-x86_64 1. Create a hello world project 2. Build the project 3. Debug the project, it should stop at main 4. In the Debug view, in the tree, click on the thread or process, then on the Step Instruction button. Nothing happens. With 3.8M5, when the button is pressed, the button becomes enabled, the disassembly view opens and step over steps through instructions in Disassembly view.
Created attachment 210608 [details] Instruction stepping mode button
The action doesn't seem to be checked so the code doesn't even up showing the view.
In 3.x we don't go through the ActionDelegateHandlerProxy so we don't get another call to selectionChanged(*) which prevents the action from thinking it is unchecked. ToggleInstructionStepModeActionDelegate.run(IAction) line: 97 ToggleInstructionStepModeActionDelegate.runWithEvent(IAction, Event) line: 117 ViewPluginAction(PluginAction).runWithEvent(Event) line: 241 PluginActionContributionItem(ActionContributionItem).handleWidgetSelection(Event, boolean) line: 584 ActionContributionItem.access$2(ActionContributionItem, Event, boolean) line: 501 ActionContributionItem$6.handleEvent(Event) line: 452 EventTable.sendEvent(Event) line: 84 ToolItem(Widget).sendEvent(Event) line: 1053
Fix pushed to master. http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=6fd0c2f0c6ab2bc5e5801888a84f88066c2e1164
Verified with I20120312-1730 on Windows 7. Thank you for the bug report!