Problems at building the KDevelop-2.1.x - Watch window and mouse right click

jbb jbb at kdevelop.org
Thu Feb 27 23:25:05 UTC 2003


On Fri, 28 Feb 2003 00:52, Izo wrote:
> falk.brettschneider at gmx.de wrote:
> >>Falk !
> >>
> >>I went to rebuild the KDevelop because you claimed that the Watched
> >>symbol can be deleted from the watch window which could not be possible
> >>with the 2.1.3 (shipped/maintained by SuSE 8.1). It is not possible to
> >>do with the right-now-built-and-installed 2.1.5 version.
> >>
> >>Now it seems that I am doing something wrong. Is it true or not that
> >>watched variable should be removed by right-clicking on it and the
> >>pop-up menu containing Remove entry should appear ?
> >
> >Somehow you've misunderstood me.
> >We were talking about the position of the entry "Add watch variable" in
> > the context menu of a KDevelop-3cvs(Gideon) view.
> >
> >Ciao
> >F at lk
>
> Ouchh, sorry, I have wrongly written KDevelop version. I meant 2.1.x
> (but I had a reference to the KDE-3.x in mind and thus have written
> something else).
> And sorry again, it was not you answering that - jbb was.
>
> Anyway, from your answer one could guess that it really does not work
> with the 2.1.x ?

I have 2.1.3 and this works fine ie right click on the varaible and you have a 
menu popup with items "Delete watch variable" and "Toggle watchpoint"

I've just updated to 2.1.5 and am compiling now, but it didn't look like the 
code was changed in this area so I can't see why it would misbehave.

What are you seeing when you right click the watch variable?

Also take a look at kdevelop/dbg/vartree.cpp - method 
VarTree::slotRightButtonClicked starting on line 158. Does it look like it 
should add the "Delete watch variable" menu entry?

jbb





More information about the KDevelop-devel mailing list