- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am new to Intel Visual Fortran. I have a Fortran main program and three other Fortran subroutine files are being called from this main program. Now my program is aborting during execution and I do not know where the exact problem is (I mean the main program is correct). So it must be in one (or more) subroutine files.
I want to use MS Visual Studio for debugging, but I have not ever debugged a fortran program. I can generate exe file but the execution is so fast that I do not get sufficient time to link it with debugger. Could anyone guide me how to start debugger and use it to debug these three subroutine source codes?
Any help is greatly appreciated.
Thanks
Abhi
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Abhi,
Welcome to the forum.
The compiler documentation (under Building Applications) leads you through the basic debugging steps. After you build your application in Visual Studio, set a breakpoint at a convenient executable statement in your program, and then start execution (press F5). IThe debugger will then stop when it reaches the breakpoint. You can step through the code after that and examine variables.

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