Author Topic: Feature Request: Debugger support for Digital Mars D on MS Windows  (Read 5443 times)

Offline doctor_vitus

  • Multiple posting newcomer
  • *
  • Posts: 15
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

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: Feature Request: Debugger support for Digital Mars D on MS Windows
« Reply #1 on: May 24, 2007, 01:46:37 pm »
You have to fill in the feature request here
but I think it will be in the new Compiler framework. Some people are thinking about it.
« Last Edit: May 24, 2007, 01:48:11 pm by mispunt »
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Vladsharp

  • Guest
Re: Feature Request: Debugger support for Digital Mars D on MS Windows
« Reply #2 on: June 25, 2007, 10:14:29 pm »
Have you checked out DDBG, and specifically: 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!

Martin Fuchs

  • Guest
Re: Feature Request: Debugger support for Digital Mars D on MS Windows
« Reply #3 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:



The debugger and batch file is included in this download package: 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.