geany-plugins
geany-plugins copied to clipboard
Debugger: Fortran
Dear all, I am very thankful to the debugger plugin team. It is a very good tool to my work. I would like to ask some "how to" here. Maybe some of them can be considered into wishlist.
- How to show variables' address? In F90, we have LOC(x) to show its address in memery. Can I use it in the "watching window" as well?
2.how to access some variables that are located under module? In intel f90+VS in Windows10, we have "mod::" method in debugger to enable this. Can we have the similar functions in geany?
- ... (Maybe we can add more "enhancement" under this box?:D)
Thanks. Shuo
I'm not GDB expert, and don't know Fortran at all, but if it's the same commands as for C/C++, I think you can use print &thevar inside the console tab.
Years later... but just FYI (with GDB 8.1.1):
- To see the address value of a Fortran variable
x: add&xin the Debugger's Watch tab. The dereferenced variable value can be shown by clicking on theVarrow. - To reference a Fortran module variable or parameter: specify it in form
modname::varname
E.g.
