Microsoft KB Archive/82280

= DOCERR: To Debug P-Code, TOOLS.INI Requires MODEL: Not MODEL= =

Article ID: 82280

Article Last Modified on 10/23/2003

-

APPLIES TO


 * Microsoft CodeView 4.0
 * Microsoft CodeView 4.01
 * Microsoft CodeView 4.0
 * Microsoft CodeView 4.01

-



This article was previously published under Q82280



SYMPTOMS
Using the Microsoft CodeView Debugger version 4.0 or 4.01 to debug a p-code application causes the following dialog box to appear:         Warning-- |                                                        |      |  program being debugged contains p-code but no 'model:' | |                 specified in tools                     | |                                                        |      |-|      |                                               | -

Help advises that putting MODEL= in the TOOLS.INI file (where dllname is NMD1PCD.DLL for MS-DOS or NMW0PCD.DLL for Windows) will allow p- code debugging. However, after following this advice, CodeView gives the warning:

CV1056: cannot understand entry in 'tools.ini'

&quot;MODEL= &quot;



CAUSE
Help should read &quot;MODEL: &quot; not &quot;MODEL= &quot;.



RESOLUTION
Follow the instructions for &quot;CodeView Debugging P-Code&quot; in the README under the \C700 directory. It contains the correct MODEL entry in the TOOLS.INI file.

Note that the path in DETAILS.TXT is relative to where C 7.0 is installed. Also note that the tag for p-code debugging for MS-DOS is [cv] and the tag for Windows is [cvw]. The following is a sample TOOLS.INI entry for p-code debugging.

[cv] MODEL:C:\C700\BIN\NMD1PCD.DLL

[cvw] MODEL:C:\C700\BIN\NMW0PCD.DLL

Additional query words: 4.00 4.01 pcode docerr

Keywords: kb16bitonly KB82280

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.