Sample extensions, scripts, and API uses for WinDbg.
Перейти к файлу
William R. Messmer e6c98d3cb4
Merge pull request #112 from microsoft/user/wmessmer/EGViewDocUpdate
Update the extension gallery README.MD to include information about views
2024-08-13 13:20:29 -07:00
CodeFlow Address review feedback and more cleanup 2024-01-26 10:31:59 -08:00
DataModelHelloWorld
DbgX
Exdi/exdigdbsrv Merge branch 'master' into user/jcab/FixLinks 2024-06-18 16:04:26 -07:00
FileSystem Address review feedback and more cleanup 2024-01-26 10:31:59 -08:00
ImageInfo Address review feedback and more cleanup 2024-01-26 10:31:59 -08:00
Manifest Update the extension gallery README.MD to include information about views 2024-08-13 13:03:21 -07:00
SyntheticTypes
TTD Fix programming sample link 2024-04-30 11:50:54 -04:00
TTDQueries Address review feedback and more cleanup 2024-01-26 10:31:59 -08:00
TargetComposition Address review feedback and more cleanup 2024-01-26 10:31:59 -08:00
.gitignore Fix and modernize documentation and repo links 2024-01-25 10:37:42 -08:00
CONTRIBUTING.md
LICENSE
README.md Address review feedback and more cleanup 2024-01-26 10:31:59 -08:00
SECURITY.md
Third Party Notices.txt

README.md

This is a collection of extensions and sample scripts for extending WinDbg. We'll be adding more samples and extensions over time.

Getting Started

To load JavaScript extensions:

  1. Download the script file locally.
  2. Ensure you have a recent version of WinDbg.
  3. Start your debugging session.
  4. The JavaScript extension (JSProvider) should load automatically. You can validate it's loaded by running the .scriptproviders command and checking if JavaScript is on the list.
    • If JavaScript isn't on the list, run .load jsprovider
  5. Run .scriptload <path to script> or .scriptrun <path to script>. The README for each script has more detailed usage information.

We have more information on our JavaScript support at https://learn.microsoft.com/windows-hardware/drivers/debugger/javascript-debugger-scripting. If you want to learn more about a script you can open in it WinDbg by hitting the "Scripting" ribbon and clicking "Open Script...". It has intellisense support for JavaScript and NatVis and you can load scripts by hitting "Execute" in the scripting ribbon.

Contribute

All the samples and extensions we are publishing are open to contributions of fixes and improvements. At this point we aren't open to accepting new scripts and extensions from the community, but you can make your own repo and share them that way.