Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] Strange behavior when debugging "similar" projects

Which version of CDT are you using? This is a bug in the head branch that
was fixed a couple of weeks ago.

----- Original Message -----
From: "Alain Magloire" <alain@xxxxxxx>
To: <cdt-debug-dev@xxxxxxxxxxx>
Sent: Monday, August 25, 2003 4:25 PM
Subject: Re: [cdt-debug-dev] Strange behavior when debugging "similar"
projects


> >
> > Hi all!!!
> >
> > I've noticed strange behavior of Debug model in following case:
> > I have 2 projects(p1 and p2) with identical-named source files and =
> > identical-named exe-files, for example, 1.c and prog.exe. =20
> > At first I create new debug configuration with p1 as project and =
> > prog.exe as application. Everything is fine. After that I open Debug =
> > configuration window and simply change p1 to p2 in "Project" field and =
> > then press "Debug" button. As a result I see that CDT debugging p2 =
> > project but debug cursor positioning on p1/1.c instead of p2/1.c.=20
> >
>
> Interresting.  In may depend on how the project was compiled.
> If the debug information Stabs/Dwarf etc .. return a full path name
>
> If it returns "1.c", at least in the head branch the default source
locator
> will set search in the project p2, unless specify otherwise.
> See source locator tab in the Debug Launch pages.(Head branch).
>
>
> _______________________________________________
> cdt-debug-dev mailing list
> cdt-debug-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
>



Back to the top