Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/microsoft/WinDbg-Samples
Sample extensions, scripts, and API uses for WinDbg.
https://github.com/microsoft/WinDbg-Samples
Last synced: 18 days ago
JSON representation
Sample extensions, scripts, and API uses for WinDbg.
- Host: GitHub
- URL: https://github.com/microsoft/WinDbg-Samples
- Owner: microsoft
- License: mit
- Created: 2018-10-04T21:17:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-13T20:20:29.000Z (3 months ago)
- Last Synced: 2024-08-13T23:30:24.991Z (3 months ago)
- Language: C++
- Homepage:
- Size: 6.56 MB
- Stars: 700
- Watchers: 56
- Forks: 119
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
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](https://aka.ms/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 ` or `.scriptrun `. 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.