Problems debugging with gideon

Alan Chandler alan at chandlerfamily.org.uk
Thu Jan 2 16:57:04 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 01 Jan 2003 8:25 pm, jbb wrote:
> On Mon, 30 Dec 2002 02:55, Alan Chandler wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > I build gideon from CVS source yesterday.
> >
> > I have build a standard kde app using gideon and am trying to use the
> > debugger to understand how it works (and eventually start to change it to
> > do what I want).
> >
> > However, when setting a breakpoint - nothing appears to happen, and
> > although the breakpoint is listed in the breakpoint window I don't think
> > it gets set as
> >
> > 1)  There is no indication in the source code display
>
> Do you have the icon border displayed? (Settings/Configure Editor/View
> defaults/Show icon border)

No was the answer.

I have just spent several days over christmas trying to figure out how Gideon 
was working (ie learning the code) and about 2 minutes before reading your 
e-mail I had discovered  where the problem lay. I had found out where the 
code tried to set the mark - but I was unable to follow the code into the 
editor part and see why the mark was not appearing because ...

The editor options are confusing - the embeded advanced text editor, is, I 
presume libkatepart (and hence not build with --enable-debug) - and I had 
spent loads of time wondering why qeditor_part.cpp did not seem to have been 
loaded with this selection, and why therefore I could not set breakpoints on 
it (using gvd as a debugger). I had assumed the the QDesigner based editor 
was the third party one (something from trolltech) and had not selected it.  
When I switched over I had found this editors boarder is displayed by default

Two suggestions.

1) I assume the available editors are what the parts that are detected call 
themselves so its not possible to change the kate based name, but the 
internal one could be called and the QT based one "KDevelop QT based Text 
Editor"  Is this just changing the name in the 
parts/qeditor/qeditor_part.desktop file?

2) Set the boarder on automatically when debugging starts (or ensure the 
default is ON anyway for both editors).


- -- 
Alan Chandler
alan at chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+FGD9uFHxcV2FFoIRAlvfAJ4o0adFNdwSXolF/yhuBw3JntA40ACgiOQQ
vh5tZDKRbsla3aSikBLrU98=
=WTzo
-----END PGP SIGNATURE-----





More information about the KDevelop-devel mailing list