mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Fix HighlevelFixture.set_threads().
This commit is contained in:
parent
096f83e9c1
commit
1ccad6d29e
1 changed files with 2 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ from _pydevd_bundle.pydevd_comm import (
|
|||
CMD_VERSION,
|
||||
CMD_LIST_THREADS,
|
||||
CMD_THREAD_SUSPEND,
|
||||
CMD_RETURN,
|
||||
CMD_RUN,
|
||||
)
|
||||
|
||||
|
|
@ -364,7 +365,7 @@ class HighlevelFixture(object):
|
|||
if default_threads:
|
||||
threads = self._add_default_threads(threads)
|
||||
text = self.debugger_msgs.format_threads(*threads)
|
||||
self.set_debugger_response(CMD_LIST_THREADS, text)
|
||||
self.set_debugger_response(CMD_RETURN, text, reqid=CMD_LIST_THREADS)
|
||||
self.send_request('threads')
|
||||
|
||||
for tinfo in self.vsc.received[-1].data['body']['threads']:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue