- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try the format
moduelname::modulevar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much!

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page