Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
9 Views

Local variables not visible in VS debugger when using 12.0 compiler

I'm having a lot of problems with local variables not being visible in the VS debugger when I compile with 12.0.1.127. It happens with both VS2008 and VS2010 (with & without SP1 beta). If I compile with 11.1.070 in VS2008 then the debugger works fine in both VS2008 & VS2010.

If I try to Watch the variables in VS2008 I get CXX0017 symbol not found.
In VS2010 I mostly get CXX0069 variable needs stack frame, occasionally CXX0017.

The Debug Format switch is /ZI.

Ron
0 Kudos
3 Replies
Highlighted
Moderator
9 Views

We've got several existing issues related to debugger. one is "local variables are not visible when stepping inside a for-loop", another one ""(error) | 0" value show in debug window" from this report - http://software.intel.com/en-us/forums/showthread.php?t=79114and http://software.intel.com/en-us/forums/showthread.php?t=72985

is your issue similar to those? if not, could you send me a testcase?

Thanks,
Jennifer
0 Kudos
Highlighted
Beginner
9 Views

Jennifer,

My problem is specific to 12.0. It may or may not be related to for-loops. I made a test case with a VS2008 project but I'm having trouble adding it to the post; is there another way to send it? There are places marked //icl. If you compile with 12.0 you can't see locals at these points, but you can if you compile with 11.1.

Ron
0 Kudos
Highlighted
Moderator
9 Views

See this article on how to attach a file. http://software.intel.com/en-us/articles/how-to-attach-file-insert-code-into-forum-post/

it's great that you have a testcase for this. Thank you very much!

Jennifer
0 Kudos