Silverfrost Forums

Welcome to our forums

Break Point

21 Dec 2025 1:14 #32582

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

21 Dec 2025 7:17 #32583

Which version of the compiler do you have?

22 Dec 2025 1:11 #32584

I have version 8.1.1, nearest I can tell, Sid Kraft

22 Dec 2025 1:39 #32585

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.

22 Dec 2025 1:12 #32592

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]

22 Dec 2025 1:31 #32593

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.

23 Dec 2025 1:13 #32600

Ok Paul, Thanks, may be the problem as I do have comments in the code, Sid Kraft

23 Dec 2025 1:28 #32602

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?

23 Dec 2025 4:11 #32605

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
Please login to reply.