--- a/eric6/Debugger/DebugServer.py Fri Feb 05 11:02:28 2021 +0100 +++ b/eric6/Debugger/DebugServer.py Fri Feb 05 11:38:53 2021 +0100 @@ -168,15 +168,18 @@ callTraceInfo = pyqtSignal(bool, str, str, str, str, str, str, str) appendStdout = pyqtSignal(str) - def __init__(self, originalPathString, preventPassiveDebugging=False): + def __init__(self, originalPathString, preventPassiveDebugging=False, + project=None): """ Constructor @param originalPathString original PATH environment variable @type str @param preventPassiveDebugging flag overriding the PassiveDbgEnabled - setting - @type bool + setting (defaults to False) + @type bool (optional) + @param project reference to the project object (defaults to None) + @type Project (optional) """ super(DebugServer, self).__init__() @@ -193,7 +196,7 @@ # the value # create our models - self.breakpointModel = BreakPointModel(self) + self.breakpointModel = BreakPointModel(project, self) self.watchpointModel = WatchPointModel(self) self.watchSpecialCreated = self.tr( "created", "must be same as in EditWatchpointDialog")