www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - getting started - Debugger recommendation ?

reply Björn <bjoern.diwald gmx.de> writes:
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")
Sep 06 2004
next sibling parent reply Joey Peters <Joey_member pathlink.com> writes:
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
Sep 06 2004
parent reply Björn <bjoern.diwald gmx.de> writes:
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
Sep 06 2004
parent "antiAlias" <fu bar.com> writes:
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
Sep 06 2004
prev sibling next sibling parent Ilya Minkov <minkov cs.tum.edu> writes:
Bj=F6rn schrieb:
 Greetings,
 now I'm up with a nice editor I'm looking for anything that could be us=
ed for
 debugging ... any recommendation for:
=20
 Linux:
Under Linux there is limited support for GDB, and, well, all of the=20 visual debuggers build on top of it.
 Win32 (Win2000 / WinXP):
Under Windows, there is limited support for CodeView debuggers. You can=20 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=20 stuff, but at least you get a stack trace and point of segmentation=20 fault, and might get a glimpse at local variables, can step and so on. -eye
Sep 06 2004
prev sibling parent "Lynn Allan" <l.allan att.net> writes:
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?
Sep 07 2004