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

Method get_thread

pydevd_attach_to_process/winappdbg/window.py:222–231  ·  view source on GitHub ↗

@rtype: L{Thread} @return: Parent Thread object.

(self)

Source from the content-addressed store, hash-verified

220 self.__process = process
221
222 def get_thread(self):
223 """
224 @rtype: L{Thread}
225 @return: Parent Thread object.
226 """
227 if self.__thread is not None:
228 return self.__thread
229 self.__load_Thread_class()
230 self.__thread = Thread(self.get_tid())
231 return self.__thread
232
233 def set_thread(self, thread=None):
234 """

Callers 1

__get_windowMethod · 0.95

Calls 3

__load_Thread_classMethod · 0.95
get_tidMethod · 0.95
ThreadClass · 0.90

Tested by

no test coverage detected