MCPcopy Index your code
hub / github.com/fabioz/PyDev.Debugger / _on_run

Method _on_run

pydevd.py:265–289  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

263
264 @overrides(PyDBDaemonThread._on_run)
265 def _on_run(self):
266 # Delay a bit this initialization to wait for the main program to start.
267 self._py_db_command_thread_event.wait(TIMEOUT_SLOW)
268
269 if self._kill_received:
270 return
271
272 try:
273 while not self._kill_received:
274 try:
275 self.py_db.process_internal_commands(("*",))
276 except:
277 pydev_log.info("Finishing debug communication...(2)")
278 self._py_db_command_thread_event.clear()
279 self._py_db_command_thread_event.wait(TIMEOUT_SLOW)
280 except:
281 try:
282 pydev_log.debug(sys.exc_info()[0])
283 except:
284 # In interpreter shutdown many things can go wrong (any module variables may
285 # be None, streams can be closed, etc).
286 pass
287
288 # only got this error in interpreter shutdown
289 # pydev_log.info('Finishing debug communication...(3)')
290
291 @overrides(PyDBDaemonThread.do_kill_pydev_thread)
292 def do_kill_pydev_thread(self):

Callers

nothing calls this directly

Calls 4

infoMethod · 0.80
waitMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected