- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you debug a "Hello World" program?
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! worked like magic.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page