www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.debugger - [Ddbg] Debugging phobos

reply Ary Manzana <ary esperanto.org.ar> writes:
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
Jul 27 2007
parent "Vladimir Panteleev" <thecybershadow gmail.com> writes:
On Sat, 28 Jul 2007 04:56:22 +0300, Ary Manzana <ary esperanto.org.ar> wrote:

 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 gmail.com
Jul 27 2007