forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

problem with open file statement with win32 debugger.

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
Anupriya



Joined: 27 Mar 2009
Posts: 11

PostPosted: Thu Sep 10, 2009 9:12 pm    Post subject: problem with open file statement with win32 debugger. Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7925
Location: Salford, UK

PostPosted: Mon Sep 14, 2009 7:19 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group