Thread overview
D has not a debugger?
Jan 08, 2005
zergbird
Jan 08, 2005
Asaf Karagila
Jan 09, 2005
J Anderson
January 08, 2005
I'm a beginner of D and like it very much:)
But D hasn't a debugger?

If not, how can we debug the program?

Yicheng

Huang Yicheng
January 08, 2005
zergbird@msn.com wrote:

> I'm a beginner of D and like it very much:)
> But D hasn't a debugger?
> 
> If not, how can we debug the program?

I'm linux user. Here is what I do.

In normal debuging I use debug statements printing interesting things on cerr. I _always_ finds problms really quickly no matter how primitive this way is.

When I've got a segfault I use gdb sometimes. But previous way is still working.

Regards,
-- 
Dawid Ciężarkiewicz | arael
jid: arael@fov.pl
January 08, 2005
if you're using windows,
i suggest you to use OutputDebugStringA to output your code as strings,
use OllyDebugger or WinDbg, or some other free native debugger,
and that way you have the power of a native debugger, and a delimiter
between your code lines..

- Asaf.

<zergbird@msn.com> wrote in message news:crpb2e$2epd$1@digitaldaemon.com...
> I'm a beginner of D and like it very much:)
> But D hasn't a debugger?
>
> If not, how can we debug the program?
>
> Yicheng
>
> Huang Yicheng


January 09, 2005
zergbird@msn.com wrote:

>I'm a beginner of D and like it very much:)
>But D hasn't a debugger?
>
>If not, how can we debug the program?
>
>Yicheng
>
>Huang Yicheng
>  
>
Charles and I started on working on a d debugger (dig dug) a while ago, but we kinda run out of time and interest.  If someone wants to pickup the flag and finish it off, by all-means. 

http://www.dsource.org/projects/digdug/

For anyone who wishes to contribute, ask brad to give you admin rights.

PS -
Its also possible to use visual studio as a debugger.

-- 
-Anderson: http://badmama.com.au/~anderson/