I use an array of complex type definitions. But in debugging I usually am only interested in one of the variables. Is there a way to only see that variable?
type example
...
integer :: weight
...
end type example
program main
...
type (example), dimension(10) :: mytypes
...
In the Visual Studio debugger watch I can only enter: mytypes(1:n) and then plow through them to see weight.
What I want to see is mytypes(1:n)%weight.
Is there a way to do this? In desperation, I have created a simple array = mytypes(1:10)%weight and displayed it, but that is not a good solution when the variable in question is used in many places.
Thanks
Viewing only some type fields in debugger
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.


