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

Debugger not working with latest IFX version (2025.2.0)

jeff_app
Novice
2,192 Views

After installing the latest fortran compiler (2025.2.0) using both oneAPI base and one API HPC toolkits and integrating with visual studio 2022 community the debugger is not working.  With the previous version, IFORT Compiler Classic, I had no problems with the debugger.  The IFORT classic I installed with a oneAPI base and HPC toolkits from 2023.  

 

 I have disabled optimization ( Disable (/Od) ) and have unchecked "Load debug symbols in external process (Native only)" in the Tools<Options<Debugging<General section.  

In the watch window only local variables appear, all else has "indentifier '  ' is undefined. "  This includes local arrays which have been allocated locally using the allocatable statement.  

In the locals window both local variables and global variables (defined through modules) appear.  Arrays (logical, double precision and integer) which have been allocated either locally or globally through modules (example:  DOUBLE PRECISION, ALLOCATABLE, DIMENSION(:)  ) to not appear. Again "indentifier '  ' is undefined " appears in the value column in both the locals and watch 1 windows. 

 

I suspect something is going on the allocatable arrays but I am not sure what.  

Any help would be appreciated.  Thank you

 

Jeff

 

 

 

0 Kudos
1 Solution
jeff_app
Novice
2,159 Views

I just updated visual studio to version 17.14.11, restated my computer, then repaired the oneAPI Base toolkit (2025.2.0) and values are now showing up in both the locals and watch windows.  However, when I hover over a variable the values do not appear.  Is there a switch I need to turn on/off in Visual Studio for this to appear?

View solution in original post

0 Kudos
7 Replies
jeff_app
Novice
2,160 Views

I just updated visual studio to version 17.14.11, restated my computer, then repaired the oneAPI Base toolkit (2025.2.0) and values are now showing up in both the locals and watch windows.  However, when I hover over a variable the values do not appear.  Is there a switch I need to turn on/off in Visual Studio for this to appear?

0 Kudos
JohnNichols
Valued Contributor III
2,030 Views

However, when I hover over a variable the values do not appear. 

This is a feature of the new system, we should rejoice.  It is annoying I know. 

0 Kudos
jeff_app
Novice
1,881 Views

Ok, thank you John.  I will just have to work with it. 

0 Kudos
garraleta_fortran
1,792 Views

Now work OK

0 Kudos
FranciscoDias
Beginner
1,493 Views

Hi, @garraleta_fortran . Can you explain what you have done? Thanks in advance

0 Kudos
JohnNichols
Valued Contributor III
1,468 Views

Dear Intel Guru:

There is a bug in the watch windows code. 

If the variable is upper case PAR it is seen and the variable is shown in the box and the watch window.  If it is lower case such as, mul, then the watch windows says it is not defined, if I change the code to MUL at the location I want to know it, then it shows up normally.. without any other changes. 

 

It is a simple fix, but changing 10000 locations to upper case is a pain. 

 

Warm regards

JMN

 

0 Kudos
JohnNichols
Valued Contributor III
1,467 Views

I am updated to the absolute latest Preview 2022, updated this morning and all works well except the ANSI alphabet issue. 

0 Kudos
Reply