Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

264 lines
9.6 KiB

  1. Microsoft(R) Debugging Tools for Windows(R)
  2. Version 3.0 BETA Release Notes
  3. April 2001
  4. -----------------------------------------------------------------------------
  5. Contents
  6. Overview
  7. What's New
  8. Known Issues
  9. Programs
  10. Debugger Extensions
  11. Software Development Samples
  12. Documentation
  13. Redistributables
  14. More Information
  15. Feedback
  16. -----------------------------------------------------------------------------
  17. Overview
  18. Debugging Tools for Windows(R) contains tools to analyze and debug OS and
  19. application failures.
  20. The kernel debugger is KD.exe. It can be installed and run on Windows NT 4.0,
  21. Windows 2000 and Windows Whistler. KD.exe can debug Windows NT 4.0,
  22. Windows 2000 and Windows Whistler.
  23. The user-mode debugger is CDB.exe. It can be installed and used on
  24. Windows NT 4.0, Windows 2000 and Windows Whistler.
  25. WinDbg.exe is the GUI mode version of the debugger. It supports both user-mode
  26. and kernel-mode debugging. It can be installed and run on Windows NT 4.0,
  27. Windows 2000 and Windows Whistler. WinDbg can debug Windows NT 4.0,
  28. Windows 2000 and Windows Whistler.
  29. -----------------------------------------------------------------------------
  30. What's New
  31. This Beta of Debugging Tools for Windows contains many bug fixes and new
  32. enhancements. The debuggers are stable and more reliable than Version 2.0.23.0
  33. and we recommend that you upgrade your debuggers to this new version.
  34. It is also a requirement to use this latest drop if you wish to debug
  35. POST BETA 2 versions of Windows XP; older versions (including 2.0.23) will
  36. not work on the latest Windows XP build.
  37. Here's a list of the enhancements to WinDBG 3.0:
  38. * Add ambiguous symbol detection (print a warning if a symbol name
  39. being evaluated is defined multiple times)
  40. * Better wildcard support in the 'x' command
  41. * Allow regsiters in the watch window (prefix with '@')
  42. * Many fixes for windows XP debugger extensions.
  43. * Modify WinDbg to save workspaces under HKEY_CURRENT_USER
  44. * Add context menus to the calls, CPU and watch/locals windows in WinDbg
  45. * Add a scratch pad window to WinDbg
  46. * Enhace !pool to print more infomration about a block (if it exists)
  47. * move extensions to winxp directory (instead of w2001)
  48. * Automatically expand .dmp files out of .cab
  49. * And lots of bug fixes!
  50. Windows XP specific enhacements (requires the new debugger AND windows XP)
  51. * Faster stepping
  52. * .kdfiles to transfer files over the debugger port
  53. -----------------------------------------------------------------------------
  54. Known Issues
  55. VC4 \ NT 4 DDK support:
  56. -----------------------
  57. The NT 4 DKK shipped with VC4 compatible tools.
  58. This version of the debuggers does not support local variables generated by
  59. this default build-environment. The debuggers only supports local variables
  60. if a .pdb file is generated by the compiler and linker.
  61. To enable .pdb files in the NT 4 DDK, set the following environment variable.
  62. set USE_PDB=1
  63. The next version of Debugging Tools for Windows will fix this limitation.
  64. Other issues:
  65. -------------
  66. If you need to find source that was compiled at a different location than
  67. the current location to the source, use the ".srcpath" command.
  68. If you are using Windows NT 4.0, you need to have Microsoft Internet Explorer
  69. 5.0 or later installed for all of the features to work correctly.
  70. -----------------------------------------------------------------------------
  71. Programs
  72. This distribution includes the following debuggers:
  73. KD - Command-line kernel debugger
  74. NTSD - Command-line user-mode debugger
  75. CDB - Command-line user-mode debugger (variant of NTSD)
  76. WinDbg - GUI kernel debugger
  77. I386KD is also provided in the package to support backwards compatibility.
  78. It has the same code-base as KD.
  79. There are several debugger-related tools included with the package. They
  80. are divided into subcategories under Tools in the custom menu during install.
  81. These subcategories include 1) Helpful Tools and 2) AutodumpPlus. Both of
  82. them are installed by default.
  83. The Helpful Tools option includes these debugger-related tools:
  84. gflags - Global Flags Editor
  85. breakin - Utility to force a breakin in another process being debugged
  86. remote - Remote Command Line
  87. kill - Task Killing Utility
  88. list - File List Utility
  89. logviewer - Display API logs created with the .logext extension from the debugger
  90. symstore - Creates a symbol server for automatic symbol lookup
  91. tlist - Task List Viewer
  92. The following tools have been incorporated into KD.exe and WinDbg.exe. They
  93. are also provided with Helpful Tools as small stubs that point you to use the
  94. debugger.
  95. dumpchk - Dump Checking Utility
  96. dumpexam - Dump Examining Utility
  97. AutodumpPlus, is a console based VBScript usefull for troubleshooting hangs
  98. and crashes. AutodumpPlus scripts the CDB debugger to produce memory dumps
  99. and/or scripted log files containing debug output from one or more processes.
  100. This information is placed in uniquely named directories
  101. (i.e. C:\temp\Crash_Mode__Date_01-22-2001__Time_09-41-08AM) on the local file
  102. system or a remote network share, and each file is named uniquely
  103. (i.e. PID-1708__Inetinfo.exe__Date_01-22-2001__Time_09-41-08AM.log) to avoid
  104. overwriting older files with newer ones.
  105. -----------------------------------------------------------------------------
  106. Debugger Extensions
  107. Debugger Extensions are DLLs which WinDbg, CDB, NTSD, and KD can use to provide
  108. additional debugger commands. The Whistler debugger extensions are in the
  109. winxp subdirectory and include:
  110. exts.dll
  111. KDexts.dll
  112. The extensions that work for Windows NT 4.0, Windows 2000, and Whistler are in
  113. a winext subdirectory and include:
  114. uext.dll
  115. kext.dll
  116. ext.dll
  117. logexts.dll
  118. The debugger extension DLLs for Windows NT 4.0 and Windows 2000 are operating
  119. system version, debug/retail specific. However, these extensions should
  120. properly support all service packs based on that build. Multiple versions of
  121. each DLL are included, to provide the necessary files for each variant. All DLLs
  122. are provided in both debug and retail versions. The debug and retail versions
  123. of these DLLs for Windows NT 4.0 and Windows 2000 are installed
  124. into four subdirectories, under the target subdirectory:
  125. nt4chk
  126. nt4fre
  127. w2kchk
  128. w2kfre
  129. The debugger has awareness of these subdirectories, and will not be able
  130. to find them if these subdirectories are renamed or moved.
  131. If a custom extension DLL is to be used, it should be placed in its own
  132. directory. The user can then set the debugger extension path variable so the
  133. debugger can find the extension. Debugger extension can also be loaded in
  134. the debugger using fully qualified path names.
  135. For Windows 2000 and Whistler, Ntsdexts.dll ships with the operating system, in
  136. %systemroot%\system32, and is not included in this distribution.
  137. All of the debuggers search for debugger extension DLLs in the
  138. following places:
  139. %NT_DEBUGGER_EXTENSION_PATH%;
  140. %DIRECTORY_FROM_WHICH_KDNTSD_IS_LAUNCHED%\WINEXT;
  141. %DIRECTORY_FROM_WHICH_KDNTSD_IS_LAUNCHED%\%TARGET_PLATFORM%;
  142. %DIRECTORY_FROM_WHICH_KDNTSD_IS_LAUNCHED%;
  143. %Path%
  144. where TARGET_PLATFORM is [nt4fre| nt4chk| w2kfre| w2kchk| winxp].
  145. Use the "version" command in KD/NTSD to see what the extension search
  146. path, to note where extension DLLs are loaded from.
  147. -----------------------------------------------------------------------------
  148. Software Development Samples
  149. Header files, libs and samples for debugger extensions samples are provided
  150. in this package. They are not installed by default. The "SDK" component of
  151. the package must be selected during the install to get the samples installed.
  152. The samples will compile by using the latest Windows Whistler DDK or SDK.
  153. The header files and libs in this package should replace any existing version
  154. of the header files or libs that are shipped with the DDK or SDK.
  155. Using the samples and headers with the Windows 2000 SDK or DDK will cause
  156. compilation errors.
  157. -----------------------------------------------------------------------------
  158. Documentation
  159. For documentation on how to use these debuggers and related tools, see the
  160. help file debugger.chm that is included with the tools. This documentation
  161. has been improved and expanded since the last release.
  162. You need to have Internet Explorer 5.0 or greater installed in order to use
  163. the documentation properly.
  164. -----------------------------------------------------------------------------
  165. Redistributables
  166. Please read the license agreement during setup for legal information regarding
  167. redistributable files. If this is a retail release, the license agreement
  168. mentions that redist.txt gives a list of the files that are redistributable.
  169. This is a Beta release and none of the files in this package are redistributable.
  170. -----------------------------------------------------------------------------
  171. More Information
  172. For more information on debugging, see the Debugging Tools for Windows
  173. web page, <http://www.microsoft.com/ddk/debugging/>.
  174. We encourage people to get the new debugger off the web "often", as
  175. we will do lots of fixes, while keeping compatibility with NT 4.0 and
  176. Windows 2000.
  177. -----------------------------------------------------------------------------
  178. Feedback
  179. We are interested in your feedback on the tools. Please mail suggestions or
  180. bug reports to [email protected]. This is not a support alias, but your
  181. feedback will help us to plan future changes for these tools and will make
  182. them more useful to you in the future.
  183. -----------------------------------------------------------------------------