Thank you yugi,
I put these lines into my file but it still doesn't work
After re-installing Telemac, I ran telemac2d.py t2d_gouttedo.cas, cancelled running program to take executable file and then ran gdb, I got this:
In the first picture, I already set breakpoint to lecdon_telemac2d_
Next I type "run" and gdb goes to the lecdon_telemac2d_. And you can see sentences "Single stepping until exit from function lecdon_telemac2d_, which has no line number information"
I also try to set breakpoint at source file but gdb can not find out it.
Is it normal for debugging in Ubuntu? I expect my gdb can debug like this user (he posted in
here