Knowledge Base

PRB: Debugging Past END Statement Puts You in Disassembly Mode

PSS ID Number: 149481

Article Last Modified on 11/2/1999


The information in this article applies to:


This article was previously published under Q149481

SYMPTOMS

Debugging source code and stepping past the main program END statement causes the debugger to shift into disassembly mode, placing the cursor at the beginning of the source code's corresponding assembly code listing.

STATUS

This behavior is by design.

MORE INFORMATION

In previous versions of Microsoft FORTRAN, when you stepped past the main program END statement, the debugger generated the message "There is no source line debugging information" and stopped the debugger.

Steps to Reproduce Behavior

  1. Build the sample code provided in Developer Studio.
  2. Start a debugging session by selecting Debug from the Build menu and then choosing Step Into.
  3. Step past the END statement to cause the debugger to shift into disassembly mode and place the cursor at the beginning of the assembly code listing mainCRTStartup() procedure.

Sample Code

C Compile options needed: /Zi

      print *, 'Hello, World!'
      end
				

Additional query words: 4.00

Keywords: kbLangFortran KB149481
Technology: kbAudDeveloper kbFORTRANPower400NT kbFortranSearch kbZNotKeyword8