The test program below has a peculiar property: it invokes an inquiry function whose return value depends on the *type *rather than the *value *of its argument. What should we see in the debugger when such an argument is undefined and we compile with /debug?
program trigrs
implicit none
integer:: m
real :: ti,param(3)
ti=tiny(param(m)) ! m as well as param are undefined
print *,ti ! but tiny() depends on type of arg, not value
end program trigrs
When this program is compiled using v8.66 with /debug or /undef for 32-bit and opened in the v8.64 debugger, we see entries for **m **and **param **in the variables panel. In the 64-bit version, these variables are not even present in the variables panel!
Pro and con arguments could be listed for showing entries for unused/unneeded variables in the variables panel. My preference would be to see more details when debugging, since seeing 'Undefined' for variables such as m and param may help to detect bugs more easily.