Fix step-out.

This commit is contained in:
Pavel Minaev 2024-03-12 14:27:16 -07:00
parent d5a7ef7557
commit 697a7b26a5

View file

@ -379,7 +379,8 @@ class Step:
break
return is_complete
elif self.step == "out":
while python_frame is not None:
is_complete = True
for python_frame, _ in traceback.walk_stack(python_frame):
if python_frame is self.origin:
is_complete = False
break