FIX: TRACE Error TR1013, TR4001, and TR4002 CausesLast reviewed: September 16, 1997Article ID: Q92402 |
1.00 1.10
MS-DOS
kbtool kberrmsg kbbuglist kbfixlist
The information in this article applies to:
SYMPTOMSIn the Microsoft Trace Utility (TRACE), using the /EXE option can cause the following error message in TRACE version 1.0:
TR1013: invalid debugging informationWhen the error occurs, TRACE does not generate any output. In TRACE version 1.1, the following warning messages may appear:
TR4001: cannot find function name TR4002: missing debugging information for moduleIn the trace output, functions are identified by overlay number and offset rather than by function name.
RESOLUTIONThis situation usually occurs when the application declares overlays using the SEGMENT statement in the module definition (DEF) file. In some cases, you can avoid this problem in one of two ways:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft Trace Utility versions 1.0 and 1.1 for MS-DOS. This problem was corrected in Microsoft Trace Utility version 1.2 for MS-DOS.
MORE INFORMATIONThe MOVEAPI.TXT file, provided with Microsoft C/C++ version 7.0, describes the /EXE option for the TRACE utility as follows:
/EXE:filename Allows TRACE to read the executable file that was traced and extract function names for use in the trace output. Specify the filename of the executable file that generated the MOVE.TRC file. You can specify a path with the filename. If /EXE is not specified, the trace output refers to functions by overlay number and offset. The program must contain Microsoft Symbolic Debugging Information that is compatible with Microsoft CodeView version 4.0. To include debugging information, create the object file using the /Zi option and link the program using the /CO option.However, as indicated above, this syntax does not work properly in TRACE versions 1.0 and 1.1.
|
Additional reference words: 1.00 1.10 1.20 7.00 ENDUSER | buglist1.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |