www.digitalmars.com         C & C++   DMDScript  

D - how do I debug D programs

reply "Chris Lajoie" <ctlajoie hotmail.com> writes:
I was told in an earlier post that I can debug a D program in visual studio.
I don't see how, unless I want to debug it in assembly.  Can someone please
explain it to me?  Thanks!

Chris
Mar 13 2004
parent reply imr1984 <imr1984_member pathlink.com> writes:
just add the .exe you made with dmd to a blank visual studio solution, and then
add all your .d source files too - oh and make sure you have debug info on and
trace hooks off

In article <c309ro$1bgb$1 digitaldaemon.com>, Chris Lajoie says...
I was told in an earlier post that I can debug a D program in visual studio.
I don't see how, unless I want to debug it in assembly.  Can someone please
explain it to me?  Thanks!

Chris

Mar 14 2004
parent reply Mark T <Mark_member pathlink.com> writes:
In article <c318ta$2tsk$1 digitaldaemon.com>, imr1984 says...
just add the .exe you made with dmd to a blank visual studio solution, and then
add all your .d source files too - oh and make sure you have debug info on and
trace hooks off

Which version of VS did you use?
Mar 14 2004
parent imr1984 <imr1984_member pathlink.com> writes:
i use .NET 2003 and 2002 - works for both of em. Im not sure but you might have
to add the exe as a project if thats not working

In article <c31mja$gn4$1 digitaldaemon.com>, Mark T says...
In article <c318ta$2tsk$1 digitaldaemon.com>, imr1984 says...
just add the .exe you made with dmd to a blank visual studio solution, and then
add all your .d source files too - oh and make sure you have debug info on and
trace hooks off

Which version of VS did you use?

Mar 14 2004