digitalmars.D.debugger - Is there an IDE with a working graphic debuger under Linux ?
- lalebarde (7/7) Aug 29 2007 Hello,
- Jascha Wetzel (3/16) Aug 29 2007 the problems codeblocks has concern the windows D debugger ddbg only.
- lalebarde (3/5) Aug 29 2007 Hello,
- Ary Manzana (3/18) Aug 29 2007 You can try Descent, which works with GDB for linux:
- lalebarde (5/9) Sep 03 2007 Thank you Manzana. I have installed Eclipse (IDE), Descent (D source edi...
- Vladimir Panteleev (5/8) Sep 03 2007 You have to specify -g during linking as well - although I think DSSS/Re...
- Ary Manzana (4/14) Sep 03 2007 Apart from that, yesterday I fixed some stuff regarding Descent with
Hello, I want to start a new project with D. I have installed both dmd and gdc under my gentoo (gcc with use flag D for the last). From my research, it appears only codeblocks and eclipse deal with D. I have installed codeblocks. D projects are proposed, there are configurations both for dmd and gdc. It sounds ok. At compilation, only gdc is working. It is not an issue for me since at this step, I don't care using one or the other. Debugging fails. I made some research on the web, found the patches for gdb 6.3, 6.4, 6.5 at http://dsource.org/projects/gdb-patches/, modify the gdb6.5-r2 ebuild to apply the 6.5 patch (inspired from http://www.dsource.org/forums/viewtopic.php?t=979), force this release to be compiled. I checked the patches are correctly applyed. Debugging behave and fails the same : the line where I set a breakpoint is not highlighted when the program is stopped there. Running line by line does not work (behave like a resume), some breakpoints are not seen. I spent more time on the web and found here - http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.deb gger&article_id=247 - that codeblocks have problems with d debugger. So, my question is : What IDE most suit D, with working graphic debugger ?
Aug 29 2007
lalebarde wrote:Hello, I want to start a new project with D. I have installed both dmd and gdc under my gentoo (gcc with use flag D for the last). From my research, it appears only codeblocks and eclipse deal with D. I have installed codeblocks. D projects are proposed, there are configurations both for dmd and gdc. It sounds ok. At compilation, only gdc is working. It is not an issue for me since at this step, I don't care using one or the other. Debugging fails. I made some research on the web, found the patches for gdb 6.3, 6.4, 6.5 at http://dsource.org/projects/gdb-patches/, modify the gdb6.5-r2 ebuild to apply the 6.5 patch (inspired from http://www.dsource.org/forums/viewtopic.php?t=979), force this release to be compiled. I checked the patches are correctly applyed. Debugging behave and fails the same : the line where I set a breakpoint is not highlighted when the program is stopped there. Running line by line does not work (behave like a resume), some breakpoints are not seen. I spent more time on the web and found here - http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.deb gger&article_id=247 - that codeblocks have problems with d debugger. So, my question is : What IDE most suit D, with working graphic debugger ?the problems codeblocks has concern the windows D debugger ddbg only. on linux you can try http://www.zerobugs.org/
Aug 29 2007
the problems codeblocks has concern the windows D debugger ddbg only. on linux you can try http://www.zerobugs.org/Hello, Thanks for your reply. Unfortunatly, the D demangler patch for zero seems to be far from usable : http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.debugger&artnum=17 Another solution for Linux ?The lack of graphic debuger would be actually a showstopper for me. Unfortunatly, I am not a geak.
Aug 29 2007
You can try Descent, which works with GDB for linux: http://dsource.org/projects/descent lalebarde escribió:Hello, I want to start a new project with D. I have installed both dmd and gdc under my gentoo (gcc with use flag D for the last). From my research, it appears only codeblocks and eclipse deal with D. I have installed codeblocks. D projects are proposed, there are configurations both for dmd and gdc. It sounds ok. At compilation, only gdc is working. It is not an issue for me since at this step, I don't care using one or the other. Debugging fails. I made some research on the web, found the patches for gdb 6.3, 6.4, 6.5 at http://dsource.org/projects/gdb-patches/, modify the gdb6.5-r2 ebuild to apply the 6.5 patch (inspired from http://www.dsource.org/forums/viewtopic.php?t=979), force this release to be compiled. I checked the patches are correctly applyed. Debugging behave and fails the same : the line where I set a breakpoint is not highlighted when the program is stopped there. Running line by line does not work (behave like a resume), some breakpoints are not seen. I spent more time on the web and found here - http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.deb gger&article_id=247 - that codeblocks have problems with d debugger. So, my question is : What IDE most suit D, with working graphic debugger ?
Aug 29 2007
Thank you Manzana. I have installed Eclipse (IDE), Descent (D source editor eclipse plugin) and DSSS (build engine). At this point, it is alright. I can make a D project, edit it (Descent looks great), and build it, both with GDC or DMD. I then installed gdb 6.5 with the D gdb patch 6.5 (cf http://dsource.org/projects/gdb-patches/). Debugging does not work for me, either with GDC or DMD. I compile with -g to have the symbols. But no symbol seems to be loaded. Does it work for someone ? Ary Manzana Wrote:You can try Descent, which works with GDB for linux: http://dsource.org/projects/descent
Sep 03 2007
On Mon, 03 Sep 2007 11:52:58 +0300, lalebarde <l.alebarde2 free.fr> wrote:Thank you Manzana. I have installed Eclipse (IDE), Descent (D source editor eclipse plugin) and DSSS (build engine). At this point, it is alright. I can make a D project, edit it (Descent looks great), and build it, both with GDC or DMD. I then installed gdb 6.5 with the D gdb patch 6.5 (cf http://dsource.org/projects/gdb-patches/). Debugging does not work for me, either with GDC or DMD. I compile with -g to have the symbols. But no symbol seems to be loaded.You have to specify -g during linking as well - although I think DSSS/Rebuild will do that automatically. Check the command line it passes to the linker. -- Best regards, Vladimir mailto:thecybershadow gmail.com
Sep 03 2007
Vladimir Panteleev escribio':On Mon, 03 Sep 2007 11:52:58 +0300, lalebarde <l.alebarde2 free.fr> wrote:Apart from that, yesterday I fixed some stuff regarding Descent with gdb. I'll test it some more, and probably make a maintenance release in these days (which will also have an Open Type dialog).Thank you Manzana. I have installed Eclipse (IDE), Descent (D source editor eclipse plugin) and DSSS (build engine). At this point, it is alright. I can make a D project, edit it (Descent looks great), and build it, both with GDC or DMD. I then installed gdb 6.5 with the D gdb patch 6.5 (cf http://dsource.org/projects/gdb-patches/). Debugging does not work for me, either with GDC or DMD. I compile with -g to have the symbols. But no symbol seems to be loaded.You have to specify -g during linking as well - although I think DSSS/Rebuild will do that automatically. Check the command line it passes to the linker.
Sep 03 2007