This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error trace in GFortran?


On Apr 10, 2006, at 05:38:38, Philippe Schaffnit wrote:


Hi!


I've been looking around for a 'trace back' extension, which I do not
seem to find in GFortran. This is by no means a must have, but if it can
be easily implemented, it might be nice to put it on a 'whish list'...
lf95 and cvf both have something similare ('A trace back map is
generated for the program unit being executed.' to quote the lahey
documentation), this is very handy with multi-purpose error handling
routines... (see example hereafter).


Did I overlook something, and is there already a way of doing that with
GFortran?

You can use "gdb" for that, as in


gdb --args yourprogramme yourarguments
run
[error occurs]
backtrace
quit

-erik

--
Erik Schnetter <schnetter@cct.lsu.edu>

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.



Attachment: PGP.sig
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]