|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.debugger - Is there an IDE with a working graphic debuger under Linux ?
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 ? Aug 29 2007
the problems codeblocks has concern the windows D debugger ddbg only. on linux you can try http://www.zerobugs.org/ 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. Sep 03 2007
Vladimir Panteleev escribio':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. Sep 03 2007
|