Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Digital Mars D

<< < (6/6)

sethjackson:
I don't see why it would work with GDB..... C++ and D are two different langs and I think that GDB is only for C/C++ AFAIK.

Michael:

--- Quote from: Zingam on February 16, 2006, 09:50:38 pm ---I've managed to make it compile. But what about debugging. Is debugging of D programs supported within CB and gdb?

I also tried to run gdb from the command line but it says that it cannot recognise the file format of the D program. It works with a C++ program.

--- End quote ---

I have found this link. May be it is useful for you.

Michael

Michael:

--- Quote from: sethjackson on February 16, 2006, 09:55:11 pm ---I don't see why it would work with GDB..... C++ and D are two different langs and I think that GDB is only for C/C++ AFAIK.

--- End quote ---

Well, I thought the same, but here is what Walter from Digital Mars says (from the link above :)):


--- Quote ---Any debugger that uses standard debugging information. If using linux, you can use gdb. If using Windows, you can use, for example, Microsoft's windbg.exe program (which comes on the DMC++ CD).

--- End quote ---

Best wishes,
Michael

Zingam:
It seems to me that CB does not work with DMD properly. It does not apply the switches and sometimes when I set a switch and then reopen the Build options dialog it is not set.

Why are there two discriptions for the -g switch too?

I believe this is a bug? Where should I report it :) and hopefully somebody will fix it.

:) I hope next release of CB with MinGW will feature the GDC and a working debugger in the package too.

Navigation

[0] Message Index

[*] Previous page

Go to full version