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

cant see local ingredient(break point)

milad_m_
Beginner
627 Views

hi

i use intel xe in vs2012.

its run correctly but when i use breakpoint in my code, its work but i cant see my varibles. (in: debug>windows>locals)

my code is converted from cvf to intel

with regard

0 Kudos
5 Replies
TimP
Honored Contributor III
627 Views
Did you build in debug mode ? In release mode, some local variables will become invisible to debugger even if you add debug symbol option.
0 Kudos
milad_m_
Beginner
627 Views

yes run in debug mode.

recentaly i compiled a code that written in pgi compiler (in visual studio) and show ingredients in debug mode

 

0 Kudos
Kevin_D_Intel
Employee
627 Views

Would you be able to provide a complete reproducer that our Debugger team could use to investigate the problem you are experiencing?

If you cannot post your source code in a reply to this forum which everyone could see then you can attach it in a private reply to me (use Send Author A Message).

0 Kudos
milad_m_
Beginner
627 Views

 

today i had run it from my university in this softwares

vs 2010

intel xe 2013

its work  correctly in vs2010

i think need to  more configuration in vs2012 for see locals ingredients that i dont know whats that!

@kevin, its not relate to my code because when i open new main program in vs2012(a simple code) and  add a new integer variable with arbitrary amount for it,cant see my content of locals.how ever my source code isnt very important!

thanks for youre attention.

 

 

 

0 Kudos
Kevin_D_Intel
Employee
627 Views

I'm not aware of any configuration that might control seeing variable values in the locals window, which is what I think you are saying. For the older versions you indicate having, maybe you are experiencing an older known issue such as described here, https://software.intel.com/en-us/forums/debug-solutions/topic/508718, but I'm not sure. I do not have the older versions you are using available to test your trivial program.

I assume you have your reasons for using the older Composer XE 2013 release compiler, but maybe you can consider installing the latest Parallel Studio Composer XE 2016 release and using the integrations from that with VS2012 and then using the Tools > Options > Intel Compilers and Tools to select the Intel older to build your project with.

With the 2016 release you can have as far back as the Intel 13.1 compiler integrated with VS2012. I don't know if you are using 13.0 or 13.1 but if you are using 13.0 then you would need to opt for using the integrations with Visual Studio from our Parallel Studio 2015 Update 5 release.

Refer to the article Using multiple Intel Visual Fortran versions in Microsoft Visual Studio for more info.

0 Kudos
Reply