Software Archive
Read-only legacy content
17061 Discussions

<newbie> error line numbers

Intel_C_Intel
Employee
257 Views
When debugging code how do I display the line number on which
an error occurs?

I have worked with SUN FORTRAN under UNIX and it automatically
spits out the line number, but CVF just provides an error message,
making it difficult to debug.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
257 Views
You need to upgrade to 6.0 or later (6.5 is current), which has that feature. You can get the line number in a traceback message or the debugger will stop at the point of error.

However, also look at the 5.0D release notes for a technique to get the debugger to stop on some kinds of I/O errors.

Steve
0 Kudos
Reply