The results are almost the same. The main difference is that with the C program gdb is smart enough to insert a break point at the beginning of the main() function and with Fortran there are no break points of any kind by default, so you have to add one. But besides that, they are identical. I can see the source code, and I can inspect the value of variables if I go through the steps that I listed earlier:
- Right-click on "In scope expressions" - Enter variable name. - Click "Inspect". - Click "Add to monitor".
Thanks for the help.
Cheers,
Daniel.
PS: A completely unimportant side-comment. In 1990 they officially changed the spelling of the language from "FORTRAN" to "Fortran". This was done at the same time as a major language reform meant to modernize the language. People still use the all-caps spelling when referring to the pre-reform versions, the latest of which is from 1977.