Debugger/DebugServer.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2488
0ac8e48f7092
child 2526
a91cba8291b9
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing the debug server. 7 Module implementing the debug server.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
11 try:
12 str = unicode
13 except (NameError):
14 pass
9 15
10 import os 16 import os
11 17
12 from PyQt4.QtCore import pyqtSignal, QModelIndex 18 from PyQt4.QtCore import pyqtSignal, QModelIndex
13 from PyQt4.QtNetwork import QTcpServer, QHostAddress, QHostInfo, QNetworkInterface 19 from PyQt4.QtNetwork import QTcpServer, QHostAddress, QHostInfo, QNetworkInterface
135 141
136 def __init__(self): 142 def __init__(self):
137 """ 143 """
138 Constructor 144 Constructor
139 """ 145 """
140 super().__init__() 146 super(DebugServer, self).__init__()
141 147
142 # create our models 148 # create our models
143 self.breakpointModel = BreakPointModel(self) 149 self.breakpointModel = BreakPointModel(self)
144 self.watchpointModel = WatchPointModel(self) 150 self.watchpointModel = WatchPointModel(self)
145 self.watchSpecialCreated = \ 151 self.watchSpecialCreated = \

eric ide

mercurial