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

Evaluating floating point operations crashes debugger

onkelhotte
New Contributor II
618 Views

Hi there,
when I debug my code and I watch a line like

(length1+length2+length3)/3.

the debugger crashes and Dr. Watson wants to send an error report to mighty M$. The value in the watch window is

Unable to evaluate the expression. A serious internal error occurred while processing this command. The debugger may be unstable now. It is recommended that you save all files and exit.

Removing the dot brings me the right value.

(length1+length2+length3)/3

This is annoying when I want to evaluate a more complex expression, because I have to remove every . in the formula.

Is that a Visual Studio 2008 problem or an IVF10.1 problem?

Thanks in advance,
Markus

0 Kudos
5 Replies
Steven_L_Intel1
Employee
618 Views
It's an IVF problem - I can reproduce it, and MSVC doesn't do the same. I will report this to the developers. Intel issue DPD200047559.
0 Kudos
Steven_L_Intel1
Employee
618 Views
This problem has been fixed in our sources. I expect the fix to appear in the next 10.1 update (September or later). Thanks for bringing it to our attention.
0 Kudos
tboehme
Beginner
618 Views

Any news when this release will be available?

Debugging is really annoying without being able to use floting point expressions in the watch window.

regards,
Thomas

0 Kudos
Steven_L_Intel1
Employee
618 Views
The next 10.1 update is currently scheduled for the last week of October.
0 Kudos
Steven_L_Intel1
Employee
618 Views
You can also try the 11.0 beta - I think it's fixed there already.
0 Kudos
Reply