Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29253 Обсуждение

Debugger not working with latest IFX version (2025.2.0)

jeff_app
Новичок
2 255Просмотр.

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 баллов
1 Решение
jeff_app
Новичок
2 222Просмотр.

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?

Просмотреть решение в исходном сообщении

7 Ответы
jeff_app
Новичок
2 223Просмотр.

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
Ценный участник III
2 093Просмотр.

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
Новичок
1 944Просмотр.

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

garraleta_fortran
Новичок
1 855Просмотр.

Now work OK

FranciscoDias
Начинающий
1 556Просмотр.

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

JohnNichols
Ценный участник III
1 531Просмотр.

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
Ценный участник III
1 530Просмотр.

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

Ответить