- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've run into an itneresting issue. I've been trying to use the debugger that is part of the MS Visual C++ .NET 2003 Standard to debug Fortran code (Intel Fortran Compiler V8.0).
The trouble is, none of the variables I add to the watch list are ever recognized (they are reported as being undefined) I can view no arrays using the Array Visualizer, and the Command Window (in Immediate mode) doesn't understand any of the variables either.
What could be causing this? I read in the Forums here that the Intel Fortran compiler is completely supported by the VS.NET debugger.
Any help would be greatly appreciated.
-kirk
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Awhile back I read about the need to configure the debugger for various operations. This problem wouldn't happen to be related to this, would it?
The only configurations I've been able to find for the debugger are for the target path, command line parameters, and working directory.
-kirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the Intel Fortran logo (F in a blue box) in the splash screen displayed when open up the studio, I may be slightly lucky that I can do a little debug under visual studio 2002. I have a question with ID 8943 on this forum which I am trying to get some helpon debug aswell. My personal experience is:
1. The debug won't show the array with dimensions equal or more than 3.
2. Sometimes, thewatch windowtells you that the variable is not defined, but theyactually can produce correct result.
3.Sometimes it can beeven worse, the data show in the watch windows can show the wrong data.
4. If you are trying to set data breakpoint as it can be done in CVF6.5 under VS 6.0 (used to track the data change), it can be very difficult. I have not found a solution yet, I followed the document and no chance of success yet.
Message Edited by wu_internet on 04-28-2004 06:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following information is shown in the "Help. About" area.
Intel Fortran Compiler Integration for Microsoft Visual Studio .NET 2003, Version 8.0.1877.2003
This version is the free trial download version. Would this play a part in the issue?
-kirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have just downloaded and installed the "47 kit" you told me about. I also installed the patch. Latest version listed by VS.NET now is:
Intel Fortran Compiler Integration for Microsoft Visual Studio .NET 2003 Standard, Version 8.0.2149.2003
However, I am still unable to do any debugging. All watched variables are still listed as undefined, etc. I did register with Premier and have posted over this issue with them as well.
-kirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-kirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-kirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
C:Program FilesMicrosoft Visual StudioCommonMSDev98BinAUTOEXP.DAT C:Program FilesMicrosoft Visual Studio .NET 2003Common7PackagesDebuggerAUTOEXP.DAT
appear to use the same syntax and except for a few minor additions of new types are identical. This leads me to believe that there the core debugger may be quite similar between the 2 versions, although I was unable to find any information to directly support this. It also leads me to believe that under version 6.0, the Debugger had been "TAUGHT" how to read the FORTRAN ARRAY symbols information thru some sort of plug-in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It contains the file
The main project file for Console2
Console2.f90
This is the main source file for the Fortran Console application. It contains the program entry point.
global.f90 - global module containing global declarations used through the program
mod1.f90 - module containing type declarations
sub1.f90 - subroutine to read in some data - uses a contained subroutine readinfo
You can't access the variable grp03 (a variable using a defined structure) in the debugger even though the program successfully reads, and then writes out the information in the structure. As well, even within console2.f90, you can't see the grp03 variable even though it's in scope.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
real A(10)
DO i=1, 10
A(i) = i*1.5
END DO
PRINT *, A
END

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page