Implement debugger stmt behavior followup3

Fix codecheck warning of line length
Test: Build & Boot devices & Debug

Signed-off-by: huangtianzhi <huangtianzhi1@huawei.com>
This commit is contained in:
huangtianzhi 2023-10-16 10:54:03 +08:00
parent ab277de0d3
commit ffdbf3320e

View File

@ -249,7 +249,9 @@ void DebuggerImpl::NotifyPaused(std::optional<JSPtLocation> location, PauseReaso
if (reason == DEBUGGERSTMT) {
BreakpointDetails detail;
hitBreakpoints.emplace_back(BreakpointDetails::ToString(detail));
paused.SetCallFrames(std::move(callFrames)).SetReason(PauseReason::OTHER).SetHitBreakpoints(std::move(hitBreakpoints));
paused.SetCallFrames(std::move(callFrames))
.SetReason(PauseReason::OTHER)
.SetHitBreakpoints(std::move(hitBreakpoints));
} else {
paused.SetCallFrames(std::move(callFrames)).SetReason(reason).SetHitBreakpoints(std::move(hitBreakpoints));
}