<p style="margin:0;padding:0;" align="left"><br /></p> Hello,<br /><br />I can't debug on my cmake generated project for codeblocks, despite having activated debug symbol and explicitely added src path.<br />I always get the message:<br /><br />No source file named  /home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp <br /><br />Don't know if it's cmake issue or codeblocks. Does anyone meet the same issue?<br />Here are my traces, if it could help:<br /><br /><strong>debugger output:</strong><br /><br /><br />Building to ensure sources are up-to-date<br />Build succeeded<br />Selecting target: <br />brothers_on_death<br />Adding source dir: /home/toto/Bureau/tdr/tdr_engine/src<br />Adding source dir: /home/toto/Bureau/tdr/tdr_engine_impl/src<br />Adding source dir: /home/toto/Bureau/tdr/tdr_engine_impl/tdr_engine_impl_sdl/src<br />Adding source dir: /home/toto/Bureau/tdr/tdr_games/brothers_on_death/src<br />Adding source dir: /home/toto/Bureau/tdr/<br />Adding source dir: /home/toto/Bureau/tdr/<br />Changing directory to: /home/toto/Bureau/tdr/build/CodeBlocksUnix/tdr_games/brothers_on_death<br />Adding file: /home/toto/Bureau/tdr/build/CodeBlocksUnix/tdr_games/brothers_on_death/brothers_on_death<br />Starting debugger: <br />done<br />Registered new type: wxString<br />Registered new type: STL String<br />Registered new type: STL Vector<br />Setting breakpoints<br />Debugger name and version: GNU gdb (GDB) 7.0-ubuntu<br />No source file named /home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp.<br />Breakpoint 1 (&quot;/home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp:145) pending.<br />No source file named /home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp.<br />Breakpoint 2 (&quot;/home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp:158) pending.<br />No source file named /home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp.<br />Breakpoint 3 (&quot;/home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp:156) pending.<br />No source file named /home/toto/Bureau/tdr/tdr_engine_impl/src/tdr_engine.cpp.<br />Breakpoint 4 (&quot;/home/toto/Bureau/tdr/tdr_engine_impl/src/tdr_engine.cpp:301) pending.<br />No source file named /home/toto/Bureau/tdr/tdr_engine_impl/src/tdr_engine.cpp.<br />Breakpoint 5 (&quot;/home/toto/Bureau/tdr/tdr_engine_impl/src/tdr_engine.cpp:295) pending.<br />No source file named /home/toto/Bureau/tdr/tdr_engine_impl/tdr_engine_impl_sdl/src/tdr_grafbox_sdl.cpp.<br />Breakpoint 6 (&quot;/home/toto/Bureau/tdr/tdr_engine_impl/tdr_engine_impl_sdl/src/tdr_grafbox_sdl.cpp:39) pending.<br />No source file named /home/toto/Bureau/tdr/tdr_engine_impl/tdr_engine_impl_sdl/src/tdr_grafbox_sdl.cpp.<br />Breakpoint 7 (&quot;/home/toto/Bureau/tdr/tdr_engine_impl/tdr_engine_impl_sdl/src/tdr_grafbox_sdl.cpp:31) pending.<br />Child process PID: 9453<br />Program exited with code 0377.<br />Debugger finished with status 0<br /><br /><br /><strong>debugger logs:</strong><br /><br /><br />LD_LIBRARY_PATH=.:<br />Command-line: /usr/bin/gdb -nx -fullname&nbsp; -quiet -args /home/toto/Bureau/tdr/build/CodeBlocksUnix/tdr_games/brothers_on_death/brothers_on_death<br />Working dir : /home/toto/Bureau/tdr/<br />Reading symbols from /home/toto/Bureau/tdr/build/CodeBlocksUnix/tdr_games/brothers_on_death/brothers_on_death...<br />done.<br />(gdb) <br />&gt; set prompt &gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />Executing: xterm -T 'Program Console' -e sleep 84325<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; show version<br />GNU gdb (GDB) 7.0-ubuntu<br />Copyright (C) 2009 Free Software Foundation, Inc.<br />License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;<br />This is free software: you are free to change and redistribute it.<br />There is NO WARRANTY, to the extent permitted by law.&nbsp; Type &quot;show copying&quot;<br />and &quot;show warranty&quot; for details.<br />This GDB was configured as &quot;i486-linux-gnu&quot;.<br />For bug reporting instructions, please see:<br />&lt;http://www.gnu.org/software/gdb/bugs/&gt;.<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; set confirm off<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; set width 0<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; set height 0<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; set breakpoint pending on<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; set print asm-demangle on<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; set unwindonsignal on<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; set disassembly-flavor intel<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; cd /home/toto/Bureau/tdr/build/CodeBlocksUnix/tdr_games/brothers_on_death<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; directory /home/toto/Bureau/tdr/tdr_engine/src<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; directory /home/toto/Bureau/tdr/tdr_engine_impl/src<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; directory /home/toto/Bureau/tdr/tdr_engine_impl/tdr_engine_impl_sdl/src<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; directory /home/toto/Bureau/tdr/tdr_games/brothers_on_death/src<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; directory /home/toto/Bureau/tdr/<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; break &quot;/home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp:145&quot;<br />No source file named /home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp.<br />Breakpoint 1 (&quot;/home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp:145) pending.<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; break &quot;/home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp:158&quot;<br />No source file named /home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp.<br />Breakpoint 2 (&quot;/home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp:158) pending.<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; break &quot;/home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp:156&quot;<br />No source file named /home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp.<br />Breakpoint 3 (&quot;/home/toto/Bureau/tdr/tdr_games/brothers_on_death/src/main_rpg_brothers_on_death.cpp:156) pending.<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; break &quot;/home/toto/Bureau/tdr/tdr_engine_impl/src/tdr_engine.cpp:301&quot;<br />No source file named /home/toto/Bureau/tdr/tdr_engine_impl/src/tdr_engine.cpp.<br />Breakpoint 4 (&quot;/home/toto/Bureau/tdr/tdr_engine_impl/src/tdr_engine.cpp:301) pending.<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; break &quot;/home/toto/Bureau/tdr/tdr_engine_impl/src/tdr_engine.cpp:295&quot;<br />No source file named /home/toto/Bureau/tdr/tdr_engine_impl/src/tdr_engine.cpp.<br />Breakpoint 5 (&quot;/home/toto/Bureau/tdr/tdr_engine_impl/src/tdr_engine.cpp:295) pending.<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; break &quot;/home/toto/Bureau/tdr/tdr_engine_impl/tdr_engine_impl_sdl/src/tdr_grafbox_sdl.cpp:39&quot;<br />No source file named /home/toto/Bureau/tdr/tdr_engine_impl/tdr_engine_impl_sdl/src/tdr_grafbox_sdl.cpp.<br />Breakpoint 6 (&quot;/home/toto/Bureau/tdr/tdr_engine_impl/tdr_engine_impl_sdl/src/tdr_grafbox_sdl.cpp:39) pending.<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; break &quot;/home/toto/Bureau/tdr/tdr_engine_impl/tdr_engine_impl_sdl/src/tdr_grafbox_sdl.cpp:31&quot;<br />No source file named /home/toto/Bureau/tdr/tdr_engine_impl/tdr_engine_impl_sdl/src/tdr_grafbox_sdl.cpp.<br />Breakpoint 7 (&quot;/home/toto/Bureau/tdr/tdr_engine_impl/tdr_engine_impl_sdl/src/tdr_grafbox_sdl.cpp:31) pending.<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />Executing: ps x -o tty,pid,command<br />PS result: ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9449 ps x -o tty,pid,command<br />PS result: pts/2&nbsp;&nbsp;&nbsp;&nbsp; 9448 sleep 84325<br />TTY is[/dev/pts/2]<br />GetConsoleTTY[/dev/pts/2]ConsolePid[9447]<br />&gt; tty /dev/pts/2<br />Queued:[tty /dev/pts/2]<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; run<br />[Thread debugging using libthread_db enabled]<br />[New Thread 0x116bb70 (LWP 9453)]<br />[Thread 0x116bb70 (LWP 9453) exited]<br />Program exited with code 0377.<br />&gt;&gt;&gt;&gt;&gt;&gt;cb_gdb:<br />&gt; quit<br /><BR><BR><a target=_blank href=http://www.laposte.net/rallye-des-gazelles><img style="margin: 0pt;" src="http://webmail.laposte.net/webmail/fr_FR/panels/images/laposte-pieddemail-gazelles3.jpg" alt="Pieddemail"><a>