www.digitalmars.com         C & C++   DMDScript  
Archives

D Programming
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.ide
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger
D.gnu
D

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



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