Skip to content
Toy scripts for playing with WinDbg JS API
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Manifest
scripts Update DumpKnownTypes.js Jan 9, 2020
CheatSheet.md
LICENSE
README.md
config.xml

README.md

WinDbg JavaScript Scripts

Learning Windows Internals by debugging it...

Using as a WinDbg gallery

  • Clone the repository
C:> git clone https://github.com/hugsy/windbg_js_scripts
  • In windbg_js_scripts\config.xml, edit the lines Setting Name="LocalCacheRootFolder" to reflect the local path of the repository.

  • In WinDbg, load the config.xml file and save the settings:

0:000> .settings load \path\to\windbg_js_scripts\config.xml
[...]\windbg_js_scripts\config.xml has been loaded successfully.
0:000> .settings save
Settings have been saved.

Every time WinDbg loads, the galleries will be loaded:

kd> dx -r1 Debugger.State.ExtensionGallery.ExtensionRepositories
Debugger.State.ExtensionGallery.ExtensionRepositories
[...]
    [0x1]            : hugsysgallery

Random links somewhat related:

You can’t perform that action at this time.