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

VS2010 Debugger does not show variable value when mouse-hovering

abhimodak
New Contributor I
987 Views
Hi

I am not sure if this is a known issue. (It sounds like an "intergration issue".)

The complete thread title should be:
VS2010 Debugger does not show variable value when mouse-hovering when the executable is loaded through devenv (as opposed to a solution in VS).

To make it clear:-
It works when
(1) Create a IVFortran project/solution. Add some program file.
(2) Build with debug mode.
(3) Set a breakpoint and Run.
(4) Mouse hovering will show the values of the variables in "scope".

It does not work when
(1) Open an IVFcommand prompt with VS2010 tools. Browse to the appropriate directory and compile the program as: ifort /debug:full myProgram...






0 Kudos
3 Replies
Steven_L_Intel1
Employee
987 Views
Hmm - works for me. I can see the variable in both a tooltip and the watch window - I followed your exact steps.

I am using Update 6, which will be out next week, but I am not aware of any changes here.
0 Kudos
abhimodak
New Contributor I
987 Views
Steve

I will wait and try this with Update 6.

Additional details of my system: Win7 64 Professional with IVF12 update 5 (and also 11.1.067). Integrations into VS2005 and VS2010.

It has been working (and continues to work) for me with VS2005. I had not used VS2010 with any of the previous updates to 12. Also I have not tried if there is any difference between 32-bit and 64-bit.

What would be a way to "show" this issue? I am not sure if a snap-shot would be sufficient.

Abhi
0 Kudos
Steven_L_Intel1
Employee
987 Views
I am using IVF 12 Update 6 with VS2010 on Win7 64-bit Enterprise. I just retried it with a 64-bit build and it worked there too.

I believe you regarding the issue, but can't reproduce it. Let me know what happens with Update 6. Here's the sample I am using:

[fortran]    real a(20)
    do i=1,20
        a(i) = real(i)
    end do
    print *, sum(a)
    end[/fortran]
I set a breakpoint on the print and I can tooltip-view all the variables.
0 Kudos
Reply