Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
bruce-michel
March 28, 2002 2:03 AM PST
Viewing only some type fields in debugger
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


Intel Software Network Forums Statistics

8491 users have contributed to 31629 threads and 100764 posts to date.
In the past 24 hours, we have 32 new thread(s) 141 new posts(s), and 200 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to Crash when loading skeleton The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member shadowwolf99