Topic: Problem with Simply Fortran 2 Debugger
I downloaded SF 2 alongside my registered 1.45 to evaluate it.
I am particularly keen to see the improved debugging facilities and am certainly looking to upgrade to SF 2 as soon as I can because the Insight debugger never worked properly for me.
However, I am having problems debugging my code with SF 2. I get the following error on one particular line, line 79. Although the box heading says this is a warning, clicking OK doesn't allow the debugging session to continue.
I have posted the code separately since the error box obscures some of it. However, it might not mean much out of context.
The error seems to always occur when I step over a line containing the Fortran exponentiation operator **.
Obviously I would like this fixing before I could upgrade. As it is I can't make much progress evaluating SF2 and its debugger because I am stuck at this point.
subroutine solve_func1(x,data, fun, der)
use kinds, only: DP
real (kind=dp), intent (in) :: x
integer, intent(in):: data(:)
real (kind=dp), intent(out) :: fun, der
type (packet_ptr_type) :: packet_ptr
type (packet_type), pointer :: packet
packet_ptr = transfer(data, packet_ptr)
packet => packet_ptr%p
fun = packet%a*x**3 + packet%b*x**2 + packet%c
der = 3.0_DP*packet%a*x**2 + 2.0_DP*packet%b*x
end subroutine solve_func1
David