Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29244 Discussions

Visual Fortran datatip calculations crash in VS2008

tv3
Beginner
510 Views

With Visual Fortran for Win inside Microsoft Visual Studio 2008: Visual Studio datatip for single variable works, but VS sends error message and doesn't display for datatip of an expression, particularly using "**" for exponential or when expression includes more than one type of operator. This worked correctly with Visual Studio 2005.

Is there a patch or comipler option that addresses this?

example:

at a break during debug when all variables are defined and have values, part of the equation is selected with the mouse and then hovered over to get current value. In the C++ code this works fine. You can even get an answer for a non-parenthesied expression that, within context of the full equation, disobeys order of operations

test1 =2;
test = 1.139E-9*test1*1.75;


(with the E signalling decimal location)

In C++, a datatip value is given for 9*test1 (even though that is an incorrect thing to ask in context of the whole equation), or for test1*1.75, or1.139E-9 or 1.139E-9*test1*1.75

Written in Fortran and compiled into the C++ project, 9*test1 works but no other no part of the A= equation can be looked at using datatips including test1*1.75, or1.139E-9 or 1.139E-9*test1*1.75. Instead VS does nothing or asks to send an error report.

Error reports are sent particularly when operations are mixed. The data tip seems to work most often for * and for / , and is worse for + - or **
0 Kudos
1 Reply
Steven_L_Intel1
Employee
510 Views
I believe this was fixed some months ago. Please try the current update 6 (11.1.065).
0 Kudos
Reply