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

Method cancel_async_evaluation

pydevd.py:2083–2096  ·  view source on GitHub ↗
(self, thread_id, frame_id)

Source from the content-addressed store, hash-verified

2081 return stop, old_line, response_msg
2082
2083 def cancel_async_evaluation(self, thread_id, frame_id):
2084 with self._main_lock:
2085 try:
2086 all_threads = threadingEnumerate()
2087 for t in all_threads:
2088 if (
2089 getattr(t, "is_pydev_daemon_thread", False)
2090 and hasattr(t, "cancel_event")
2091 and t.thread_id == thread_id
2092 and t.frame_id == frame_id
2093 ):
2094 t.cancel_event.set()
2095 except:
2096 pydev_log.exception()
2097
2098 def find_frame(self, thread_id, frame_id):
2099 """returns a frame on the thread that has a given frame_id"""

Callers 1

_do_wait_suspendMethod · 0.95

Calls 1

exceptionMethod · 0.80

Tested by

no test coverage detected