View previous topic :: View next topic |
Author |
Message |
stfark1
Joined: 02 Sep 2008 Posts: 224
|
Posted: Fri Oct 29, 2010 10:42 pm Post subject: Strange Error |
|
|
I have been using SilverFrost fortran for a while. Since vers. 5.4, now 5.5, I have been getting a strange error, I believe from Fortran. The error states "The process cannot access the file because it is being used by another process". This error "pops up" at different times during debugging with Plato. There seems to be no condition of repetition, just occurs, "out of the blue" Anybody have any ideas or have experienced this also? Sid Kraft |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8036 Location: Salford, UK
|
Posted: Sat Oct 30, 2010 10:32 am Post subject: |
|
|
If this error message occurs whilst your program is running then you need to find the point at which the program is failing and the file that is being accessed. /checkmate can be useful for this. Start up the debugger and run the program till it fails.
The error message means what it says. Maybe you have failed to close down another application (or another instance of the same application) that is using the same file. Unless you open the file with the necessary parameters, only one process at a time is allowed to open a file. |
|
Back to top |
|
|
stfark1
Joined: 02 Sep 2008 Posts: 224
|
Posted: Sun Nov 07, 2010 5:35 pm Post subject: Strange Error |
|
|
Hi Paul: Still trying to detect where my program is getting the "system file error, trying to access a file which is being used by another program", I went to "project Properties", checked the box "call debug_source@", ran program, listed many "-trace nnn" lists, never failed, completed normally! How else can I access to get the error? Is very frustrating that it occurs so sporadically. Sid Kraft |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8036 Location: Salford, UK
|
Posted: Mon Nov 08, 2010 1:54 pm Post subject: |
|
|
You need to start and run your executable from SDBG. You can run SDBG directly or fire it up from Plato by pressing F7. |
|
Back to top |
|
|
|