From e6b6d57a7321824e440015370eba65fd8f273331 Mon Sep 17 00:00:00 2001 From: Christian Biesinger Date: Sun, 25 Aug 2019 16:28:09 -0400 Subject: [PATCH] Add instructions that also work for WinDbg Preview. As per https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/loading-debugger-extension-dlls --- docs/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index ccf2b968..c870150b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -13,7 +13,9 @@ JsDbg currently supports WinDbg and the Visual Studio debugger on Windows, and G 1. Download the [JsDbg WinDbg extension](https://aka.ms/jsdbg-windbg). (This extension changes infrequently because JsDbg extensions can be updated without updating the WinDbg extension. [Last update: Jan 30th, 2019]) -2. Copy jsdbg.dll into the `winext` folder located next your `windbg.exe` installation. Make sure to use the x64 version of the dll for 64-bit WinDbg, and the x86 version for 32-bit WinDbg. +2. Extract the file somewhere and keep track of the directory. + +3. Set the environment variable `_NT_DEBUGGER_EXTENSION_PATH` to the directory containing `jsdbg.dll`. Make sure you use the right version (amd64 vs x86) for the WinDbg version you're using. This will also work with [WinDbg Preview](https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugging-using-windbg-preview). ### Usage @@ -104,4 +106,4 @@ See [Contributing to JsDbg](CONTRIBUTING.md) for more details about contributing This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or -contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. \ No newline at end of file +contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.