MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / block_until_configuration_done

Method block_until_configuration_done

pydevd.py:932–943  ·  view source on GitHub ↗
(self, cancel=None)

Source from the content-addressed store, hash-verified

930 return system_exit_exc in self._ignore_system_exit_codes
931
932 def block_until_configuration_done(self, cancel=None):
933 if cancel is None:
934 cancel = NULL
935
936 while not cancel.is_set():
937 if self._on_configuration_done_event.is_set():
938 cancel.set() # Set cancel to prevent reuse
939 return
940
941 self.process_internal_commands()
942 self._py_db_command_thread_event.clear()
943 self._py_db_command_thread_event.wait(TIMEOUT_FAST)
944
945 def add_fake_frame(self, thread_id, frame_id, frame):
946 self.suspended_frames_manager.add_fake_frame(thread_id, frame_id, frame)

Callers 1

_wait_for_attachFunction · 0.80

Calls 3

clearMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected