[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-debug-dev] Strange behavior when debugging "similar" projects
|
Yes, source locator info also behaves strange. When I simply change project
name in Debug Configuration a Location field in Source Locations table in
Source page doesn't change! This causes, for example, that breakpoints
cannot be set. Only "Restore Defaults" button helps to set proper value in
Location field.
But may be this was fixed a couple of weeks ago as Mikhail said, because my
version of CDT is not fresh...
Igor S. Zamyatin
----- Original Message -----
From: "Alain Magloire" <alain@xxxxxxx>
To: <cdt-debug-dev@xxxxxxxxxxx>
Sent: Tuesday, August 26, 2003 12:25 AM
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
>