Type information in -data-evaluate-expression

Nick Roberts nickrob@snap.net.nz
Tue Jul 31 10:29:00 GMT 2007


 > > 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



More information about the Gdb-patches mailing list