- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a website that describes how to control getting a detailed traceback for Visual Fortran runtime crashes?
I am getting a runtime crash with a cryptic statement that the process ran outside some array. And memory addresses. A colleague says there is a way to get a debug executable set up to provide details about which line of code was being run when the crash occurred, in what subroutine, etc. But he can't remember how he's done this in the past. We looked around the help, and maybe it's there, but we can't find it.
Incidentally, the process runs when compiled in Release mode, and outputs seem reasonable. And very close to what I get on a unix machine using F77. But I'm always leery, want to know what CVF compiler is worried about. This could be the tip of an iceberg.
Thx,
Bill Anderson
I am getting a runtime crash with a cryptic statement that the process ran outside some array. And memory addresses. A colleague says there is a way to get a debug executable set up to provide details about which line of code was being run when the crash occurred, in what subroutine, etc. But he can't remember how he's done this in the past. We looked around the help, and maybe it's there, but we can't find it.
Incidentally, the process runs when compiled in Release mode, and outputs seem reasonable. And very close to what I get on a unix machine using F77. But I'm always leery, want to know what CVF compiler is worried about. This could be the tip of an iceberg.
Thx,
Bill Anderson
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See the "Handling Run-Time Errors" section of the Visual Fortran Programmer's Guide, part of the on-disk documentation. It has a section on traceback.
The default when building in a Debug configuration in Developer Studio is to have array bounds errors detected and to stop automatically in the debugger when the error occurs. (You'd want to start execution with the F5 key (or "Go" button).
The default in release configuration is not to check for array bounds errors.
Steve
The default when building in a Debug configuration in Developer Studio is to have array bounds errors detected and to stop automatically in the debugger when the error occurs. (You'd want to start execution with the F5 key (or "Go" button).
The default in release configuration is not to check for array bounds errors.
Steve
![](/skins/images/98E68944C1FF703B8AC50091329B92AF/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page