231 self.writestream = None |
231 self.writestream = None |
232 self.errorstream = None |
232 self.errorstream = None |
233 self.pollingDisabled = False |
233 self.pollingDisabled = False |
234 |
234 |
235 self.callTraceEnabled = None |
235 self.callTraceEnabled = None |
236 self.__newCallTraceEnabled = None |
|
237 |
236 |
238 self.skipdirs = sys.path[:] |
237 self.skipdirs = sys.path[:] |
239 |
238 |
240 self.variant = 'You should not see this' |
239 self.variant = 'You should not see this' |
241 |
240 |
533 # path separator. They will get inadvertantly stripped away |
532 # path separator. They will get inadvertantly stripped away |
534 # during the eval causing IOErrors, if self.running is passed |
533 # during the eval causing IOErrors, if self.running is passed |
535 # as a normal str. |
534 # as a normal str. |
536 self.debugMod.__dict__['__file__'] = self.running |
535 self.debugMod.__dict__['__file__'] = self.running |
537 sys.modules['__main__'] = self.debugMod |
536 sys.modules['__main__'] = self.debugMod |
538 sys.setprofile(self.__newCallTraceEnabled) |
537 sys.setprofile(self.callTraceEnabled) |
539 res = self.mainThread.run( |
538 res = self.mainThread.run( |
540 'execfile(' + repr(self.running) + ')', |
539 'execfile(' + repr(self.running) + ')', |
541 self.debugMod.__dict__) |
540 self.debugMod.__dict__) |
542 self.progTerminated(res) |
541 self.progTerminated(res) |
543 return |
542 return |