Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] Variable hints and type "bool"

----- Original Message ----- 
From: "Alain Magloire" <alain@xxxxxxx>
To: <cdt-debug-dev@xxxxxxxxxxx>
Sent: Thursday, February 19, 2004 12:51 PM
Subject: Re: [cdt-debug-dev] Variable hints and type "bool"


> >
> >   Hi all!!!
> >
>
> Bonjour,
>
> >
> > I'm working with 1.2 version under Windows and watching a very strange =
> > behavior of variable hints. For example I have such a code:
> >
> > int i =3D -1;
> >
> > float fff =3D 1.090897;
> >
> > bool e =3D false;
> >
> > i =3D i + 2;
> >
> > When I set mouse cursor near, for instance, "fff" or "i" it's ok. But =
> > when I set it near "1.090897" no hint appears. And after that no =
> > variable hints appear at all!!!=20
> >

You can not see the hint for "1.090897". Currently we don't use the parser
to extract the expression that is pointed by the cursor. The extraction
procedure considers '.' as a separator. So when you point to the right side
of the expression it extracts "090897" and gdb returns an error.

> > Do you know about this problem? May be in the latest version everything
=
> > is ok?
> >
> > And about "bool" type. After executing this string:  bool e =3D false; =
> > variables view shows e=3D 2342683392........
> >
>
> Try the latest Branch of the CDT_1.2.
>
> It seems to work fine on CDT_1.2 latest branch and on the Head.
>
> If you still see this, also make a PR in bugzilla so we can follow up.
>
>
> _______________________________________________
> cdt-debug-dev mailing list
> cdt-debug-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
>



Back to the top