所有版本 v0.1.11913 八月 2026开发者工具, 标签页与界面 订阅

版本说明以英文撰写。

DevTools: a Sources panel with a clickable line gutter

The debugger stops being blind. Until now you set a breakpoint by typing a line NUMBER into a box, with no way to see what was on that line. Now the Debugger tab shows the running script itself, with a line gutter you click to set or clear a breakpoint - and the current pause line lights up as you step. It renders the exact source the engine parsed, so line N in the gutter is line N a breakpoint lands on, and it only offers a breakpoint on a line that begins a statement (the same compile-time line table stepping already uses), so there is no way to click a line that could never fire. It is captured only while the debugger is enabled, so a page that is not being debugged is untouched and the whole conformance suite is unchanged. DevTools moves 31 to 33; overall holds at 51 - the piece that lifts the floor, a WebSocket transport that lets external tools like Puppeteer attach, is the remaining step.

改动内容

3 项改动
  1. 标签页与界面The running script is rendered with a line gutter: Debugger.getScriptSource returns the exact text the engine parsed and compiled (so gutter line N is the line a breakpoint fires on), and Debugger.getPossibleBreakpoints returns the distinct lines that begin a statement, read straight off the compile-time line table that breakpoints and stepping already index. A blank line, a comment or the middle of an expression is greyed out and unclickable - by construction there is no reachable "set a breakpoint that silently never fires" state.
  2. 开发者工具Click a line in the gutter to toggle its breakpoint: it drives the same setBreakpointByUrl / removeBreakpoint path the numeric box does (a new single-line clear alongside the existing clear-all), so a gutter click and a typed line number produce the identical breakpoint set, and the current pause line is highlighted while interactive stepping is on. The source and its breakpoint-able lines are captured only when the Debugger domain is enabled - a normal page run early-returns and pays nothing.
  3. 标签页与界面Wired end to end and gate-clean: two engine natives (__debug_script_source / __debug_possible_lines), two CDP methods (Debugger.getScriptSource / getPossibleBreakpoints), and a Sources block in the visual Debugger panel that polls the source deduped by content so the gutter only re-renders when the script actually changes. 2 new property tests (24 in the debugger module), conformance gate 6375/6375 with native-JIT and no-nanbox green. Honest remaining floor: a multi-file Sources tree and the WebSocket CDP transport for external tooling. Research note docs/devtools-sources.md.
v0.1.119 之后的所有内容,集中在一处

版本

v0.1.0 - 0.1.9 · 10 七月 2026418v0.1.427 · 25 十一月 2026

十一月2026 · 1 个版本

十月2026 · 7 个版本

九月2026 · 3 个版本

八月2026 · 18 个版本

14614 八月WebAssembly modules can call JavaScriptv0.1.146 · 渲染 14414 八月Exact tiling: percentage columns never leave a seamv0.1.144 · JavaScript 与 JIT 13514 八月DevTools automation: the methods a real driver reaches forv0.1.135 · Web API 与 DOM 12413 八月Puppeteer queries elements end to end - the first floor moves the overallv0.1.124 · 渲染 12213 八月Time-travel scrubbing: jump to any pause on the timelinev0.1.122 · 开发者工具 12113 八月Time-travel debugging: step BACK - a debugger the reference browser does not havev0.1.121 · 标签页与界面 12013 八月DevTools: a WebSocket transport, so external tools can attachv0.1.120 · 开发者工具 11913 八月DevTools: a Sources panel with a clickable line gutterv0.1.119 · 标签页与界面 11811 八月DevTools debugger: step over, into and outv0.1.118 · JavaScript 与 JIT 1177 八月DevTools breakpoints snap to the nearest real linev0.1.117 · 开发者工具 1167 八月DevTools debugger: source-line breakpointsv0.1.116 · 开发者工具 1157 八月DevTools debugger: evaluate expressions at the breakpointv0.1.115 · 开发者工具 1147 八月DevTools debugger: pause on exceptionsv0.1.114 · 开发者工具 1137 八月Visual DevTools: a live Console REPL and a Debugger panelv0.1.113 · 标签页与界面 1127 八月DevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · 开发者工具 1006 八月The browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · 开发者工具 986 八月The engine speaks the DevTools Protocolv0.1.98 · 开发者工具 704 八月One press, and you are on the new versionv0.1.70 · 标签页与界面

七月2026 · 3 个版本