KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q51834: "Internal Debugger Error: 0" When Watching Structure Members

Article: Q51834
Product(s): See article
Version(s): 2.20 2.30 | 2.20 2.30
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | buglist2.30 cv | mspl13_basic
Last Modified: 29-DEC-1989

When watching a member of a structure using the "w?" or "?" commands,
it is possible to get the message "internal debugger error: 0". When
this happens, the only way to view the contents of the member is to
use the "D" or "??" commands.

Code Example
------------

typedef struct {
   char *(*instruction)[];
   } *structype;

structype mac;

void main (void)
{
}

If you set a watch on an element of the structure variable in the
above program such as "w? mac->instruction[0]" (without the quotation
marks) you'll get the message "internal debugger error: 0." Use the
dump command "D" or the special "??" structure viewing command to look
at the contents of the member.

Microsoft has confirmed this to be a problem in CodeView Version 2.30.
We are researching this problem and will post new information here as
it becomes available.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.