eric6/Debugger/DebugServer.py

changeset 8077
1fd8f611f26a
parent 8075
6774034a1e0f
child 8138
169e65a6787c
equal deleted inserted replaced
8076:a5bb0dc804a2 8077:1fd8f611f26a
166 utFinished = pyqtSignal() 166 utFinished = pyqtSignal()
167 passiveDebugStarted = pyqtSignal(str, bool) 167 passiveDebugStarted = pyqtSignal(str, bool)
168 callTraceInfo = pyqtSignal(bool, str, str, str, str, str, str, str) 168 callTraceInfo = pyqtSignal(bool, str, str, str, str, str, str, str)
169 appendStdout = pyqtSignal(str) 169 appendStdout = pyqtSignal(str)
170 170
171 def __init__(self, originalPathString, preventPassiveDebugging=False): 171 def __init__(self, originalPathString, preventPassiveDebugging=False,
172 project=None):
172 """ 173 """
173 Constructor 174 Constructor
174 175
175 @param originalPathString original PATH environment variable 176 @param originalPathString original PATH environment variable
176 @type str 177 @type str
177 @param preventPassiveDebugging flag overriding the PassiveDbgEnabled 178 @param preventPassiveDebugging flag overriding the PassiveDbgEnabled
178 setting 179 setting (defaults to False)
179 @type bool 180 @type bool (optional)
181 @param project reference to the project object (defaults to None)
182 @type Project (optional)
180 """ 183 """
181 super(DebugServer, self).__init__() 184 super(DebugServer, self).__init__()
182 185
183 self.__originalPathString = originalPathString 186 self.__originalPathString = originalPathString
184 187
191 # function reference to create the debugger interface (see 194 # function reference to create the debugger interface (see
192 # __createDebuggerInterface() below) and the interface name is 195 # __createDebuggerInterface() below) and the interface name is
193 # the value 196 # the value
194 197
195 # create our models 198 # create our models
196 self.breakpointModel = BreakPointModel(self) 199 self.breakpointModel = BreakPointModel(project, self)
197 self.watchpointModel = WatchPointModel(self) 200 self.watchpointModel = WatchPointModel(self)
198 self.watchSpecialCreated = self.tr( 201 self.watchSpecialCreated = self.tr(
199 "created", "must be same as in EditWatchpointDialog") 202 "created", "must be same as in EditWatchpointDialog")
200 self.watchSpecialChanged = self.tr( 203 self.watchSpecialChanged = self.tr(
201 "changed", "must be same as in EditWatchpointDialog") 204 "changed", "must be same as in EditWatchpointDialog")

eric ide

mercurial