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

VS watch cannot show some variable

WangWJ
Novice
512 Views

I am using VS2022+oneapi2025. Here is my program:

module AAA
    implicit none
    type AA
        integer     :: a=0
        real(8)     :: b=1.6
        
    contains
        procedure,pass      :: abc
    end type AA
    
    interface
        module subroutine abc(self,cc)
            class(AA),intent(inout)     :: self
            real(8),intent(inout)       :: cc
        end subroutine abc
        
    end interface
    
    contains
    
        module subroutine abc(self,cc)
            class(AA),intent(inout)     :: self
            real(8),intent(inout)       :: cc
            
            self%b=cc
        end subroutine abc

end module AAA
    
    
    
    
program main
use AAA
implicit none

    real(8)         :: sd=10.9
    type(AA)        :: aac
    
    call aac%abc(sd)

end program main

Variable "self" cannot show in VS watch when debugging:

WangWJ_0-1736134410530.pngWangWJ_1-1736134464184.png

Is there anyone can help me?

Labels (1)
4 Replies
andrew_4619
Honored Contributor III
450 Views

andrew_4619_0-1736161555373.png

 

Another of the many cases the debugger has problems with. The latest FEE patch is applied to my system and that does not fix this one.

Devorah_H_Intel
Moderator
421 Views

Thank you for reporting this. I have escalated to Debugger Engineering. 

0 Kudos
Devorah_H_Intel
Moderator
236 Views

This issue will be fixed in the upcoming 2025.1 ifx release:

 

Screenshot 2025-02-07 095048.png

andrew_4619
Honored Contributor III
213 Views

Thanks

0 Kudos
Reply