همه نسخه‌ها v0.1.1127 اوت 2026ابزارهای توسعه‌دهنده خوراک

یادداشت‌های انتشار به انگلیسی نوشته شده‌اند.

DevTools Debugger: real `debugger;` breakpoints at the VM

The DevTools protocol grows a Debugger domain. Until now the engine's CDP subset could inspect and drive the page (Runtime, DOM, CSS, accessibility) but had no debugger at all. It now has a real one for the breakpoint that needs no source-line bookkeeping: the `debugger;` statement. When the domain is enabled, hitting a `debugger;` captures the actual pause state from the running engine - the current function name and the live scope chain, every local and block variable with its real value at that instant - reachable through the CDP Debugger methods and a small native bridge. It is an honest slice: there is still no WebSocket event transport (a pause is polled, not pushed), no line-number breakpoints (that needs source-to-bytecode mapping) and no stepping - but the pause it reports is real VM state, not a mock, and `debugger;` is now a zero-cost no-op when the domain is off. DevTools moves 20 to 22; overall holds at 51 (the full debugger floor - transport, line breakpoints, stepping - is not yet done).

چه چیزی تغییر کرد

3 تغییر
  1. ابزارهای توسعه‌دهندهA real `debugger;` breakpoint: the statement is now parsed and compiled to a VM instruction that, when the Debugger domain is enabled, captures the current call frame name and the live scope chain (each Env frame up to the function boundary) with every variable's actual value at the pause - deterministic (scope keys sorted). Bare `debugger` only: `debugger.x` / `{debugger: 1}` stay ordinary identifiers, and `debugger;` is a zero-cost no-op when the domain is off.
  2. ابزارهای توسعه‌دهندهExposed two ways: the CDP `Debugger.enable` / `Debugger.disable` / `Debugger.resume` / `Debugger.getPausedState` methods (a polled paused-state subset, since there is no WebSocket event transport yet), and a `__debug_*` native bridge (enable, paused, hits, resume) the tests and tooling drive directly.
  3. ابزارهای توسعه‌دهندهHonest scope: DevTools 20 -> 22 for a real Debugger-domain slice, but overall HOLDS at 51 because the full named floor is not done - no WebSocket CDP transport, no source-line breakpoints (needs a line-to-bytecode map), no single-stepping. 5 property tests (frame + scope capture, disabled no-op, resume, hit counting, property-name safety, CDP parity), conformance gate 6375/6375 with native-JIT and no-nanbox green.
همه چیز از v0.1.112 به بعد در یک جا

نسخه‌ها

v0.1.0 - 0.1.9 · 10 ژوئیه 2026418v0.1.427 · 25 نوامبر 2026