Bug 336283 - [reverse] A remote attach launch with reverse enabled at launch time does not start
Summary: [reverse] A remote attach launch with reverse enabled at launch time does not...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 7.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: 2011-02-03 15:44 EST by Marc Khouzam CLA
Modified: 2020-09-04 15:26 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 Marc Khouzam CLA 2011-02-03 15:44:34 EST
A remote attach launch does not actually start a process.  Instead it connects to the target and waits for the user to decide to attach to a process.  The idea is that the user may want to query the system without actually attaching to a process.

I just realized that if the launch option "Enable Reverse Debugging at startup" is selected in that type of launch, we will try to enable reverse debugging before a process is started, which will fail and cause the entire launch to abort.

We should probably disable the option in this case, or maybe be smart about it and only turn on reverse once an attach has been performed.