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

Method post_method_as_internal_command

pydevd.py:1601–1606  ·  view source on GitHub ↗
(self, thread_id, method, *args, **kwargs)

Source from the content-addressed store, hash-verified

1599 return self._cmd_queue[thread_id], self._thread_events[thread_id]
1600
1601 def post_method_as_internal_command(self, thread_id, method, *args, **kwargs):
1602 if thread_id == "*":
1603 internal_cmd = InternalThreadCommandForAnyThread(thread_id, method, *args, **kwargs)
1604 else:
1605 internal_cmd = InternalThreadCommand(thread_id, method, *args, **kwargs)
1606 self.post_internal_command(internal_cmd, thread_id)
1607
1608 def post_internal_command(self, int_cmd, thread_id):
1609 """if thread_id is *, post to the '*' queue"""

Tested by

no test coverage detected