Fix multithreading stepping in 3.12 and later (#1798)

* Fix multithreaded stepping to not have 'return' events when a thread is already suspended

* Update after removing blank line

* Remove unnecessary change for start method
This commit is contained in:
Rich Chiodo 2025-01-07 11:25:54 -08:00 committed by GitHub
parent 7597262c80
commit 02723de140
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 1962 additions and 1855 deletions

View file

@ -867,6 +867,8 @@ class Session(object):
assert len(expected_frames) <= len(frames)
assert expected_frames == frames[0 : len(expected_frames)]
assert len(frames) > 0
fid = frames[0]("id", int)
return StopInfo(stopped, frames, tid, fid)