- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recently upgraded from composer 2011 to 2013.
If i set a break point (in VS 2008), the value of variables are incorrect in the watch window or when i hover over them with the mouse.
For example:
<!--break-->
...
variable_real8 = 0.D0
write(*,*) variable_real8
...
<!--break-->
If my break point is immediately after the write statement, the value of "variable_real8" according to VS is 1.230248560226257D+237, whereas the correct value (0.000000000000000E+000) is written to the command window.
The debugger was working properly as far as i know in 2011. Is there a setting somewhere that would affect this? I currently have optimization disabled (/0d), debug is full, etc.
thanks,
rob
Link Copied
- 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
Good day,
I've seen this problem with Intel(R) Visual Fortran Composer XE 2011 Integration for Microsoft Visual Studio* 2010, 12.0.3471.2010, Copyright (C) 2002-2011 Intel Corporation
* Other names and brands may be claimed as the property of others.
My experience is that it happens in large subroutines with a lot of local variables. (The subroutine I'm struggling with at the moment is about 2500 executable lines with about 200 lines of declared local variables, several of which are arrays.) I've not noticed any problems with small subroutines. The program with which I am working is a heritage Fortran (pre-77) program, so the compiler option to save all local variables is required. When another subroutine (usually short) is called with a variable that displays incorrectly in the large subroutine, the variable displays correctly in the called subroutine, but not upon returning to the large subroutine. Today it is occuring at least for real, logical, and derived types, but I think I've seen it for integer types in the past.
-gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you can reproduce the problem with the 15.0 compiler, please provide a buildable and runnable test case and we'll be glad to take a look. You can use Intel Premier Support to submit the problem if you don't want to do it here.

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