FIX: QuickWin Fails to Display $DEBUG Line Number s
Article ID: 112007
Article Last Modified on 10/23/2003
APPLIES TO
- Microsoft FORTRAN Compiler 5.1
- Microsoft FORTRAN PowerStation 32
This article was previously published under Q112007
SYMPTOMS
Microsoft FORTRAN QuickWin applications compiled with extended error
handling ($DEBUG or -4Yb) may fail to output the line number where a run-
time error has occurred.
RESOLUTION
Microsoft FORTRAN PowerStation 32 applications built with /4Yb or $DEBUG
will emit traceback information upon a DEBUG exception allowing you
to see what functions were on the call stack at the time of the error.
Another technique for catching exceptions can be enabled by setting an
exception trap. For more information on trapping exceptions please refer to
the online help for the Visual Workbench (from the "Debugging Your
Application" option select "Debug exceptions"). The $DEBUG and exception
trapping have different but overlapping scopes. With FORTRAN 5.1, use
CodeView for Windows (CVW.EXE) to trace through the program and find where
the run-time error occurs.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem was corrected in
FORTRAN PowerStation 32, version 4.0.
Additional query words: 5.10 1.00
Keywords: kbfix kbcompiler KB112007