I noticed that with the current version of the SilverFrost Fortran that I have, certain variable assignments are not able to 'go to cursor' in the debugger? Is this by choice or do I have an outdated version. If so, where can I get the latest version, Sid Kraft
Break Point
Which version of the compiler do you have?
I have version 8.1.1, nearest I can tell, Sid Kraft
Sid, as you can see from the posts in the Announcements section of this forum, Version 8.1 dates back to Feb 2017. The most recent version is 9.20, released earlier in Dec 2025. You should certainly update your FTN95 installation, since there have been a number of improvements, bug fixes and enhancements of the features of Fortran supported by the compiler in those eight years.
Deleted all folders called 'Silverfrost' in the 'Program Files', downloaded the latest version of Silverfrost Fortran from this site, Compiled all of my Fortran files again, re-built and executed the debugger, still will not let me 'goto cursor' on certain variable assignment files?? How can I upload the executable so you can try, may be my computer but I doubt as does on my Desk top PC also, running the latest Win11 on both machines, also up to date! Sid Kraft[/list][/code]
Sid
All of the files that you want to access must be compiled using one of the debugging options such as /DEBUG or /CHECK.
Break points can only be set on lines of code that are executable statements, not declarations etc..
Sometimes you may need to experiment a little with the break (run to cursor) point. For example, if the executable statement is followed by a comment then the compiler may use the end of the comment as the line number that is sends to the debugger.
Ok Paul, Thanks, may be the problem as I do have comments in the code, Sid Kraft
Ok, removed all comments from code, re-compiled all using 64k and debugger, re-built, now, when executing with sdbg64, computes all correctly but when branching to another part of logic, using 'goto label'. completely ignores! something seriously wrong here, should not be having all of these problems. Sid Kraft, need to upload code?, how?
Sid, You should be able to use the following short program to probe your issues, without needing to upload EXE or ZIP files. Just copy the lines of code into a Fortran source file, say, 'tst.f90'. Build using the command ftn95 /debug /64 tst.f90 /link Now run the program in SDBG64, observe how the program behaves in the debugger, and report your findings in a reply in this forum.
program tst
implicit none
integer :: i
do i=1,5
! Comment line
if(mod(i,2).eq.0)go to 5
print *,i,' is odd'
cycle
5 print *,i,' is even'
end do
end program tst