Hi, I'm using intel fortran visual studio xe 2013 with visual studio 2012. I'm able to successfully compile my program, however I cannot start the debugging. It automatically exits with message: The program '[11156] ID.exe: Native' has exited with code 0 (0x0). How to solve this?
链接已复制
Hi!
For the hello world program. Same case happens. Compiles successfully but cannot be debugged. STill: The program '[26856] Sample.exe: Native' has exited with code 0 (0x0).
What seems to be the problem? I checked with the integration packages and seems that they are installed and seen in the folder paths.
For Fortran programs, you must set a breakpoint at an executable statement (such as the first one in the program). If you don't do this, then when you "start debugging", the program will execute until completion and then exit. For C++ programs, Visual Studio knows how to start at the beginning of the program but, despite years of our asking Microsoft for this, it doesn't do so for Fortran.
