Silverfrost Forums

Welcome to our forums

problem with open file statement with win32 debugger.

10 Sep 2009 8:12 #4940

hi, I have problem with the debugger. i wrote program in *.for and debugged with debug win 32. The debugger was not able to recognize the open statement. The following subroutine is called by my program.

subroutine gtwndo(cmd) character 80 cmd integer ird ird=31 open(unit=ird,file='fil',status='old') read(ird,)cmd close(ird) return end

The debugger recognises ird=31 and then steps to read statement rather than open statement.

Any help on this is much appreciated. thanks in advance.

14 Sep 2009 6:19 #4942

I am confident that the OPEN statement will have been executed even if the debugger did not provide a breakpoint before it.

Please login to reply.