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

Method __init__

pydevd_attach_to_process/winappdbg/thread.py:130–146  ·  view source on GitHub ↗

@type dwThreadId: int @param dwThreadId: Global thread ID. @type hThread: L{ThreadHandle} @param hThread: (Optional) Handle to the thread. @type process: L{Process} @param process: (Optional) Parent Process object.

(self, dwThreadId, hThread=None, process=None)

Source from the content-addressed store, hash-verified

128 """
129
130 def __init__(self, dwThreadId, hThread=None, process=None):
131 """
132 @type dwThreadId: int
133 @param dwThreadId: Global thread ID.
134
135 @type hThread: L{ThreadHandle}
136 @param hThread: (Optional) Handle to the thread.
137
138 @type process: L{Process}
139 @param process: (Optional) Parent Process object.
140 """
141 self.dwProcessId = None
142 self.dwThreadId = dwThreadId
143 self.hThread = hThread
144 self.pInjectedMemory = None
145 self.set_name(None)
146 self.set_process(process)
147
148 # Not really sure if it's a good idea...
149 ## def __eq__(self, aThread):

Callers

nothing calls this directly

Calls 2

set_nameMethod · 0.95
set_processMethod · 0.95

Tested by

no test coverage detected