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

版本说明以英文撰写。

DevTools debugger: pause on exceptions

The debugger gains its second breakpoint kind, and the one every developer reaches for after `debugger;`: pause on exceptions. Arm it to 'all' or 'uncaught' and the engine captures the moment a JavaScript error is thrown - the thrown value's message, the function it happened in, and every local and block variable at its real value right at the throw, before the stack unwinds. It hooks the single point every throw in the engine passes through, so it is complete by construction (no missed throws) and free when disarmed: ordinary try/catch code pays nothing. 'uncaught' mode ignores a throw that a try/catch handles and stops only on one that escapes; 'all' stops on both. The visual Debugger panel gets a none/uncaught/all switch and shows the thrown error in red above the paused scope. DevTools moves 24 to 25; overall holds at 51.

改动内容

3 项改动
  1. 开发者工具Pause on exceptions: a new debugger mode (none / uncaught / all) captures the live scope and the thrown value at the moment an error is thrown. It hooks the one place every throw in the engine funnels through (the raise path that also attaches stack traces), so no throw is missed, and it reads the scope BEFORE the stack unwinds - the paused frame shows the thrown message plus every local/block variable at its value. Verified: a thrown Error under 'all' is captured with reason, message and a local (code=500) even through a try/catch; 'uncaught' ignores a handled throw and stops on an escaping one; default off pauses on nothing.
  2. 开发者工具It is free when off and independent of the `debugger;` domain: the hook is a single fast flag check on the throw path, so normal try/catch control flow is untouched (conformance gate 6375/6375 unchanged), and pause-on-exceptions works even on a page with no `debugger;` statement, exactly as the reference browser does.
  3. 标签页与界面The visual Debugger panel gains a none / uncaught / all switch, and a paused-on-exception shows the thrown error in red above the scope chain. Exposed through the CDP `Debugger.setPauseOnExceptions` method, a `__debug_pause_exceptions` native, and the shell `engine_session_debugger_control` command. 3 new engine tests (13 in the debugger module), gate 6375/6375 with native-JIT and no-nanbox green; shell typechecks + compiles.
v0.1.114 之后的所有内容,集中在一处

版本

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