Search notes:

JsProvider.dll

JavaScript Script Provider Extension for Debugging Tools for Windows.

Hello World example

A .js file to be executed from windbg.exe:
function initializeScript() {

  host.diagnostics.debugLog("Hello world\n");

}
In order to run this simple example, we make sure that the JsProvider extension is loaded, we run .scriptproviders:
0:000> .scriptproviders
Available Script Providers:
    NatVis (extension '.NatVis')
    JavaScript (extension '.js')
If the JavaScriprt provider is not listed, we load it:
.load jsprovider.dll
Finally, we run the script with
.scriptload p:\ath\to\hello-world.js

Links

Some examples of JavaSCript files that demonstrate using the JavaScript extension are found in this github repository.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1740445085, '3.147.53.17', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/dirs/Program-Files-x86/Windows-Kits/n/Debuggers/arch/winext/JsProvider_dll/index(61): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78