Skip to content

inspector: interrupt a busy JS loop so Debugger.pause is serviced - #32549

Open
robobun wants to merge 10 commits into
mainfrom
farm/173a725c/debugger-pause-busy-loop
Open

inspector: interrupt a busy JS loop so Debugger.pause is serviced#32549
robobun wants to merge 10 commits into
mainfrom
farm/173a725c/debugger-pause-busy-loop

[autofix.ci] apply automated fixes

5f01130
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed Jun 21, 2026 in 16m 41s

Code review found 1 important issue

Found 5 candidates, confirmed 1. See review comments for details.

Details

Severity Count
🔴 Important 1
🟡 Nit 0
🟣 Pre-existing 0
Severity File:Line Issue
🔴 Important src/jsc/bindings/BunDebugger.cpp:496-519 PR's own regression test fails on ASAN CI with unchecked-exception assertion

Annotations

Check failure on line 519 in src/jsc/bindings/BunDebugger.cpp

See this annotation in the file changed.

@claude claude / Claude Code Review

PR's own regression test fails on ASAN CI with unchecked-exception assertion

🔴 The PR's own regression test `test/regression/issue/32548.test.ts` is failing on `🐧 13 x64-asan` (Build #63688) with `unchecked exception at scopeChain @ vendor/WebKit/Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.cpp:178 (thrown from .../JSGlobalObjectInlines.h:302)`, marked "(new)". The follow-up commits f301787c / 5f011304 don't touch exception-scope handling, so this is unresolved at HEAD — per CLAUDE.md:208 ("Verify with `BUN_JSC_validateExceptionChecks=1` instead of adding suppre