This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Type information in -data-evaluate-expression
> > If execution is at the arrow, the user might place the mouse over the
> > first occurrence of i and expect the value 1 to be displayed. However,
> > since -data-evaluate-expression evaluates relative to the current line, 10
> > would actually be displayed.
>
> Not that it works with variable objects, anyway. OTOH, I think
> expanding -var-create so that it takes "context line" where expression
> is to be evaluated should be rather simple.
I think that was what we discussed last time. That, and the fact that you
could expand structures within the tooltip if they were created from
variable objects:
This is what Jim Ingham said:
Yup, that's basically what Xcode does. The guy that did is actually
has a pretty cool way of posting the sub-elements in the tooltips. I
can't really describe it - you have to see it - but it's very
convenient.
--
Nick http://www.inet.net.nz/~nickrob