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

Debugger not working with latest IFX version (2025.2.0)

jeff_app
Anfänger
2.258Aufrufe

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 Lösung
jeff_app
Anfänger
2.225Aufrufe

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?

Lösung in ursprünglichem Beitrag anzeigen

7 Antworten
jeff_app
Anfänger
2.226Aufrufe

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?

JohnNichols
Geschätzter Beitragender III
2.096Aufrufe

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. 

jeff_app
Anfänger
1.947Aufrufe

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

garraleta_fortran
Anfänger
1.858Aufrufe

Now work OK

FranciscoDias
Einsteiger
1.559Aufrufe

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

JohnNichols
Geschätzter Beitragender III
1.534Aufrufe

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

 

JohnNichols
Geschätzter Beitragender III
1.533Aufrufe

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

Antworten