Debug dmd2 using gdb 7.6 on windxp

Zaher Dirkey via Digitalmars-d-debugger digitalmars-d-debugger at puremagic.com
Mon Nov 3 06:50:54 PST 2014


@ljkp
I retried with the CDB, Not worked, maybe i have bad 
configuration for cdb debugger in CodeBlock. do i need to add 
like Arguments or Initialization commands?

On Sunday, 2 November 2014 at 15:27:52 UTC, ljkp wrote:
> On Thursday, 16 October 2014 at 11:25:07 UTC, Zaher Dirkey 
> wrote:
>> Hi,
>> I want to debug my application using gdb, i used last mingw 
>> version that include gdb7.6, i use CodeBlock as editor, but i 
>> notice gdb can't run my exe in windows xp(sp3), i added -gc to 
>> compiler but it fail to start gdb
>>
>> dmd -gc hello.d
>> gdb hello.exe
>>
>> If it work it will work with CodeBlock debugger for windows.
>>
>> If not it is supported what should i use? CodeBlock have 
>> another option CDB, from where i can install it?
>>
>> thanks in advance.
>
> Hi, look at this too:
>
> http://forum.dlang.org/thread/dds1ei$2ff9$1@digitaldaemon.com?page=2#post-ddu63o:241h7v:241:40digitaldaemon.com
>
> i've just tried today and even if it's been posted 10 years ago 
> it still works.
> CDB can be grabbed here:
>
> http://download.cnet.com/Debugging-Tools-for-Windows/3000-2086_4-10907878.html



More information about the Digitalmars-d-debugger mailing list