Bug 511419 - Provide an "automatic" run control mode to choose non-stop if available and all-stop otherwise
Summary: Provide an "automatic" run control mode to choose non-stop if available and a...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: Next   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on: 426381
Blocks:
  Show dependency tree
 
Reported: 2017-01-31 16:14 EST by Marc Khouzam CLA
Modified: 2020-09-04 15:19 EDT (History)
3 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 2017-01-31 16:14:30 EST
It was suggested (see https://dev.eclipse.org/mhonarc/lists/cdt-dev/msg31626.html) that we could automatically figure out if a target supports non-stop and then choose that automatically for a user.

We should then update the preferences to be:
- always all-stop
- non-stop if available

Since reverse debug does not work in non-stop, we'd have to figure out the best way to deal with it.  We could simply force all-stop when reverse is selected in the launch; if the user wanted to turn on reverse later in a session though, there would be no way to do it if we constantly ran non-stop; the user would have to understand they must run all-stop (kind of how it is right now...).
Comment 1 Marc-André Laperle CLA 2017-01-31 16:30:21 EST
Adding bug 426381 as a dependency because it could be seen as a regression if non-stop is being switched on automatically.