{"by":"fcavallarin","descendants":15,"id":46218101,"kids":[46228232,46228616,46230260,46232931,46228742,46232114,46228901,46230058],"score":73,"text":"Hi HN!<p>I&#x27;m building a JavaScript debugger called Wirebrowser. It combines network inspection, request rewriting, heap snapshots, and live object search.<p>The main experimental feature is BDHS (Breakpoint-Driven Heap Search): it hooks into the JavaScript debugger and automatically captures a heap snapshot at every pause and performs a targeted search for the value or structure of interest.\nThis reveals the moment a value appears in memory and the user-land function responsible for creating it.<p>Another interesting feature is the Live Object Search: it inspects runtime objects (not just snapshots), supports regex and object similarity, and lets you patch objects directly at runtime.<p>Whitepaper:\n<a href=\"https:&#x2F;&#x2F;fcavallarin.github.io&#x2F;wirebrowser&#x2F;BDHS-Origin-Trace\" rel=\"nofollow\">https:&#x2F;&#x2F;fcavallarin.github.io&#x2F;wirebrowser&#x2F;BDHS-Origin-Trace</a><p>Feedback very welcome, especially on whether BDHS would help your debugging workflow.","time":1765377043,"title":"Show HN: Wirebrowser – A JavaScript debugger with breakpoint-driven heap search","type":"story","url":"https://github.com/fcavallarin/wirebrowser"}