Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started 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
-
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.
-
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!
-
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.