- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I am getting the message "identifier "variable_name" is undefined" in the column "Value" of the "Watch" window during debugging. This message is shown both for subroutine/function arguments, no matter is they are scalar variables or arrays, and for local scalars.
This seems to be a random behavior: while I was able to see expected values in the morning, I am getting the message in the afternoon. Nothing changed on my computer; there were no updates to Windows, Visual Studio 2022 or Intel oneAPI 2025.2.0. Also, there were no changes of the solution/project, neither in its settings, nor in the source code, nor in the compiler (I am using IFX).
Restarting the computer, restarting Visual Studio, rebuilding the solution did not help.
Is there anything I can try to make "Watch" display values of scalars and arrays?
I should add that I have already experienced this behaviour in previous versions of oneAPI, but only for arrays, and what helped in some cases was to restart the debugger. This does not help now.
Lien copié
- « Précédent
-
- 1
- 2
- Suivant »
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Not sure, I am using VS version 17.14.3 and got the issue even if I did not check the uppercase variables.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Same issue with VS v17.9.6 and v17.12.4, Intel Base/HPC toolkit 2025.2. Repairing the Intel Base toolkit usually fixes it but it takes forever! Happens intermittently after running specific projects, so those are quarantined for now, no clue why they're different. Installing the Fortran Essentials did not help and the uppercase variables don't seem to help long term either...really frustrating.

- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable
- « Précédent
-
- 1
- 2
- Suivant »