- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not able to see the values of the three automatic arrays in the DoSomething subroutine of the code below in a debug session using IFX. The watch window shows them as arrays with dimension 15 but their values show as "Undefined address". I am using oneAPI_2024.2.1.1083 with VS 2022 Community Edition.
Is there a way I can properly watch these arrays or is this a Fortran-VS integration issue?
Thanks!
module aModule
implicit none
contains
subroutine DoSomething(ne,ilutype)
integer,intent(in) :: ne,ilutype
real(8),dimension(ne) :: relemvalues,relemvalues_short,relemvalues_surplus
select case (ilutype)
case (1)
relemvalues = 5.0
case (2)
relemvalues = 8.0
case default
relemvalues = 1.0
end select
relemvalues_short = 0.0
relemvalues_surplus = 0.0
end subroutine DoSomething
end module aModule
program main
use aModule
implicit none
integer :: ne,ilutype
ne = 15
ilutype = 1
call DoSomething(ne,ilutype)
end program main
Link Copied
0 Replies

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