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

Illogical debug behaviour

DavidWhite
Valued Contributor II
433 Views

While debugging code including assignments to character variables, e.g.

ERRVAR=' '

I keep getting the error 'There is no source code available for the current location', and need to Step Out of the location to be able to continue. This is occuring on every character variable.

There must be a simpler way. I am using the latest version of IVF and MSVS2005.

Thanks,

David

0 Kudos
3 Replies
Steven_L_Intel1
Employee
433 Views
Are you perhaps using "step into" rather than "step over"? If you use "step into" and there is a call to a language library routine, you'll see something like this..
0 Kudos
DavidWhite
Valued Contributor II
433 Views

Steve,

Yes, I was using Step Into, but the behaviour seems to have changed. I would not expect an attempt to step into a library routine for a simple assignment statement.

Another behaviour that seems to have changed is that I am getting alot of "Cannot view register variable" messages in the watch window - for variables defined in a module. Previously, I could see the contents of these variables by just typing their name. Now it seems that I can only see them by typing module name::variable name. Is there any setting that I can change to change this behaviour? Also, probably connected with this, I could previously hover the cursor over these variables to see their values, but now cannot.

<<<>>>

Thanks,

David

0 Kudos
Steven_L_Intel1
Employee
433 Views
We use a highly optimized library routine for character assignments.
0 Kudos
Reply