Silverfrost Forums

Welcome to our forums

Cannot breakpoint at END SUBROUTINE

8 Dec 2019 11:38 #24761

This used to be always working, and sometimes it does work, but mostly it doesn't. As per title, if you put a breakpoint on the END SUBROUTINE it doesn't allow you to do that. It used to work fine in 64bit, and it does work fine in 32bit.

SUBROUTINE TEST1
integer i2
i2=3
end subroutine   !cannot breakpoint here anymore

program main
integer i

call TEST1
end program

For reference, these are the parameters I am using ftn95 /prog /windows /sparam 1 /debug /f2k /cfpp /64 /VPARAM bit64 1 /VPARAM debug64 1

1 Jan 2020 5:24 #24819

As a work-around, you can place a RETURN statement before the END SUBROUTINE statement. You will be able to place a breakpoint on that RETURN statement when running under SDBG64.

Please login to reply.