Thread overview
getting started - Debugger recommendation ?
Sep 06, 2004
Björn
Sep 06, 2004
Joey Peters
Sep 06, 2004
Björn
Sep 06, 2004
antiAlias
Sep 06, 2004
Ilya Minkov
Sep 08, 2004
Lynn Allan
September 06, 2004
Greetings,
now I'm up with a nice editor I'm looking for anything that could be used for
debugging ... any recommendation for:

Linux:
Win32 (Win2000 / WinXP):

Thanks in advance.
Björn


(maybe anyone has a newbie guide "getting started", not filled with links but a "download + install this editor + debugger (preferable GUI) for this example, howto edit + compile + debug "hello world" step by step")


September 06, 2004
In article <chh5l4$158i$1@digitaldaemon.com>, Björn says...
>
>Greetings,
>now I'm up with a nice editor I'm looking for anything that could be used for
>debugging ... any recommendation for:
>

With that, do you mean either that the errors/warnings DMD produces are parsed by the IDE and automatically goes to that line, or do you mean a debugger that debugs on runtime?

>Linux:
>Win32 (Win2000 / WinXP):
>

I guess the best thing you can currently do is using assertion, together with the new features D has (unittests, in/out etc).

>Thanks in advance.
>Björn
>
>
>(maybe anyone has a newbie guide "getting started", not filled with links but a "download + install this editor + debugger (preferable GUI) for this example, howto edit + compile + debug "hello world" step by step")
>
>

Maybe we'll have something like that sooner or later. For now, I recommend you check out www.dsource.org


September 06, 2004
Björn schrieb:
> Greetings,
> now I'm up with a nice editor I'm looking for anything that could be used for
> debugging ... any recommendation for:
> 
> Linux:

Under Linux there is limited support for GDB, and, well, all of the visual debuggers build on top of it.

> Win32 (Win2000 / WinXP):

Under Windows, there is limited support for CodeView debuggers. You can obtain a visual debugger from microsoft website:

http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx

You will have some trouble viewing native D types and lots of other stuff, but at least you get a stack trace and point of segmentation fault, and might get a glimpse at local variables, can step and so on.

-eye
September 06, 2004
In article <chh933$16n6$1@digitaldaemon.com>, Joey Peters says...
>
>In article <chh5l4$158i$1@digitaldaemon.com>, Björn says...
>>
>>Greetings,
>>now I'm up with a nice editor I'm looking for anything that could be used for
>>debugging ... any recommendation for:
>>
>
>With that, do you mean either that the errors/warnings DMD produces are parsed by the IDE and automatically goes to that line, or do you mean a debugger that debugs on runtime?

Hi Joey,
exactly both

on Linux, there is gdb/ddd and on windows I shortly was told to try MS Windbg (!!) to I will give it a try ...

CU




>
>>Linux:
>>Win32 (Win2000 / WinXP):
>>
>
>I guess the best thing you can currently do is using assertion, together with the new features D has (unittests, in/out etc).
>
>>Thanks in advance.
>>Björn
>>
>>
>>(maybe anyone has a newbie guide "getting started", not filled with links but a "download + install this editor + debugger (preferable GUI) for this example, howto edit + compile + debug "hello world" step by step")
>>
>>
>
>Maybe we'll have something like that sooner or later. For now, I recommend you check out www.dsource.org
>
>


September 06, 2004
I use MSVC v6.0 full-time, which works quite well. The debug symbols are still lacking somewhat (as noted earlier), and it gets confused over more than two threads running at once. Other than that, it's quite effective. I still use printf() for a lot of debugging though ...



"Björn" <bjoern.diwald@gmx.de> wrote in message
news:chhnr9$1c39$1@digitaldaemon.com...
In article <chh933$16n6$1@digitaldaemon.com>, Joey Peters says...
>
>In article <chh5l4$158i$1@digitaldaemon.com>, Björn says...
>>
>>Greetings,
>>now I'm up with a nice editor I'm looking for anything that could be used
for
>>debugging ... any recommendation for:
>>
>
>With that, do you mean either that the errors/warnings DMD produces are
parsed
>by the IDE and automatically goes to that line, or do you mean a debugger
that
>debugs on runtime?

Hi Joey,
exactly both

on Linux, there is gdb/ddd and on windows I shortly was told to try MS
Windbg
(!!) to I will give it a try ...

CU




>
>>Linux:
>>Win32 (Win2000 / WinXP):
>>
>
>I guess the best thing you can currently do is using assertion, together
with
>the new features D has (unittests, in/out etc).
>
>>Thanks in advance.
>>Björn
>>
>>
>>(maybe anyone has a newbie guide "getting started", not filled with links
but a
>>"download + install this editor + debugger (preferable GUI) for this
example,
>>howto edit + compile + debug "hello world" step by step")
>>
>>
>
>Maybe we'll have something like that sooner or later. For now, I recommend
you
>check out www.dsource.org
>
>



September 08, 2004
As already mentioned, the Microsoft Visual Studio 98 debugger can be made to work, and I've found it useful for stepping over and into code. I haven't spent much time getting it to provide the value of variables. The 2003 version probably works also. There are quite good notes in earlier threads on how to do this (thx Arcane Jill].

> (maybe anyone has a newbie guide "getting started", not filled with links
but a
> "download + install this editor + debugger (preferable GUI) for this
example,
> howto edit + compile + debug "hello world" step by step")

Something that might be very helpful ... make notes as you proceed with the intention of helping others who follow in your footsteps. Have you used wiki4d for authoring collaborative notes?