- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Intel team:
This question seconds the request by @Frank_J
Please develop a facility to watch / view unreferenced submodule object in Visual Studio debugger and offer it to customers of Intel with Intel oneAPI HPC and Intel Fortran (IFX) toolkit as part of Intel Fortran integration with Visual Studio.
To illustrate, please consider the trivial code snippet:
submodule(m) sm
character(len=12) :: msg = "Hello World!"
contains
module subroutine sm_sub()
!print *, msg
return
end subroutine
end submodule smA breakpoint at line 6 currently in above snippet provides no ability to watch the object 'msg' in the Watch window or view the object by hovering it with the mouse.
Now, uncomment line 5 to introduce a reference to object 'msg' and it comes watchable and viewable.
Contrast this situation with objects hosted in modules e.g.,
module m
integer :: a = 42
contains
subroutine sub()
!print *, "sub::a = ", a
return
end subroutine
end module mWith a similar breakpoint at line 6, object 'a' can at least be watched as 'm::a'
@Shiquan_Su explains in the link below "This is the current implementation limitation"
Our enterprise team request Intel team to do the needful to overcome this limitation.
링크가 복사됨