Can't get ddbg to work in Code::Blocks
Jascha Wetzel
"[firstname]" at mainia.de
Fri Mar 30 06:03:05 PDT 2007
please post ddbg's output as described here:
(re-post from d.D)
check settings > compiler and debugger > debugger settings > display
debugger's log
you'll have a message tab "Debugger (debug)" which displays almost all
of the communication between codeblocks and ddbg.
ddbg will probably give a more verbose error message that you'll find there.
alternatively you can also try debugging your program on the command
line to find the problem.
Patrick Byrne wrote:
> [ re-posted from digitalmars.D newsgroup ]
>
> I have Code::Blocks installed (looks ace)
> Selected (default) compiler is 'Digital Mars D compiler'
> - compiler settings has 'add symbolic debug info [-g]' checked
> - linker settings has, under 'Other linker options', '-g'
> - Tool chain executables
> - debugger is ddbg_gdb.exe (and I copied ddbg.exe to
> c:\dmd\bin\ddbg_gdb.exe)
> 'debugger initialization commands' is blank
>
>
> When I try to step in to my 'hello world' program I get:
>>>>>>>>>>>>
> Building to ensure sources are up-to-date
> Build succeeded
> Selecting target: Debug
> Adding source dir: c:\d\dmd\bin
> Adding source dir: c:\d\hworld\
> Adding source dir: c:\d\hworld\
> Adding file: bin\Debug\hworld.exe
> Starting debugger: done
> Registered new type: wxString
> Registered new type: STL String
> Registered new type: STL Vector
> Setting breakpoints
> Program exited
> Debugger finished with status 0
> <<<<<<<<<<<<
>
> ...the program runs fine on the command line.
>
> Any ideas, please?
>
> -P
More information about the Digitalmars-d-debugger
mailing list