[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] CDT debugger question
|
Mikhail,
Great - that gave me the hint I needed. It's slightly more involved as you
also have to define a debug configuration and set up the source lookup
paths, but it works great. However, I can import as many exe's into the
project as I want, so after the initial setup, it's all pretty easy.
Thanks very much for your help,
---
Derek
> -----Original Message-----
> From: Mikhail Khodjaiants [mailto:mikhailk@xxxxxxx]
> Sent: 13 January 2006 01:12
> To: dmsubs@xxxxxxxxxxxxx; CDT General developers list.
> Subject: Re: [cdt-dev] CDT debugger question
>
> Derek,
>
> The best way to deal with this situation is to import your
> executable to the project.
> The second step is to assign a binary parser to the project.
> To do it open the "C/C++ Build" property page of the
> project's properties and select the "Binary Parser" tab.
>
> Mikhail
> ----- Original Message -----
> From: "dmsubs" <dmsubs@xxxxxxxxxxxxx>
> To: "'CDT General developers list.'" <cdt-dev@xxxxxxxxxxx>
> Sent: Thursday, January 12, 2006 12:44 PM
> Subject: [cdt-dev] CDT debugger question
>
>
> > Hi,
> >
> > I have an executable that I built externally to Eclipse
> that I wish to
> > load
> > and debug via the Eclipse interface.
> >
> > I have defined an empty project ("test") and then have then
> defined a
> > new
> > debug configuration ("test"). In the "C/C++ Application"
> field on the
> > debug
> > config dialog, I have browsed to my binary ("fred.exe"), but I
> > immedately
> > get an error "The CPU is not supported by the selected
> debugger". The
> > executable *is* supported, but I suspect that CDT is just making an
> > arbitrary decision!
> >
> > Any advice on how to overcome this?
> >
> > [The reason for doing this is that I have many hundreds of
> test cases,
> > developed over several years, before we started using
> Eclipse. I have
> > better
> > things to do than create Eclipse projects for all the test
> cases! So,
> > when
> > the test case fails, rather than using command line gdb to
> debug, I'd
> > like
> > to use Eclipse/CDT, but I can't find a way to load into the
> debugger]
> >
> > Thanks
> > ---
> > Derek
> >
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
>