Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350502 - Change defaults for "Stop on startup at main" and "Non-stop mode"
Summary: Change defaults for "Stop on startup at main" and "Non-stop mode"
Status: CLOSED WONTFIX
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Sergey Prigogin CLA
QA Contact: Marc Khouzam CLA
URL:
Whiteboard:
Keywords:
Depends on: 348091
Blocks:
  Show dependency tree
 
Reported: 2011-06-27 17:41 EDT by Sergey Prigogin CLA
Modified: 2012-04-30 09:58 EDT (History)
5 users (show)

See Also:


Attachments
Proposed change (3.87 KB, patch)
2011-06-27 17:43 EDT, Sergey Prigogin CLA
eclipse.sprigogin: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Prigogin CLA 2011-06-27 17:41:32 EDT
Since users can now configure global defaults for "Stop on startup at main" and "Non-stop mode" (bug 347245), it makes sense to change the out-of-the-box defaults so that they satisfy the majority of users. "Stop on startup at main" should default to false and "Non-stop mode" should default to true.
Comment 1 Sergey Prigogin CLA 2011-06-27 17:43:34 EDT
Created attachment 198691 [details]
Proposed change
Comment 2 Marc Khouzam CLA 2011-06-27 22:20:12 EDT
I think this is a good idea, especially for non-stop. However, we suggest fixing Bug 348091 before.

Since this was already proposed on the mailing list and created some discussions, can you post your intention to the list for transparency?  I'll second your proposal.
Comment 3 Marc-André Laperle CLA 2011-06-27 23:19:43 EDT
Non-stop doesn't work on Windows and Mac though, so I would not agree with that. Maybe we can find a way to make it the default only on Linux or ignore the non-stop option on Windows and Mac. Right now, I get errors "Error in final launch sequence" on Windows and "Non-stop mode is only supported starting with GDB 6.8.50" on Mac.
Comment 4 Marc-André Laperle CLA 2011-06-27 23:20:40 EDT
(In reply to comment #3)
> Non-stop doesn't work on Windows and Mac though, so I would not agree with
> that. Maybe we can find a way to make it the default only on Linux or ignore
> the non-stop option on Windows and Mac. Right now, I get errors "Error in final
> launch sequence" on Windows and "Non-stop mode is only supported starting with
> GDB 6.8.50" on Mac.

Forgot to add "The target does not support running in non-stop mode" for Windows.
Comment 5 Marc Khouzam CLA 2011-06-27 23:21:46 EDT
(In reply to comment #3)
> Non-stop doesn't work on Windows and Mac though, so I would not agree with
> that. Maybe we can find a way to make it the default only on Linux or ignore
> the non-stop option on Windows and Mac. Right now, I get errors "Error in final
> launch sequence" on Windows and "Non-stop mode is only supported starting with
> GDB 6.8.50" on Mac.

Woops, that is a very good point.  Thanks for mentioning it.

I like the idea of having the default for Linux only.
Comment 6 Elena Laskavaia CLA 2011-06-28 11:43:33 EDT
-1 for changing defaults for main
Comment 7 Marc-André Laperle CLA 2012-04-30 01:13:16 EDT
So...should we mark this as WONTFIX? At least we have preferences now.
Comment 8 Sergey Prigogin CLA 2012-04-30 01:35:47 EDT
(In reply to comment #7)
> So...should we mark this as WONTFIX? At least we have preferences now.

Agree.