mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
parent
15a9befccf
commit
2afcdc91f5
2 changed files with 1 additions and 7 deletions
|
|
@ -14,9 +14,6 @@ __file__ = os.path.abspath(__file__)
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
if "pydevd" not in sys.modules:
|
||||
assert "threading" not in sys.modules
|
||||
|
||||
# ptvsd can also be invoked directly rather than via -m. In this case, the first
|
||||
# entry on sys.path is the one added automatically by Python for the directory
|
||||
# containing this file. This means that import ptvsd will not work, since we need
|
||||
|
|
@ -44,8 +41,5 @@ if __name__ == "__main__":
|
|||
import ptvsd # noqa
|
||||
del sys.path[0]
|
||||
|
||||
# if "pydevd" not in sys.modules:
|
||||
# assert "threading" not in sys.modules
|
||||
|
||||
from ptvsd.server import main
|
||||
main.main()
|
||||
|
|
|
|||
|
|
@ -572,7 +572,7 @@ class PyDB(object):
|
|||
return system_exit_exc in self._ignore_system_exit_codes
|
||||
|
||||
def block_until_configuration_done(self, timeout=None):
|
||||
self._on_configuration_done_event.wait(timeout)
|
||||
return self._on_configuration_done_event.wait(timeout)
|
||||
|
||||
def add_fake_frame(self, thread_id, frame_id, frame):
|
||||
self.suspended_frames_manager.add_fake_frame(thread_id, frame_id, frame)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue