View previous topic :: View next topic |
Author |
Message |
hevaaga
Joined: 02 Aug 2007 Posts: 3
|
Posted: Tue Aug 21, 2007 8:48 am Post subject: Debugging arrays |
|
|
I'm trying to look at Fortran arrays in Visual Studio 2003 while debugging, but only the first element is visible. Is there a trick to see the whole array?
Someone told me to write like this in a watch window:
A, 10
(Where A is the name of the variable)
But this doesn't work. Any suggestions?
Hans Egil |
|
Back to top |
|
|
Robert
Joined: 29 Nov 2006 Posts: 445 Location: Manchester
|
Posted: Thu Aug 23, 2007 7:06 pm Post subject: |
|
|
It should just expand. Is this Win32 or .NET? |
|
Back to top |
|
|
hevaaga
Joined: 02 Aug 2007 Posts: 3
|
Posted: Fri Aug 24, 2007 7:41 am Post subject: |
|
|
It's .NET. I found out if I declare an array like this
REAL a(*,*)
it's possible to see what it contains. |
|
Back to top |
|
|
Robert
Joined: 29 Nov 2006 Posts: 445 Location: Manchester
|
Posted: Sat Aug 25, 2007 2:25 pm Post subject: |
|
|
How was it defined when it was not fully visible? |
|
Back to top |
|
|
hevaaga
Joined: 02 Aug 2007 Posts: 3
|
Posted: Mon Aug 27, 2007 8:19 am Post subject: |
|
|
It was defined like this:
REAL a(n,n)
or
REAL a(100,100)
or
REAL a(:, |
|
Back to top |
|
|
|