Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Debugging without a project

I committed the fix and update the N&N

http://wiki.eclipse.org/CDT/User/NewIn80#Project-less_debugging

Tell your friends ;-)

Thanks for the feeback.

Marc

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Schaefer, Doug
> Sent: Tuesday, April 26, 2011 2:34 PM
> To: CDT General developers list.
> Subject: Re: [cdt-dev] Debugging without a project
>
> > -----Original Message-----
> > From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> > On Behalf Of Marc Khouzam
> > Sent: Tuesday, April 26, 2011 2:21 PM
> > To: 'CDT General developers list.'
> > Subject: Re: [cdt-dev] Debugging without a project
> >
> > Hi Ed,
> >
> > thanks for the info, I was not aware of this feature.
> > I just tried it and I do like it.  However, there is no
> Debug As... context menu,
> > so it didn't quite do it for me :-)
> >
> > For the very simple use case of using Eclipse as a rich
> frontend to GDB, I
> > personally think the Executables view adds unecessary
> complexity.  Allowing
> > to simply choose a binary in the launch seems easier to me.
>
> +1 This is something that's been talked about for ages,
> project-less debug. I think it would be great to simplify the
> workflow as much as possible. The Executables view was close,
> but it is an extra step. Ideally, all I want to do is browse
> to my file system and find it, or even allow it as a
> command-line argument to Eclipse.
>
> At any rate, I like the idea.

> > Thanks
> >
> > marc
> >
> > > -----Original Message-----
> > > From: cdt-dev-bounces@xxxxxxxxxxx
> > > [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of
> Ed.Swartz@xxxxxxxxx
> > > Sent: Tuesday, April 26, 2011 2:08 PM
> > > To: cdt-dev@xxxxxxxxxxx
> > > Subject: Re: [cdt-dev] Debugging without a project
> > >
> > > Hi Marc,
> > >
> > > I think the "Executables" view was invented precisely for
> this purpose
> > > -- drag/import an executable there, right-click, and
> Debug As... on
> > > it.  No need to manually create a project.
> > >
> > > Of course, this does *implicitly* create an "Executables"
> > > project behind the scenes, with links to the actual executable(s),
> > > thus filling the role of the "bogus" project in the
> launch config as
> > > noted in your report -- whether you see this feature as
> fulfilling the
> > > requirement or not is up to you. :)
> > >
> > > -- Ed
> > >
> > > -----Original Message-----
> > > From: cdt-dev-bounces@xxxxxxxxxxx
> > > [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of ext Marc Khouzam
> > > Sent: Tuesday, April 26, 2011 12:42 PM
> > > To: 'CDT General developers list.'
> > > Subject: [cdt-dev] Debugging without a project
> > >
> > > Hi,
> > >
> > > I think a great feature for CDT debugging is to allow a
> user to debug
> > > any application, not just the ones that were built in Eclipse.
> > >
> > > We currently support this, but not nicely, as we still
> require a bogus
> > > project to be used.  As part of
> http://bugs.eclipse.org/343861 I will
> > > be removing the requirement to specify a project by
> simply allowing
> > > the project box of the launch to remain empty (as long as
> the binary
> > > selected uses an absolute path).
> > >
> > > Users will then be able to simply input a binary on their
> system and
> > > start debugging right away.  In fact, a user could use
> CDT to debug
> > > without ever creating a project.
> > >
> > > If anyone thinks of a reason this would be bad, please
> let me know.
> > >
> > > Thanks
> > >
> > > Marc
> > > _______________________________________________
> > > cdt-dev mailing list
> > > cdt-dev@xxxxxxxxxxx
> > > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> > > _______________________________________________
> > > cdt-dev mailing list
> > > cdt-dev@xxxxxxxxxxx
> > > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> > >
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>

Back to the top