Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

Watch in Debug does't work in VS2012

$
0
0

Hello !
I'm trying to use VS2012 as a debugger for my Fortran library, and can't see the variables in watch window.

On theThe particular thing is that I'm compiling a *.pyd library callable in Python with f2py, which generates a C Interface and calls the C and Fortran compiler (see the attached file with a little test project, and f2py_vs.py which enables to compile every thing from visual Studio with a Custom build step).

I set debug mode in ifort and linker, so far I can get the pdb file vc110.pdb for the Fortran, and "link.pdb", for the link (see the zip file attached). I don't have generated the C wrapper debug symbols, because in that case I failed to link (because I should recompile Python interpreter in debug...). No matter, I can run my library in VS and stop to breakpoints ( setting "C:\Python27\Python.exe" in Fortran Project Properties -> Debugging -> Command,  "myScript.py' as command argument, and the output folder as working directory).

But I cannot seeing the proper value of variables in watch window and that's my point (most of the time, I got "undefined pointer/array" for arrays, and wrong values for variables)

I looked throught that forums and checked these topics, I'm running VS2012 Update 3, and fee.dll on 13.0.2225.2 version, and Enable native and continue is off, so this problem should be fixed.

https://software.intel.com/en-us/forums/topic/392429

https://software.intel.com/en-us/forums/topic/508718

Thx for your help

Ferdinand

 


Viewing all articles
Browse latest Browse all 3270


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>