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

Robert Clipsham robert at octarineparrot.com
Thu Mar 25 16:13:49 PDT 2010


On 25/03/10 00:03, Bernard Helyer wrote:
> Found another, no function pointers in this one, I think. It's much
> smaller, too! D2, dmd -ofnetmon.bin netmon/*.d -gc -debug. Linux only.
>
> http://omploader.org/iM3h0cw

I think it's the same bug. A test case:
----
import std.stdio;
void main()
{
	writeln("");
}
----
I haven't narrowed it down further, because it requires most of phobos, 
and does include function pointers. I could attempt to narrow it down 
further, but I believe it has the same cause.


More information about the Digitalmars-d-debugger mailing list