Code Comments
Programming Forum and web based access to our favorite programming groups.I'm currently using Emacs+gdb as my integrated fortran editor and debugger. Recently I heard from someone that ECB plugin for emacs is pretty good and I'm no sure whether it is suit for Fortran. Then what about eclipse and Photran or anything else? Show me your choise plz, thx :)
Post Follow-up to this message>>>>> "Ying" == Ying Zu <nye@shao.ac.cn> writes: Ying> I'm currently using Emacs+gdb as my integrated fortran editor and Ying> debugger. Way to go. Ying> Recently I heard from someone that ECB plugin for emacs is pretty good Ying> and I'm no sure whether it is suit for Fortran. Slow, buggy and virtually no support for fortran at all. Ying> Then what about eclipse and Photran or anything else? no idea. Ying> Show me your choise plz, thx Ying> :) Stay with the one you are using now, I do understand that grass is always greener on the other side of river. :) HTH -- Yongtao Yang email: yangyongtao@yahoo.com
Post Follow-up to this messageYing Zu articulated on 5/11/2005 11:02 AM: >I'm currently using Emacs+gdb as my integrated fortran editor and >debugger. >Recently I heard from someone that ECB plugin for emacs is pretty good >and I'm no sure whether it is suit for Fortran. >Then what about eclipse and Photran or anything else? >Show me your choise plz, thx >:) > > If you are using Fortran 9x, gdb may not be the best debugger to use. This will apparently change soon due to rapid developments in g95 and gfortran, but untill then, C/D/IVF will keep ruling the debugger world under Windows, and under Linux I don't think you have tools to debug Fortran 9x code as effectively. -- FCC. === He who talks too much commits a sin. -Anonymous
Post Follow-up to this messageYing Zu articulated on 5/11/2005 11:02 AM: >I'm currently using Emacs+gdb as my integrated fortran editor and >debugger. >Recently I heard from someone that ECB plugin for emacs is pretty good >and I'm no sure whether it is suit for Fortran. >Then what about eclipse and Photran or anything else? >Show me your choise plz, thx >:) > > If you are using Fortran 9x, gdb may not be the best debugger to use. This will apparently change soon due to rapid developments in g95 and gfortran, but untill then, C/DVF will keep ruling the debugger world under Windows, and under Linux I don't think you have tools to debug Fortran 9x code as effectively. However, I gave a shot to Eclipse and photran under Linux and they seemed to work OK, though not as effectively as C/DVF under Windows (for example some symbols do not have any debug info so their values cannot be seen, and arrays may have confusing debug info which makes it difficult to easily see the values). -- FCC. === He who talks too much commits a sin. -Anonymous
Post Follow-up to this messageYing Zu articulated on 5/11/2005 11:02 AM: >I'm currently using Emacs+gdb as my integrated fortran editor and >debugger. >Recently I heard from someone that ECB plugin for emacs is pretty good >and I'm no sure whether it is suit for Fortran. >Then what about eclipse and Photran or anything else? >Show me your choise plz, thx >:) > > If you are using Fortran 9x, gdb may not be the best debugger to use. This will apparently change soon due to rapid developments in g95 and gfortran, but until then, C/DVF will keep ruling the debugger world under Windows, and under Linux I don't think you have tools to debug Fortran 9x code as effectively. However, I gave a shot to Eclipse and photran under Linux and they seemed to work OK, though not as effectively as C/DVF under Windows (for example some symbols do not have any debug info so their values cannot be seen, and arrays may have confusing debug info which makes it difficult to see the values). -- FCC. === He who talks too much commits a sin. -Anonymous
Post Follow-up to this messageFCC <fccaner@REMOVEMEgmail.com> writes: > and under Linux I don't think you have tools to debug Fortran 9x > code as effectively. you can think as much as you like on this issue, it will not change the fact that there are actually several very capable Fortran 9x debuggers for linux. you can even point and click in some of them. ever heard of totalview? Helge
Post Follow-up to this messageHelge Avlesen articulated on 5/11/2005 2:02 PM: >FCC <fccaner@REMOVEMEgmail.com> writes: > > > > >you can think as much as you like on this issue, it will not change >the fact that there are actually several very capable Fortran 9x >debuggers for linux. you can even point and click in some of >them. ever heard of totalview? > >Helge > > No, I have not. I like to use Linux, despite the fact that I cannot debug Fortran 9x programs. In my experience, most often the problem is not the IDE but the debug information generated by compilers, which can be lacking compared to those under Windows. Or may be I am not talented enough to be able to use these debuggers under Linux ? If it is so, may be this is because I don't have a degree in Computer Science although I have several papers in renowned journals in the field of Mechanics of Materials. -- FCC. === The greatest good you can do for another is not just to share your riches but to reveal to him his own. -Benjamin Disraeli.
Post Follow-up to this messageFCC <fccaner@REMOVEMEgmail.com> writes: > No, I have not. I like to use Linux, despite the fact that I cannot > debug Fortran 9x programs. In my experience, most often the problem is > not the IDE but the debug information generated by compilers, which can > be lacking compared to those under Windows. it sounds to me that you are thinking about gdb, which I agree lacks easy to use support for Fortran. It took many years before you could get the value of common block variables in g77 without ugly tricks, so I dont expect it to happen very soon in g95/gfortran. I guess it is a non trivial task, and there are very few people that actually have the time and skill to hack on these things unfortunately. all vendor compilers I have used, however, e.g. Intel, Portland, Pathscale, provide command line debuggers that more or less fully support Fortran 9x features. Helge
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.