Microsoft KB Archive/104895: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 74: Line 74:


</div></li>
</div></li>
<li>Double-click to expand &quot;I&quot; in both the Watch and Locals windows (it may be necessary to click in one window before I can be expanded in the other window).</li>
<li>Double-click to expand "I" in both the Watch and Locals windows (it may be necessary to click in one window before I can be expanded in the other window).</li>
<li>Check that all values in both windows are displayed in decimal.</li>
<li>Check that all values in both windows are displayed in decimal.</li>
<li>Select Hexadecimal Display in the Execute/Debug dialog box.</li>
<li>Select Hexadecimal Display in the Execute/Debug dialog box.</li>
<li>Check that all values in both windows are still displayed in decimal.</li>
<li>Check that all values in both windows are still displayed in decimal.</li>
<li>Stop debugging using the Debug menu, and then repeat steps 3 and 5.</li>
<li>Stop debugging using the Debug menu, and then repeat steps 3 and 5.</li>
<li><p>Check that all values in the Locals window are still displayed in decimal, that in the Watch window, only &quot;J&quot; and the indices to the array &quot;I&quot; are in hexadecimal (they have a &quot;#&quot; in front). The values of the elements of 'I' are still displayed in decimal. For example:</p>
<li><p>Check that all values in the Locals window are still displayed in decimal, that in the Watch window, only "J" and the indices to the array "I" are in hexadecimal (they have a "#" in front). The values of the elements of 'I' are still displayed in decimal. For example:</p>
<pre class="codesample">      (i)(#B) = 12
<pre class="codesample">      (i)(#B) = 12
       j = #D
       j = #D

Latest revision as of 08:58, 20 July 2020

Knowledge Base


Article ID: 104895

Article Last Modified on 10/17/2003



APPLIES TO

  • Microsoft FORTRAN PowerStation 1.0 Standard Edition
  • Microsoft Fortran PowerStation 1.0a for MS-DOS
  • Microsoft FORTRAN PowerStation 32



This article was previously published under Q104895

SYMPTOMS

Changes to the display mode of the Visual Workbench debugging session are not effective until the debug session is stopped and restarted. Even after the display mode changes are in effect, the Visual Workbench does not display anything in Hexadecimal mode in the Locals window, but scalars are displayed in Hexadecimal mode in the Watch window.

STATUS

Microsoft has confirmed this to be a problem in FORTRAN PowerStation for MS-DOS, version 1.0 and 1.0a, and in FORTRAN PowerStation for Windows-NT, version 1.0. This problem was fixed in Fortran PowerStation 4.0.

MORE INFORMATION

To reproduce this problem:

  1. Build the sample code below with the project in Debug mode.
  2. Choose Execute/Debug from the Options menu and clear (uncheck) the Hexadecimal Display check box if it is selected.
  3. Single-step (F8) to the print statement.
  4. Display both the Locals and Watch window (choose both windows from the Window menu), and then enter the following in the Watch window (one letter per line):

    I
    J

  5. Double-click to expand "I" in both the Watch and Locals windows (it may be necessary to click in one window before I can be expanded in the other window).
  6. Check that all values in both windows are displayed in decimal.
  7. Select Hexadecimal Display in the Execute/Debug dialog box.
  8. Check that all values in both windows are still displayed in decimal.
  9. Stop debugging using the Debug menu, and then repeat steps 3 and 5.
  10. Check that all values in the Locals window are still displayed in decimal, that in the Watch window, only "J" and the indices to the array "I" are in hexadecimal (they have a "#" in front). The values of the elements of 'I' are still displayed in decimal. For example:

           (i)(#B) = 12
           j = #D
                            

Sample Code

       integer i(11),j
       i = 12
       j = 13
       print *, i
       end
                


Additional query words: 1.00

Keywords: kbbug kbfix KB104895