That sounds good. Personally, I'd make the option off by default.
I'd like to hear from others if they agree with that.
On 25/04/2011 4:50 PM, Sergey Prigogin wrote:
The default for the new launch configurations should
be configurable in the global preference page. We already have a
bunch of GDB options available there. It would be nice to add
'Stop on startup' and 'Non-stop mode'.
Can you go a little bit deeper about
what's wrong with stopping at main? Would moving the setting
to the Main page help?
BTW, in many ways this is historical and borrowed from
VisualStudio. In many IDEs, you can't set a breakpoint until
you start the debugger, and main was the convenient first
stop. Of course, that isn't true with Eclipse since
breakpoints are persisted as markers. Mind you that has
sparked a whole set of other issues.
I guess no one complained about it before. I'm not sure what
the right answer is that satisfies the new user coming from
Visual Studio and others who find this behavior bad. I'm
looking forward to hear what people think.
Doug.
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
[mailto:cdt-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Marc-Andre Laperle
> Sent: Monday, April 25, 2011 4:19 PM
> To: CDT General developers list.
> Subject: [cdt-dev] stop on main by default