From d810c10f03baf7af35e2d45185aee1d41a06fc2b Mon Sep 17 00:00:00 2001 From: yp9522 Date: Tue, 17 Jun 2025 20:55:27 +0800 Subject: [PATCH] add scopChain for GetJsFrames Issue: https://gitee.com/openharmony/arkcompiler_toolchain/issues/ICFW35 Signed-off-by: yp9522 Change-Id: If7487d723532e66703a1a51ddf908bfde60e0799 --- tooling/agent/debugger_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling/agent/debugger_impl.cpp b/tooling/agent/debugger_impl.cpp index 78e43910..2ddcbd11 100755 --- a/tooling/agent/debugger_impl.cpp +++ b/tooling/agent/debugger_impl.cpp @@ -490,7 +490,7 @@ std::string DebuggerImpl::DispatcherImpl::GetJsFrames() tooling::MixedStack mixedStack; mixedStack.SetNativePointers(nativePointers); std::vector> callFrames; - if (debugger_->GenerateCallFrames(&callFrames, false)) { + if (debugger_->GenerateCallFrames(&callFrames, true)) { mixedStack.SetCallFrames(std::move(callFrames)); } return mixedStack.ToJson()->Stringify(); -- Gitee