- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Tags:
- debugger
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for reporting this to us. I have escalated it to our debugger team and will update you on the status.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
IFORT
IFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
IFORT
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The results of internal testing with the upcoming 2024.2 release:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just tested this with the latest 2024.2 release and the problem is still there. The only improvement is that it detects the array size correctly now, but still, it displays only the first array values. All other arrays are shown as null.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the fix is not complete. I have escalated this again to the debug team.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@NasarAli
I noticed that under Locals the debugger shows the values of the second array but not under the Watch. In any case, I have got the debugger team to look at this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great news, I will look forward to that. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
that's fantastic. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The attached project has build errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I just install intel developpement tools 2024.2 with microsoft visual studio and it seems I encounter similar issues.
When I compile with ifort the debugger show all variables, but with ifx some of them disappear
with ifort :
with ifx same breakpoint:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024.2 is out of date 2025.0.0 was release a few days ago.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page