Can't get ddbg to work in Code::Blocks
Jascha Wetzel
"[firstname]" at mainia.de
Fri Mar 30 07:13:37 PDT 2007
Patrick Byrne wrote:
> Ok, working now, ta:
>
> C:\d\hworld>\dmd\bin\ddbg_gdb.exe bin\Debug\hworld.exe
> Ddbg v0.0.5.3 alpha - D Debugger
> Copyright (c) 2007 Jascha Wetzel
> http://ddbg.mainia.de/
>
> (gdb) break hello.d:1
> Breakpoint 0 at 0x00402010
> (gdb) run
> ..
> msvcrt.dll loaded
> →→hello.d:3:0:begmidl:0x00402010
> (gdb) next
> →→hello.d:5:0:begmidl:0x00402014...
this looks like stepping works. now you just need to check what the
output looks like in CB and compare.
> ....but Code::Blocks will need to work with the gdb syntax, I presume?
yep. the difference is only syntax and detail of the output. therefore i
recommend the Ddbg syntax when troubleshooting the debugger on the
command line.
More information about the Digitalmars-d-debugger
mailing list