What's the proper way to debug D programs with GDB?

grauzone none at example.net
Wed Mar 17 21:23:57 PDT 2010

Bernard Helyer wrote:
> On 18/03/10 13:04, Robert Clipsham wrote:
>> I'll look more into this if someone can provide me a test case which
>> doesn't require the D extensions to cause the error, currently this
>> looks like a non-bug to me as gdb doesn't support D extensions yet (yes,
>> this is even with a patched gdb).
>> Robert
> I have definitely had programs choke up gdb even when using the `-gc` 
> flag. I'll have a poke around tonight and see what I can find.

Me too, but always in larger amounts of code, where it's hopeless to try 
to find the exact location. It's probably caused by a single obscure D 

> -Bernard.

More information about the Digitalmars-d-debugger mailing list