릴리스 노트는 영어로 작성되어 있습니다.
DevTools debugger: evaluate expressions at the breakpoint
The debugger's paused state stops being read-only. When execution is paused - at a `debugger;` statement or a thrown exception - the Console now evaluates whatever you type in the PAUSED FRAME's scope, not the page's: type `secret * 2` at a breakpoint and it reads the `secret` that was in scope at the pause, with inner block variables correctly shadowing outer ones. It is the standard Debugger.evaluateOnCallFrame, wired so the existing Console REPL just does the right thing: paused -> evaluate in the frame, running -> evaluate in the live page, exactly like the reference browser. The frame's variables are captured at the pause and offered to the expression as a scope, so an expression can read and combine them even after the throw has unwound. DevTools moves 25 to 26; overall holds at 51.
바뀐 점
변경 3개- DevToolsDebugger.evaluateOnCallFrame: at a pause (a `debugger;` or a caught/uncaught exception), an expression is evaluated with the paused frame's merged scope in scope - inner block bindings shadow outer function ones. Verified: paused inside a block where `let secret = 5` shadows the function's `var secret = 42`, `secret * 2` returns 10 and `secret + 100` returns 105; evaluating with nothing paused reports <not paused>.
- 탭과 인터페이스The visual Console REPL now targets the breakpoint automatically: while the debugger is paused the same input evaluates in the frame scope, and when running it evaluates in the live page session - no mode switch, matching the reference browser. Exposed through the CDP Debugger.evaluateOnCallFrame method and __debug_eval_frame / __debug_frame_scope natives.
- DevToolsSafe by construction: the captured scope is offered to the expression through a native, so only the expression text is compiled (no value is interpolated into source), the pause scope is cleared on resume, and the whole path touches only the debugger module - conformance gate 6375/6375 unchanged, native-JIT and no-nanbox green. 2 new engine tests (15 in the debugger module).
































