Debugger can't find source files
Simon Ejsing
simon at esoft.dk
Wed Apr 23 09:33:08 UTC 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 22 April 2003 11:15, Simon Ejsing wrote:
> I recently compiled Gideon from CVS, and now I'm having trouble adding
> breakpoints to my source files.
>
> The debugger console tells me that the file does not exist:
> (gdb) break epan.cpp:1284
> No source file named epan.cpp.
>
> I suppose it should be epan/epan.cpp:1284 as epan is my source
> directory... it's strange because I finally got Gideon to realise that the
> executable was locatede in this directory, but now the debugger doesn't get
> it...
Examining deeper I have found that a standard project made from scratch does
debug correctly, but my old project won't. From the source dir I can do a gdb
on the executable and add a breakpoint at line 1 in the newly created
project... however gdb won't recognize my source files for the other project?
I'm thinking it has something to do with the compilation?
Any help is appreciated, thanks in advance
- --
Simon Ejsing, Systemudvikler
esoft ApS, http://www.esoft.dk
Kongensgade 66-68, DK-5000 Odense C.
Tlf: 70 222 466, Fax: 63 122 466
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+pkFr0ZtqfKNZvaARAnB6AJ9K5WETqutsR8AZXSVJZu7yCfbH6gCfaBqX
22cJKLbdLAcLEgTvjEK4qLU=
=Frmv
-----END PGP SIGNATURE-----
More information about the KDevelop-devel
mailing list