digitalmars.D - getting started - Debugger recommendation ?
- Björn (10/10) Sep 06 2004 Greetings,
- Joey Peters (8/18) Sep 06 2004 With that, do you mean either that the errors/warnings DMD produces are ...
- Björn (6/31) Sep 06 2004 Hi Joey,
- antiAlias (20/45) Sep 06 2004 I use MSVC v6.0 full-time, which works quite well. The debug symbols are
- Ilya Minkov (11/17) Sep 06 2004 Under Linux there is limited support for GDB, and, well, all of the=20
- Lynn Allan (10/13) Sep 07 2004 As already mentioned, the Microsoft Visual Studio 98 debugger can be mad...
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
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
In article <chh933$16n6$1 digitaldaemon.com>, Joey Peters says...In article <chh5l4$158i$1 digitaldaemon.com>, Björn says...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 ... CUGreetings, 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
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...forGreetings, now I'm up with a nice editor I'm looking for anything that could be usedparseddebugging ... any recommendation for:With that, do you mean either that the errors/warnings DMD produces areby the IDE and automatically goes to that line, or do you mean a debuggerthatdebugs 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 ... CUwithLinux: Win32 (Win2000 / WinXP):I guess the best thing you can currently do is using assertion, togetherthe new features D has (unittests, in/out etc).but aThanks in advance. Björn (maybe anyone has a newbie guide "getting started", not filled with linksexample,"download + install this editor + debugger (preferable GUI) for thisyouhowto edit + compile + debug "hello world" step by step")Maybe we'll have something like that sooner or later. For now, I recommendcheck out www.dsource.org
Sep 06 2004
Bj=F6rn schrieb:Greetings, now I'm up with a nice editor I'm looking for anything that could be us=ed fordebugging ... 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
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 linksbut a"download + install this editor + debugger (preferable GUI) for thisexample,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