Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Question about debug

Zhanghong_T_
Novice
494 Views
Hi all,
I have a question bother me for a long time. Can anyone tell me how can I watch the value of a variable after the program run to the breakpoint I set? Here the variable is defined in a module and the subroutine is contained in the module. An example is listed as following:
module test
integer i, j, k(100)
contains
subroutine mytest
...
i=k(j)
...
end subroutine
end module
program test
...
call mytest
end program
How can I watch the value of i, k and j when I run to
i=k(j) ?
Thanks
Zhanghong, Tang
0 Kudos
2 Replies
rahzan
New Contributor I
494 Views
Try the format
moduelname::modulevar
0 Kudos
Zhanghong_T_
Novice
494 Views
Thank you very much!
0 Kudos
Reply