Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Debug fails to reload output file

billaustralia
Beginner
373 Views
I am debugging an exe with a breakpoint. I have its output file a.out loaded.
a.out is a zero length file as I have deleted its contents and saved it.
I start an instance (right click on project in solution explorer).
It runs up to the break.
Message - Do I wish to reload changed a.out?
I click ok
a.out is still empty
I click on stop debug
Message - Do I wish to reload changed a.out?
I click ok
a.out has lots in it.
Is this fault or am I not doing this right?
0 Kudos
3 Replies
billaustralia
Beginner
373 Views
Oh yes forgot to add.
I just installed the latest Version 8.1.2613.2003
Very disappointed to find the same problem.
0 Kudos
aliho
Beginner
373 Views
By default, files are opened in DENYALL mode so it is not possible to open them while they are opened.

Try to open your .out file with the SHARE="DENYNONE" (or "DENYWRITE" to externally open it in readonly mode) option but be careful because impredictable results may occur if you modify the file while it is opened.
0 Kudos
Steven_L_Intel1
Employee
373 Views
I'll comment that this does not involve the compiler product at all. You are in pure Microsoft Visual Studio code when you are opening external files.
0 Kudos
Reply