KDE/kdevelop/languages/cpp/debugger

Vladimir Prus ghost at cs.msu.su
Fri Dec 14 13:40:11 UTC 2007


On Friday 14 December 2007 16:27:26 Kris Wong wrote:
> > PS: An easy way of connecting a type with a way to
> > print/display that type in
> > the variable tree is something that has been requested from users over
> > and over again and many of them pointed at MSVC which does
> > allow exactly
> > this.
> 
> It certainly does.  The debugger uses a configuration file that has entries in it similar to:
> 
> QString=<d->data,su> size=<d->size,u>
> QByteArray=<d->data,s> size=<d->size,u>
> QUrl=<d->encodedOriginal.d->data,s>
> QUrlInfo=<d->name.d->data,su>
> QPoint=x=<xp> y=<yp>
> QPointF=x=<xp> y=<yp>

I'm not sure what's what here. Can I run arbitrary complex
scripting code?

> Where each pair is composed of <member,type>.  And lets not forget the best
> feature of the VS debugger, which I know is planned for kdevelop at 
> some point, hovering the mouse cursor over a variable to see 
> its current value (which works for complex types as well).   

Oops! It seems like KDE4's Kate interface for tooltips is essentially the same 
as in KDE3 -- and not exactly good for us. Guess we'll have to improve that.

- Volodya






More information about the KDevelop-devel mailing list