Thank you for all,
From now on, I can debug the Fortran source code of Telemac.
With example gouttedo, I run "gdb out_user_fortran" and then I notice something really strange.
I know that the subroutine
lecdon_telemac2d is involved but I can not set breakpoint at it by typing:
.
I find out that I can type:
(gdb) break LECDON_TELEMAC2D_
, the same with
. It works. But I can not set breakpoint at a line of
lecdon_telemac2d.F or
telemac2D.F.
I wonder what is happening here. I suppose after compiling, Telemac source code will be changed - at least names of subroutines, names of variables, lines of code - by gfortran.
Is it correct?
Or does anyone happen to have the same problem as debugging Telemac fortran code in Ubuntu by change?
Thank you very much