Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: doctor_vitus on May 24, 2007, 01:30:43 pm

Title: Feature Request: Debugger support for Digital Mars D on MS Windows
Post by: doctor_vitus on May 24, 2007, 01:30:43 pm
Hi all!

Currently debugging Digital Mars D projects on MS Windows fails due to wrong parameters being passed to the debugger (see http://forums.codeblocks.org/index.php/topic,5982.0.html). According to Mandrav, for any compilers except the Microsoft ones, gdb is assumed to be used as the debugger, which is wrong for Digital Mars D on MS Windows (which comes with the windbg debugger).

It would be very helpful if the debugger settings for DMD on MS Windows could be changed to windbg.

Best regards,
Vitus
Title: Re: Feature Request: Debugger support for Digital Mars D on MS Windows
Post by: David Perfors on May 24, 2007, 01:46:37 pm
You have to fill in the feature request here (https://developer.berlios.de/feature/?func=addfeature&group_id=5358)
but I think it will be in the new Compiler framework. Some people are thinking about it.
Title: Re: Feature Request: Debugger support for Digital Mars D on MS Windows
Post by: Vladsharp on June 25, 2007, 10:14:29 pm
Have you checked out DDBG (http://ddbg.mainia.de/releases.html), and specifically: http://ddbg.mainia.de/cb_ddbg.jpg (http://ddbg.mainia.de/cb_ddbg.jpg)?

I think there is one feature that would be nice to have though in Code::Blocks - the support for viewing strings!
Title: Re: Feature Request: Debugger support for Digital Mars D on MS Windows
Post by: Martin Fuchs on September 13, 2007, 12:17:24 pm
In order to use DDBG you should configure the batch file "ddbg_gdb.bat" als debugger executable:

(http://www.sky.franken.de/screenshots/codeblocks-ddbg.png)

The debugger and batch file is included in this download package: http://ddbg.mainia.de/releases.html (http://ddbg.mainia.de/releases.html)

This way DDBG is started in GDB mode (command line option -cli=gdb) and it understands the debugger commands of CodeBlocks.