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

Method _on_run

_pydevd_bundle/pydevd_comm.py:1897–1908  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1895
1896 @overrides(PyDBDaemonThread._on_run)
1897 def _on_run(self):
1898 start = time.time()
1899 xml = StringIO()
1900 xml.write("<xml>")
1901 for var_obj, name in self.var_objs:
1902 current_time = time.time()
1903 if current_time - start > ASYNC_EVAL_TIMEOUT_SEC or self.cancel_event.is_set():
1904 break
1905 xml.write(pydevd_xml.var_to_xml(var_obj, name, evaluate_full_value=True))
1906 xml.write("</xml>")
1907 self.send_result(xml)
1908 xml.close()
1909
1910
1911class GetValueAsyncThreadDebug(AbstractGetValueAsyncThread):

Callers

nothing calls this directly

Calls 3

send_resultMethod · 0.95
writeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected