コード例 #1
0
ファイル: DebugThread.py プロジェクト: testmana2/test
 def __init__(self, dbgClient, targ=None, args=None, kwargs=None,
              mainThread=False):
     """
     Constructor
     
     @param dbgClient the owning client
     @param targ the target method in the run thread
     @param args  arguments to be passed to the thread
     @param kwargs arguments to be passed to the thread
     @param mainThread 0 if this thread is not the mainscripts thread
     """
     DebugBase.__init__(self, dbgClient)
     
     self._target = targ
     self._args = args
     self._kwargs = kwargs
     self._mainThread = mainThread
     # thread running tracks execution state of client code
     # it will always be False for main thread as that is tracked
     # by DebugClientThreads and Bdb...
     self._threadRunning = False
     
     self.__ident = None  # id of this thread.
     self.__name = ""
     self.tracePython = False
コード例 #2
0
    def __init__(self,
                 dbgClient,
                 targ=None,
                 args=None,
                 kwargs=None,
                 mainThread=0):
        """
        Constructor
        
        @param dbgClient the owning client
        @param targ the target method in the run thread
        @param args  arguments to be passed to the thread
        @param kwargs arguments to be passed to the thread
        @param mainThread 0 if this thread is not the mainscripts thread
        """
        DebugBase.__init__(self, dbgClient)

        self._target = targ
        self._args = args
        self._kwargs = kwargs
        self._mainThread = mainThread
        # thread running tracks execution state of client code
        # it will always be 0 for main thread as that is tracked
        # by DebugClientThreads and Bdb...
        self._threadRunning = 0

        self.__ident = None  # id of this thread.
        self.__name = ""
        self.tracePython = False
コード例 #3
0
ファイル: DebugClient.py プロジェクト: thesecondson577/eric
    def __init__(self):
        """
        Constructor
        """
        AsyncIO.__init__(self)

        DebugClientBase.DebugClientBase.__init__(self)

        DebugBase.__init__(self, self)

        self.variant = 'Standard'
コード例 #4
0
ファイル: DebugClient.py プロジェクト: paulmadore/Eric-IDE
 def __init__(self):
     """
     Constructor
     """
     AsyncIO.__init__(self)
     
     DebugClientBase.DebugClientBase.__init__(self)
     
     DebugBase.__init__(self, self)
     
     self.variant = 'Standard'
コード例 #5
0
    def __init__(self):
        """
        Constructor
        """
        DebugClientBase.__init__(self)

        DebugBase.__init__(self, self)

        ThreadExtension.__init__(self)

        self.variant = 'Standard'