Microsoft KB Archive/70904

From BetaArchive Wiki

Problems with CodeView When Program Linked with ILINK PSS ID Number: Q70904 Article last modified on 04-08-1993

2.30

MS-DOS

The information in this article applies to:
- Microsoft FORTRAN for MS-DOS, version 2.3

Summary:

When running CodeView versions 2.30 under MS-DOS with programs linked with the /inc option or with the Incremental Linker (ILINK), the trace function key (F8) may not execute correctly. Instead, the program may run to completion when the F8 function key is pressed.

Programs linked with ILINK under OS/2 function correctly under protected-mode CodeView version 2.30.

Using CodeView version 3.00 on these linked programs will eliminate these problems.

Microsoft has confirmed this to be a problem in Microsoft CodeView version 2.30 for MS-DOS. This problem has been corrected in CodeView version 3.00.

More Information:

On page 267 of the “Microsoft FORTRAN CodeView and Utilities User’s Guide” for version 5.0, ILINK is stated to “fully support CodeView debugger information for the module” linked in, as long as CodeView information was included for the original full link. However, programs successfully linked with ILINK that contain CodeView information may not function correctly under CodeView when running under MS-DOS, or the DOS compatibility box under OS/2.

The following program, when linked with ILINK or with the /inc option at LINK, runs to completion under MS-DOS when the F8 (trace into) or F10 (step over) function keys are pressed. The program should execute one line at a time when either of these function keys are pressed.

Sample Program

  real*4 b
    b=5.0
  print*,'begin program'
  stop
  end

Using CodeView version 3.00 will eliminate these problems.

=================================================================

Copyright Microsoft Corporation 1993.