Bug 290699 - [reverse] Toggle button does not show as pressed when selecting reverse for the first time from the launch
Summary: [reverse] Toggle button does not show as pressed when selecting reverse for t...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 6.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-28 09:52 EDT by Marc Khouzam CLA
Modified: 2020-09-04 15:16 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 Marc Khouzam CLA 2009-09-28 09:52:47 EDT
If the very first time we toggle reverse debugging is by using the launch option, the button will not show as pressed.

This is because RetargetDebugContextCommand figures out the command id (fCommandId) when the command is first executed.  But in this example, we toggle reverse programmatically, without actually pressing the button, so fCommandId is still null.

For 6.1, there is a refactoring that will move away from RetargetDebugContextCommand, and I will be able to hardcode the command id.  This will be part of bug 275687