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

Traceback in mixed DLL (C++ calls F77)

einert
Beginner
618 Views
I am in the process of porting some Fortran PowerStation code to IVF 8.1 / VS.NET 2003. The code is for DLLs consisting of several F77 libs wrapped by a thin layer of C++ functions, which constitutes the DLLs interface.

I am unable to get proper traceback information for "severe" runtime errors. The callstack in the runtime error window lists "unknown" for file and line number for all entries in my DLL. When breaking execution to check in the VS.NET debugger, the call stack there is sometimes spot on, and sometimes totally wrong and very truncated.

Traceback and full debug is set for all the IVF lib projects in the DLL.

Doing the "iterative binary search using breakpoints" thing to locate out of bounds errors feels a bit wrong, when the runtime is presumably perfectly capable of identifying the source of the problem...


Regards,
Einar Rune Haugnes
0 Kudos
1 Reply
Steven_L_Intel1
Employee
618 Views
Please submit an example of this to Intel Premier Support so that we can look at it.
0 Kudos
Reply