DebugClients/Python3/DebugClientBase.py

branch
6_1_x
changeset 4848
36b1d9bec8f6
parent 4835
371c03e08f7b
child 4946
c7b333448ad5
equal deleted inserted replaced
4844:fcb19b666d96 4848:36b1d9bec8f6
1970 @param completions set where to add new completions strings (set) 1970 @param completions set where to add new completions strings (set)
1971 """ 1971 """
1972 state = 0 1972 state = 0
1973 try: 1973 try:
1974 comp = completer(text, state) 1974 comp = completer(text, state)
1975 except Exception:
1975 comp = None 1976 comp = None
1976 while comp is not None: 1977 while comp is not None:
1977 completions.add(comp) 1978 completions.add(comp)
1978 state += 1 1979 state += 1
1979 try: 1980 try:
1980 comp = completer(text, state) 1981 comp = completer(text, state)
1981 except: 1982 except Exception:
1982 comp = None 1983 comp = None
1983 1984
1984 def startDebugger(self, filename=None, host=None, port=None, 1985 def startDebugger(self, filename=None, host=None, port=None,
1985 enableTrace=True, exceptions=True, tracePython=False, 1986 enableTrace=True, exceptions=True, tracePython=False,
1986 redirect=True): 1987 redirect=True):

eric ide

mercurial