View previous topic :: View next topic |
Author |
Message |
Anupriya
Joined: 27 Mar 2009 Posts: 11
|
Posted: Thu Sep 10, 2009 9:12 pm Post subject: problem with open file statement with win32 debugger. |
|
|
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. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Mon Sep 14, 2009 7:19 am Post subject: |
|
|
I am confident that the OPEN statement will have been executed even if the debugger did not provide a breakpoint before it. |
|
Back to top |
|
|
|