Discussion:
[Ddbg] Debugging phobos
Ary Manzana
2007-07-28 01:56:22 UTC
Permalink
Hi,

Is there a way to compile a program using dmd in such a way that, after
adding phobos as a source path and stepping into, for example, writefln,
you can see what is writefln doing?

Thanks,
Ary
Vladimir Panteleev
2007-07-28 06:07:44 UTC
Permalink
Post by Ary Manzana
Hi,
Is there a way to compile a program using dmd in such a way that, after
adding phobos as a source path and stepping into, for example, writefln,
you can see what is writefln doing?
I believe that all you have to do is rebuild Phobos with debugging symbols. Take a look at the DFLAGS option in the makefiles.
--
Best regards,
Vladimir mailto:thecybershadow at gmail.com
Loading...