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

Unable to View Variable Values During Module Debugging since oneapi vision 2025.0

Frank27
Beginner
289 Views
Environment:​​ ​OS:​​ Windows 10 ​Compiler/Toolkit:​​ Intel oneAPI 2025.03 ​Compiler:​​ IFX + VS2022 ​Code Characteristics:​​ Extensive use of Fortran modules ​Problem Description:​​ When debugging code, I am unable to view the values of variables defined within modules while execution is inside a function or subroutine. This issue is particularly consistent and problematic for variables that are accessed via the ONLY clause in the USEstatement. Within the function where these variables are referenced, the debugger fails to display their values correctly (often shows as unavailable or undefined). ​Additional Observations:​​ This problem occurs specifically with the ​IFX compiler​ from the ​oneAPI 2025.01 2025.02 2025.03​ release. The same codebase debugs correctly (module variable values are visible) when compiled using the ​IFX compiler from the oneAPI 2023​ release. I have not verified the behavior with the 2024 release. The core functionality of the debugger is significantly impaired, making it very difficult to inspect the program state. Has anyone encountered a similar issue or can suggest potential solutions or workarounds? Any insight would be greatly appreciated.
0 Kudos
1 Reply
Igor_V_Intel
Moderator
251 Views

Could you please try to install the latest version of Intel® Fortran Expression Evaluator (FEE) from Visual Studio by selecting the "Extensions" menu, then "Manage Extensions" => "intel fortran expression evaluator" ? Some issues were addressed there. If you still observe problems, it will be great to get a VS project showing the problem. Could you please attach it to this forum thread?

0 Kudos
Reply