Skip to content

Commit cc60f41

Browse files
committed
test
1 parent 561d3c1 commit cc60f41

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/bdb.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,9 @@ def is_skipped_module(self, module_name):
201201

202202
def stop_here(self, frame):
203203
"Return True if frame is below the starting frame in the stack."
204-
if self.stopframe is None:
204+
if (self.stopframe is None
205+
and self.returnframe is None
206+
and self.stoplineno == 0): # TEST: via set_step
205207
return True
206208
if self.skip and \
207209
self.is_skipped_module(frame.f_globals.get('__name__')):

0 commit comments

Comments
 (0)