[Bug 66765] gdb can't find source files when debuging qmake projects

Jens Dagerbo jens.dagerbo at swipnet.se
Tue Oct 28 18:01:05 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=66765     
jens.dagerbo at swipnet.se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|general                     |debugger
      everconfirmed|0                           |1



------- Additional Comments From jens.dagerbo at swipnet.se  2003-10-28 17:58 -------
Verified.

This is what happens when I try to debug a "QMake project - Application" with every setting unchanged:

(gdb) cd /home/jens/projects/delete_qmake_debuggertest/./bin 
(gdb) break delete_qmake_debuggertest.cpp:134 
No source file named delete_qmake_debuggertest.cpp.

It seems the debugger part assumes the source files are found in the same path as the executable, but the qmake templates sets it up so that the source is found in 
/home/jens/projects/delete_qmake_debuggertest/src/

I'm not sure if the problem is the debugger or the qmake project, but I suspect the former.




More information about the KDevelop-devel mailing list