mirror of
https://gitee.com/openharmony/arkcompiler_toolchain
synced 2024-11-27 17:50:33 +00:00
!154 Fix stepper over unexpected behavior
Merge pull request !154 from Gymee/bugfix
This commit is contained in:
commit
9e1eb42e48
@ -1159,7 +1159,8 @@ void DebuggerImpl::UpdateScopeObject(const FrameHandler *frameHandler,
|
||||
|
||||
void DebuggerImpl::ClearSingleStepper()
|
||||
{
|
||||
if (singleStepper_ != nullptr) {
|
||||
// ClearSingleStepper is originally called from Function::Call, if current depth is 0, then it is safe to reset
|
||||
if (singleStepper_ != nullptr && DebuggerApi::GetStackDepth(vm_) == 0) {
|
||||
singleStepper_.reset();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user