Code::Blocks Debugging

Daemon Daemon at yahoo.com
Thu Jun 13 11:35:05 PDT 2013


I am failing at getting the debugging in Code::Blocks to work on 
D applications. I have downloaded the GDB executable and set a 
path to it. Even though I ticked all the "generate debug 
symbols", it just recompiles and gives me this output:

Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\Learning\Play\
Adding source dir: C:\Learning\Play\
Adding file: C:\Learning\Play\bin\Debug\Play.exe
Changing directory to: C:/Learning/Play/.
Set variable: 
PATH=.;C:\DMD2\windows\bin;C:\DMD2\windows;C:\dm\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program 
Files (x86)\Windows Kits\8.0\Windows Performance 
Toolkit;C:\Program Files\Microsoft SQL 
Server\110\Tools\Binn;C:\Program Files (x86)\ATI 
Technologies\ATI.ACE\Core-Static;C:\Program Files 
(x86)\Gtk-Runtime\bin;C:\Program Files\Gtk-Runtime\bin;C:\Program 
Files (x86)\Git\cmd;C:\Program Files 
(x86)\GtkSharp\2.12\bin;C:\DMD2\dmd2\windows\bin;C:\DMD2\dm\bin
Starting debugger: C:\Program Files (x86)\mingw\bin\gdb.exe -nx 
-fullname  -quiet  -args C:/Learning/Play/bin/Debug/Play.exe
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 5.2.1
No symbol table is loaded.  Use the "file" command.
Starting the debuggee failed: No executable specified, use 
`target exec'.
Debugger finished with status 0

I've read that I have to pass some flags to the debugger, but I 
have no idea how or what flags.

Any help would be appreciated


More information about the Digitalmars-d-ide mailing list