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

Need better CVF traceback

wranderson
Beginner
318 Views
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
0 Kudos
1 Reply
Steven_L_Intel1
Employee
318 Views
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
0 Kudos
Reply