Git Product home page Git Product logo

windbg-samples's Introduction

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 - WinDbg Preview from the Microsoft Store will always be up to date. Otherwise you can use one of the other methods listed here to install it.
  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://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/javascript-debugger-scripting. If you want to learn more about a script you can open in it WinDbg Preview by hitting the "Scripting" ribbon and clicking "Open Script...". It has intellisense support for JavaScript and NatVis and you can load scripts by hitting "Exceute" 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.

windbg-samples's People

Contributors

aluhrs13 avatar ivcarreras avatar microsoftopensource avatar msftgits avatar wmessmer-msft avatar xiaoyinl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.