Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29281 Discussions

Can not evaluate the expression in visual studio

zhang_l_
Beginner
536 Views

My system is win8. I installed visual studio2012 and intel visual fortran 2013 (basically, i only installed the "fortran" part). The integration of visual fortran to visual studio works fine, I could build, compile and debug the solution.

But there is one problem. I want to watch some variables while debugging, but the Local variable Window displays nothing (actually, I have some local variables in that part). And If  I add some variables to the Watch Window, it displays "Can not evaluate the expression".

I read some related topics in this forum, TommyCee told me to write as "module_name::variable_name" in the Watch Window. But that didn't work, still "can not evaluate the expression".

I wonder: 1. Is this a problem with visual fortran or with visual studio?

              2. If there is some special setting I forgot?

  I'm doing some numerical work, and I really need to know how the variablse change during the process. Can anyone tell me how to check where the problem is and fix. 

0 Kudos
2 Replies
Steven_L_Intel1
Employee
536 Views

Do you have the latest update (Update 4) to Intel Visual Fortran? We had a problem exactly like this in the initial release.

0 Kudos
zhang_l_
Beginner
536 Views

Steve,

        I don't have the update 4 version...I'll update to the newest one. Thank you~

0 Kudos
Reply