DebugClients/Python/ThreadExtension.py

branch
debugger fine grinding
changeset 5647
f40b614df103
parent 5587
ea526b78ee6c
child 5651
982465f8389c
equal deleted inserted replaced
5646:22f42d9cb264 5647:f40b614df103
295 Bootstrap for threading, which reports exceptions correctly. 295 Bootstrap for threading, which reports exceptions correctly.
296 296
297 @param run the run method of threading.Thread 297 @param run the run method of threading.Thread
298 @type method pointer 298 @type method pointer
299 """ 299 """
300 newThread = _debugClient.threads[self.ident] 300 newThread = DebugBase(_debugClient)
301 _debugClient.threads[self.ident] = newThread
301 newThread.name = self.name 302 newThread.name = self.name
302 # see DebugBase.bootstrap 303 # see DebugBase.bootstrap
303 sys.settrace(newThread.trace_dispatch) 304 sys.settrace(newThread.trace_dispatch)
304 try: 305 try:
305 run() 306 run()

eric ide

mercurial