From 62680efe50b5ae217441a56655a9c1cde963c603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 27 Apr 2026 22:24:57 +0800 Subject: [PATCH 1/2] fix: clear waitverify when source is resolved in setBreakpoints --- extension/script/backend/worker/breakpoint.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extension/script/backend/worker/breakpoint.lua b/extension/script/backend/worker/breakpoint.lua index 003205ab..b765716c 100644 --- a/extension/script/backend/worker/breakpoint.lua +++ b/extension/script/backend/worker/breakpoint.lua @@ -274,6 +274,10 @@ function m.set_bp(clientsrc, breakpoints, content) else cantVerifyBreakpoints(breakpoints) end + -- When source is found, sync waitverify so that newly-loaded protos + -- use currentactive instead of stale waitverify entries. + waitverify[bpClientKey(clientsrc)] = nil + updateHook() else waitverify[bpClientKey(clientsrc)] = { breakpoints = breakpoints, From dfa14456a220a868b9e032aa3fede554bf026f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 27 Apr 2026 22:28:06 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E5=B9=B6=E4=BF=9D=E7=95=99=20waitverify=20=E6=B8=85=E7=90=86?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extension/script/backend/worker/breakpoint.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/extension/script/backend/worker/breakpoint.lua b/extension/script/backend/worker/breakpoint.lua index b765716c..7ae716a0 100644 --- a/extension/script/backend/worker/breakpoint.lua +++ b/extension/script/backend/worker/breakpoint.lua @@ -274,8 +274,6 @@ function m.set_bp(clientsrc, breakpoints, content) else cantVerifyBreakpoints(breakpoints) end - -- When source is found, sync waitverify so that newly-loaded protos - -- use currentactive instead of stale waitverify entries. waitverify[bpClientKey(clientsrc)] = nil updateHook() else