Garbage displayed in debugger for valid variable

Garbage displayed in debugger for valid variable

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é

AdjuntoTamaño
Descargar source1.f90171 bytes
Descargar source2.f90412 bytes
Descargar debugger-garbage.png7.51 KB
publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

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.

Steve

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.

Steve

Inicie sesión para dejar un comentario.