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

VS2005 and Intel Fortran 10 problem

postaquestion
Novice
788 Views

I am using Visual Studio 2005 with Intel Fortran 10. It seems that if the source contains an INCLUDE directive, breakpoints no longer work.

For example, consider the source file "Console1.f90" below:

program Console1
print *, 'Hello World'
include 'hello.f90'
end program Console1

If I insert a breakpoint on Line 2, that breakpoint will only work if Line 3 is removed. The file hello.f90 simply contains another instance of "print *, 'Hello World'".

Am I doing something wrong or is this a known problem?

Thank you in advance.

0 Kudos
1 Reply
Steven_L_Intel1
Employee
788 Views
It's a known problem and should be fixed in the next 10.0 update (I think). If you want to be notified when the fix is available, submit an issue to Intel Premier Support and reference T77942-CP. The problem occurs when the include file contains executable code.
0 Kudos
Reply