FIX: CodeView Quick Watch of Variable Name Gives CAN0017 Error (92489)



The information in this article applies to:

  • Microsoft CodeView for MS-DOS 4.0
  • Microsoft CodeView for MS-DOS 4.01
  • Microsoft CodeView for Windows 4.0
  • Microsoft CodeView for Windows 4.01

This article was previously published under Q92489

SYMPTOMS

In versions 4.0 and 4.01 of Microsoft CodeView, requesting a Quick Watch on a variable that includes one or more underscore characters in its name fails with one of the following error messages:
CAN0017 Error: symbol not found
CXX0017 Error: symbol not found


This happens with either the SHIFT+F9 key combination or by selecting Quick Watch from the Data menu. This problem also occurs with other keystrokes that require CodeView to parse a string (containing underscore characters) at the current cursor location, such as F1 and Ctrl-W (Add Watch).

RESOLUTION

To avoid this behavior, select the entire variable name before requesting a Quick Watch. Another technique is to request a Quick Watch with the "?? <variable name>" command in the Command window.

STATUS

Microsoft has confirmed this to be a problem in CodeView versions 4.0, 4.01, and 4.02. This problem was corrected in CodeView version 4.05.

Modification Type:MajorLast Reviewed:10/23/2003
Keywords:kb16bitonly kbfix KB92489