For Programmers: Free Programming Magazines  


Home > Archive > Fortran > February 2007 > A Good F95 Debugger in Linux or Windows









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author A Good F95 Debugger in Linux or Windows
MPBoulton@gmail.com

2007-02-22, 7:08 pm

Hye guys. I'm currently working on a FORTRAN 95 programming assignment
in Linux (making it the first time I've used Linux) and I'm wondering
if anyone has some recommendations for debuggers?

Basically, I'm finding it really difficult to get by without the
ability to step through my program line by line to check my values are
correct etc. I think these are called "step debuggers". Anyway, I
would really like to find a good one, preferably one that lets me see
values with very little fuss, perhaps by hovering over the value in
the code or something.

I might consider a really good Windows one, although it has been
stressed that we're supposed to be coding in Linux (due to some
problem with Windows based text editors adding a character at the end
of each line). Would Emacs for Windows for example have such an issue?

I have had a go at using the GDE debugger contained within Emacs, but
I could do with some alternatives.

Kind regards,

Matt

stan@worldbadminton.com

2007-02-22, 7:08 pm

In comp.os.linux.misc MPBoulton@gmail.com wrote:
: I might consider a really good Windows one, although it has been
: stressed that we're supposed to be coding in Linux (due to some
: problem with Windows based text editors adding a character at the end
: of each line). Would Emacs for Windows for example have such an issue?

I know--probably trolling...

But-- If your process/code/compiler/etc can't deal with std CR/LF
characters you have MUCH bigger problems than a debugger.

Stan

--
Stan Bischof ("stan" at the below domain)
www.worldbadminton.com
Geico Caveman

2007-02-22, 7:08 pm

MPBoulton@gmail.com wrote:

> Hye guys. I'm currently working on a FORTRAN 95 programming assignment
> in Linux (making it the first time I've used Linux) and I'm wondering
> if anyone has some recommendations for debuggers?
>
> Basically, I'm finding it really difficult to get by without the
> ability to step through my program line by line to check my values are
> correct etc. I think these are called "step debuggers". Anyway, I
> would really like to find a good one, preferably one that lets me see
> values with very little fuss, perhaps by hovering over the value in
> the code or something.
>
> I might consider a really good Windows one, although it has been
> stressed that we're supposed to be coding in Linux (due to some
> problem with Windows based text editors adding a character at the end
> of each line). Would Emacs for Windows for example have such an issue?
>
> I have had a go at using the GDE debugger contained within Emacs, but
> I could do with some alternatives.
>
> Kind regards,
>
> Matt


Haven't used f95 for years, but I had good experiences with using idb
(Intel's debugger) with DDD frontend.
Kamaraju S Kusumanchi

2007-02-22, 7:08 pm

MPBoulton@gmail.com wrote:

> Hye guys. I'm currently working on a FORTRAN 95 programming assignment
> in Linux (making it the first time I've used Linux) and I'm wondering
> if anyone has some recommendations for debuggers?
>


Emacs is meant to be an editor (well, some call it OS anyway :-)). I think
debuggers are specific to the compiler that you use. I suggest gfortran for
fortan compiler, gdb for debugger, vim for editor, ctags for generating
tags. Emacs is also very good and has a nice interface to interact with
gdb. DDD is a nice graphical front end for gdb.

> I might consider a really good Windows one, although it has been
> stressed that we're supposed to be coding in Linux (due to some
> problem with Windows based text editors adding a character at the end
> of each line). Would Emacs for Windows for example have such an issue?


This is very trivial. Any good editor should be able to handle this. I know
vim does. Pretty sure Emacs folks have their own tricks to deal with this.

> I have had a go at using the GDE debugger contained within Emacs, but
> I could do with some alternatives.


I am not aware of GDE debugger. Is this something new or are you referring
to gdb? Emacs is an editor, it does not come with debugger. However it can
interface/talk with debuggers installed on your system.

raju

--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/
cup

2007-02-26, 10:26 pm

For windows, try silverfrost (formerly salford) home edition. The IDE is called Plato3. It is a bit slow and you get a splash screen everytime the program runs but it does the business so I'm not complaining.

I don't know if there is a Linux version.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com