Repository navigation
Wirebrowser 0.8.3
Origin Trace (BDHS) no longer needs a click. It can now start at a breakpoint you choose, so you can also trace values created on hover, while typing, by timers, by network responses or during page load. This works from the UI and via MCP.
When the breakpoint is first hit, Wirebrowser removes it and starts the trace from the paused frame. It steps out, searching a heap snapshot at each pause, until the value appears.
From the UI: right-click in Sources, or in the code of a trace result, and choose Start Origin Trace at Cursor Position. You can also set Start on to Breakpoint in Origin Trace.
Via MCP: pass startAt (file, line, optional col and condition) to origin_trace. With startAt, trigger is optional.
Condition (optional): only a hit where the condition is true starts the trace.
Where to put the breakpoint: it must be hit before the value is created. If the value is already in the heap at the first pause, Wirebrowser warns you. The MCP tool also warns if the location didn't resolve when the trace was armed, or if the breakpoint was never hit.
Starting on the next click is still the default. More details in the BDHS writeup.
Also in this release
- Search in file lists (Sources, script editors and API Collection)
Fixes
- Origin Trace: the first match could be missing from the results when several steps were in the same function
- Origin Trace: a step-out left pending at the end of a trace could make later hooks or traces on the page miss their breakpoints
- Origin Trace: fixed trace tab numbering