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

Debug info not available in watch window

ferrad
New User
754 Views
I have loaded my project onto a second machine which has CVF 6.6 loaded. However after stepping into the program with the debugger, I cannot see the values of variables in the watch window. It says CXX0017: error: symbol 'xxx' not found, for every variable I try to look at. Also hovering the mouse over the variable in the source window does not bring up its value.

It works fine on my other machine with the same project. I have been through the Project -> Settings and all items are the same.

Any idea why the watch window will not show the variable names? The Locals window shows the values OK.
0 Kudos
6 Replies
Jugoslav_Dujic
Valued Contributor II
754 Views
Gosh, I've seen it... somewhere... sometimes. Nothing in online help, nothing related in MSDN. I vaguely recall it has to do something with either
- Failure to run Per-user Setup from CVF program group
- or VC++ service pack installed.
0 Kudos
xjqian
Beginner
754 Views
Yes, I also met such problem. I used VS.net 2003 + IVF9.0 before. It's no problem. but when I intalled IVF9.1, not uninstall IVF9.0, and debug, all the varible are can't display. I don't know why?
0 Kudos
Steven_L_Intel1
Employee
754 Views
Uninstall the "Intel Fortran Compiler Integration into Microsoft Visual Studio" and then install that same component from 9.1. If the problem remains, please file a support request with Intel Premier Support.
0 Kudos
jimdempseyatthecove
Honored Contributor III
754 Views

If Steve's suggestion does not resolve the problem then as an interrum solution try applying the scope operator to the variable. Example, assume you wish to examine a variable (YourVariable), the variable has global scope but which is declared in a module named FOO. Then watch for

FOO::YourVariable

If that does not work then open a Dissassembly window at a break point on a statement that references the variable in the other module. You might see something like "FOO_mp_FOO" for the above example. The solution is to scope it as follows

FOO_mp_FOO::YourVariable

If the variable has a leading "_" you may have to add that too.

This was my work arounds for older versions of IVF. The current version does not have this problem.

Jim Dempsey

0 Kudos
xjqian
Beginner
754 Views

Yes, Steve's suggestion doesn't work. and I will try to completely uninstall IVF90 and try. We used VS.net 2003 + IVF90. it debugs ok and can show all variables. Now we plan to port to IVF91. I am doing test, so I haven't uninstall IVF90, but uninstall the integration component and installed new. but debug can't show all varibals. Now I will try Jim's suggestion.

Best Regards!

david

0 Kudos
Steven_L_Intel1
Employee
754 Views
Jim's suggestion doesn't apply to your problem - he is showing how to examine variables in a module, but that would not have changed from 9.0 to 9.1.

Please submit a report to Intel Premier Support and include a complete test case that shows the problem.
0 Kudos
Reply