Quantcast
Channel: Fortran
Viewing all articles
Browse latest Browse all 3108

Viewing module variables in /O3

$
0
0

This seems to be a new debugging quirk (VS 2010 with IVF V15 Update 1)

I have a module that defines a user defined type:

module  MOD_HOST
    type TypeHOST
      ...
    end type TypeHOST
    type(TypeHOST), target :: HOST
end module  MOD_HOST

I then have a different source file compiled with /O3 that uses MOD_HOST.

The debugger (VS 2010) now complains that it cannot view a register variable when attempting to view HOST.

In earlier versions of IVF, with this source file compiled with /O3, the debugger could resolve the symbolic address.

Attempt of viewing

MOD_HOST::HOST

Shows an address, but not as a user defined type (cannot explore the variable).

Same with trying to examine

MOD_HOST_MP_HOST

Jim Demspey

 


Viewing all articles
Browse latest Browse all 3108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>