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

IFX Debugger: Watch window show only first array. All other arrays are shown undefined.

NasarAli
New Contributor I
777 Views

IFORT debugger showing correct dimension of all arrays defined in a routine. Whereas the IFX debugger only shows first array, and all other arrays are undefined. Also, the IFX debugger is unable to determine the correct dimensions of arrays.

 

Here is the sample code (project attached) and the IFORT and IFX watch windows.

I am using Visual Studio 2022 and IFX 2024.1.0

 

NasarAli_1-1714456819414.png

 

NasarAli_2-1714456833397.png                 NasarAli_3-1714456846625.png

 

 

 

 

0 Kudos
1 Solution
Devorah_H_Intel
Moderator
545 Views

The results of internal testing with the upcoming 2024.2 release: 

testy-2024.2.png

 

 

Console2-2024.2.png

View solution in original post

0 Kudos
13 Replies
Devorah_H_Intel
Moderator
726 Views

Thank you for reporting this to us. I have escalated it to our debugger team and will update you on the status. 

0 Kudos
andrew_4619
Honored Contributor II
709 Views

I thought I had reported this also. Debugger issues like this seem to be many and are now the only reason that I cannot work with IFX. I hope that these can be resolved soon.  Another example using VS2022 and the latest compilers is shown below.

module testy
    implicit none
    contains
    subroutine bill( gbuf )
        character(*) :: gbuf
        gbuf(2:2) = 'z'
    end subroutine bill
end module testy
program struct_test
    use testy
    implicit none
    character(80) :: lemon
    lemon = 'grape'
    call bill( lemon )
end

 

 

andrew_4619_0-1714518240791.png

IFORT

andrew_4619_1-1714518326286.png

IFX

 

Devorah_H_Intel
Moderator
646 Views

@andrew_4619 wrote:

I thought I had reported this also. Debugger issues like this seem to be many and are now the only reason that I cannot work with IFX. I hope that these can be resolved soon.  Another example using VS2022 and the latest compilers is shown below.

module testy
    implicit none
    contains
    subroutine bill( gbuf )
        character(*) :: gbuf
        gbuf(2:2) = 'z'
    end subroutine bill
end module testy
program struct_test
    use testy
    implicit none
    character(80) :: lemon
    lemon = 'grape'
    call bill( lemon )
end

 

 

andrew_4619_0-1714518240791.png

IFORT

andrew_4619_1-1714518326286.png

IFX

 


@andrew_4619  Do you refer to your earlier report
If yes, I have checked the status of the bug report—the fix is coming in the 2024.2 Intel Fortran Compiler release. 

0 Kudos
andrew_4619
Honored Contributor II
665 Views

I am surprised there is not more traffic on this forum with IFX debugging problems. I would have thought just the two simple reproducers above would cause plenty of headaches from someone trying to debug with IFX. If you have some problems and/or some simple reproducers please join in! Or maybe like me people just went back to IFX, made no comment and expected fixes to just turn up at some point????

0 Kudos
NasarAli
New Contributor I
621 Views

Yes, it seems people either did not try IFX, or if did they switch back to IFORT because of the issues.

I did it myself, tried IFX when 2024.0 was released but then switch back to IFORT. Now I have started the migration again and found issues with debugger, power operator, AND operator and BLOCK DATA. I will be soon reporting these issues. 

0 Kudos
andrew_4619
Honored Contributor II
576 Views

@Devorah_H_Intel , thanks, yes that previous report does look like the same issue. I note that the example I posted here does not show the same symptom, the the previous one the var gave "undefined pointer". In the latest example it shows as len=1. Those are using different compilers levels so maybe they are the same. If it is fixed in an internal build it might be worth quickly checking the new example just in case.

 

@NasarAli  Intel are chomping through IFX bugs at a great rate  at the moment which is good and I have not seen any issues to build IFX production OK  but the concept of debugging in IFORT and releasing in IFX does not seem like a good plan so I am still using IFORT. 

Devorah_H_Intel
Moderator
546 Views

The results of internal testing with the upcoming 2024.2 release: 

testy-2024.2.png

 

 

Console2-2024.2.png

0 Kudos
andrew_4619
Honored Contributor II
528 Views

Great news, I will look forward to that. Thanks

0 Kudos
NasarAli
New Contributor I
508 Views

that's fantastic. Thanks

0 Kudos
dajum81
Novice
147 Views

Is there a release date for the 2024.2 update?  Can you verify that the attached works for displaying the variables.  Especially XG in both the main program and in the subroutine test.

Thanks,

Dave

0 Kudos
Devorah_H_Intel
Moderator
122 Views

The attached project has build errors.  

0 Kudos
dajum81
Novice
120 Views

This one worked in other folder locations.

Dave

Devorah_H_Intel
Moderator
113 Views

@dajum81 wrote:

This one worked in other folder locations.

Dave


Yes, I was able to reproduce the issue with the IFX debugger. I will pass it on to debugger engineering. Thank you for submitting the new test case.

0 Kudos
Reply