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

版本说明以英文撰写。

DevTools debugger: source-line breakpoints

The biggest debugger piece lands: real, click-a-line breakpoints. Set a breakpoint on a source line and execution pauses THERE, with the live scope - every local and block variable at its actual value at that point in the code - not just where a `debugger;` statement happens to sit. It works by threading a source-line number through the lexer, parser and compiler into a compile-time line->bytecode table, with NO extra instruction in the running code, so a page that is not being debugged runs exactly as before (the whole conformance suite is unchanged and the just-in-time compiler is untouched). When a breakpoint is armed the engine runs the interpreter so the breakpoint can fire even inside a hot loop, and a fast flag means a normal run pays essentially nothing. This is the capability that makes the debugger usable for real work - set a breakpoint, reload, inspect. The Debugger panel gets a break-on-line input. DevTools moves 26 to 28; overall holds at 51.

改动内容

3 项改动
  1. 开发者工具Source-line breakpoints (Debugger.setBreakpointByUrl): a 1-based source line is threaded lexer -> parser -> compiler into a compile-time line->bytecode table (a Stmt::Line marker that emits NO runtime op), so the running bytecode and the JIT are byte-for-byte unchanged. Set a breakpoint and execution pauses at that line with the live scope; verified a breakpoint on `var y = x + 1;` pauses with x=41 in scope, an unrun line never fires, and clearing disarms.
  2. JavaScript 与 JITZero-cost when off, correct inside loops: the interpreter reads a fast "any breakpoint armed" flag once per entry and only then checks the current position, so a non-debugging run pays a predicted-not-taken branch and the conformance gate is unchanged (6375/6375). While a breakpoint is armed the loop just-in-time compiler steps aside so the breakpoint fires even in a hot loop - and it steps right back in when breakpoints are cleared (JIT tests all green).
  3. 标签页与界面Wired through: the CDP Debugger.setBreakpointByUrl / setBreakpoint / removeBreakpoint methods, __debug_set/clear_breakpoint natives, and a break-on-line input with line chips in the visual Debugger panel. This is the biggest single step toward a full-featured debugger; stepping and a Sources gutter are the follow-ons. Built on the v0.1.112-115 debugger (breakpoints, pause-on-exceptions, evaluate-on-frame).
v0.1.116 之后的所有内容,集中在一处

版本

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 个版本