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

Garbage displayed in debugger for valid variable

Hervé_Martin
Beginner
591 Views

With IVF 2013 (including the new version 14 from compiler) and VS2012, the debugger does not work anymore for complex projects. I attached a simple example where I allocate a field of a type in an init subroutine. Outside of the Init routine, I can see the content of the array. But inside the init routine debugger shows only garbage whereas the variable has been allocated and initialized. 

I attached an example (in the attached file I wrote a commentar at the line where the problem occurs), and a picture of what the debugger shows.

Hervé

0 Kudos
2 Replies
Steven_L_Intel1
Employee
591 Views

Thanks for the nice example. I can reproduce this and have escalated it as issue DPD200247876. I will let you know here of any progress.

0 Kudos
Steven_L_Intel1
Employee
591 Views

We have a fix for this and I expect it to be included in Update 1, scheduled for October. It appears to be specific to VS2012.

0 Kudos
Reply