The information in this article applies to:
SYMPTOMSWhen a program that contains a local structure but no global structures of the same type is assembled with the Microsoft Macro Assembler (MASM), and that variable is watched with the Microsoft CodeView (CV) debugger, CodeView will report that the variable has no type. CAUSEThe CodeView information generated by MASM for that local structure is not correct. RESOLUTIONDeclare a dummy global structure of the same type. STATUSMicrosoft has confirmed this to be a problem in MASM versions 6.0, 6.0a, and 6.0b. This problem was corrected in MASM for MS-DOS version 6.1. MORE INFORMATIONThe following sample demonstrates the problem. Bring the .EXE into CodeView and begin stepping through. After stepping into procedure "func", the local window has:
To work around the problem, uncomment the global variable "global" and
reassemble. After stepping into procedure "func", the local window
has:
Sample Code
Additional query words: 6.00 6.00a 6.00b buglist6.00 buglist6.00a buglist6.00b fixlist6.10 s_codeview
Keywords : |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |