Debbuger

Vladimir Prus ghost at cs.msu.su
Fri Feb 6 20:19:50 UTC 2009


On Friday 06 February 2009 23:11:48 Andreas Pakulat wrote:
> On 06.02.09 13:17:07, Vladimir Prus wrote:
> > On Wednesday 04 February 2009 10:29:33 Hamish Rodda wrote:
> > > On Wednesday 04 February 2009 04:32:33 Andreas Pakulat wrote:
> > > > On 03.02.09 20:06:20, Vladimir Prus wrote:
> > > > > On Tuesday 03 February 2009 19:42:26 David nolden wrote:
> > > > > > Am Dienstag 03 Februar 2009 07:48:48 schrieb Vladimir Prus:
> > > > > > > Oh, competition! That's always good :-)
> > > > > > >
> > > > > > > - Volodya
> > > > > >
> > > > > > Would have been more useful if you actually said something about
> > > > > > Hamish's points. ;-)
> > > > > >
> > > > > > What do you think about the thing? I think Hamish's points are valid.
> > > > > > We're coming closer to a release, and we do need a working debugger. If
> > > > > > we had one that was working a year ago, then it's worth considering
> > > > > > going back there.
> > > > >
> > > > > Well, it is worth pointing out that in HEAD, to the best of my knowledge
> > > > > we have working thread/frame view, breakpoint widget, watches, and
> > > > > variable tooltips. We don't have display of local variables, and we don't
> > > > > have breakpoint markers in source. So, the most straightforward way to
> > > > > get a working debugger is to fix the missing thing. Branching from a Qt4
> > > > > port of KDevelop 3 debugger which is known not to be very great seems
> > > > > like an equally complex way to get something worse.
> > > 
> > > Issues with head:
> > > 1) No toggle on breakpoints in the editor - you have to type in the location.  
> > > I tried to fix this but the new breakpoint framework is complex and seemingly 
> > > unable to accept a programmatic insertion of a breakpoint. IIRC I asked for 
> > > help with fixing it, and was told it would be worked on, but that was last 
> > > year.
> > 
> > FWIW, one of the reason this does not work is that proper markers are not
> > yet implemented in Kate -- you have posted a design for those during hackathon,
> > and to the best of my knowledge, nothing came out of that.
> 
> Can we do something with the existing markers support? I'd like to keep the
> 4.2 dependency.

We probably can create smart cursors for 0th column of every line where we put breakpoint
markers -- and therefore detect the situation where user edits text and therefore we
have to move breakpoints. That's not 100% ideal solution, but should work better than
KDevelop3 anyway.

- Volodya




More information about the KDevelop-devel mailing list