- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The version of FORTRAN and Visual Studio is: Intel® FORTRAN Compiler 2025.0.4 [Intel(R) 64] Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.13.3 There is no problem with the old version of FORTRAN. The version of FORTRAN and Visual Studio is: Intel(R) Visual FORTRAN Package ID: w_fcompxe_2013.2.149 Microsoft Visual Studio Team System 2008 Architecture Edition 1899-270-2717477-60709 I attach two ZIP files with the projects of both solutions
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
with upcoming 2025.1 ifx:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Debug problems with new FORTRAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
module datos
TYPE Vector
integer(4) :: X
integer(4) :: Y
end type vector
end module datos
program mainer
USE DATOS
USE ISO_FORTRAN_ENV
IMPLICIT NONE
TYPE(VECTOR) :: V
OPEN(UNIT=1,FILE='RES.TXT')
WRITE(1,FMT='(A)')COMPILER_VERSION()
V.X=100
V.Y=200
WRITE(1,*)'VP',V.X,V.Y
CALL SUB1(V)
CALL SUB2(V)
CALL SUB3(V)
CLOSE(UNIT=1)
END
SUBROUTINE SUB1(V1)
USE DATOS
IMPLICIT NONE
TYPE(VECTOR) :: V1
WRITE(1,*)'V1',&
V1.X,V1.Y
RETURN
END
SUBROUTINE SUB3(V3)
USE DATOS
IMPLICIT NONE
TYPE(VECTOR) :: V3
WRITE(1,*)'V3',&
V3.X,V3.Y
RETURN
END
SUBROUTINE SUB2(V2)
USE DATOS
IMPLICIT NONE
TYPE(VECTOR) :: V2
WRITE(1,*)'V2',&
V2.X,V2.Y
RETURN
END
Your Fortran is spread across five modules, you left one out, I found it in the bmp.
Here it is as one program.
It is running on a COREi7, latest Windows Preview, latest VS 2022 Preview and the latest update to the 2025.2.1 release. You cannot be more up to date than this.
The shots of the debug screen as I step through your program in one file. Notice that you only see the debug for the current subroutine.
Just as expected.
Your picture shows the open files and the files that do not have focus show
XX shows the notification that the subroutine does not have focus so it is not updated as you step through V3.F90 , NN is normal as you have focus on V3.F90 according to the break point cursor. I can see all of your values as required, this is absolutely all you need.
Once you have left V1 then any good garbage collector in other languages could clean it up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the main program, mudule and subroutines are in the same file, it works fine.
Attached video
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I understand what you are saying and I watched the video, but exactly what do you want the program to do in debugging.
You need to provide an explanation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I should do this.
Like Intel(R) Visual Fortran Compiler XE 13.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"WHEN WILL VERSION 2025.1 ifx BE AVAILABLE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@garraleta_fortran wrote:
"WHEN WILL VERSION 2025.1 ifx BE AVAILABLE?
2025.1 is coming out within a week.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please do not use bitmaps, bmp will not upload and I need to change them to png.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page