Mon, 28 Feb 2022 17:07:35 +0100
Implemented a fix for issue422 caused by an incomplete API of DebuggerInterfaceNone.
--- a/eric7/APIs/Python3/eric7.api Sun Feb 27 19:02:33 2022 +0100 +++ b/eric7/APIs/Python3/eric7.api Mon Feb 28 17:07:35 2022 +0100 @@ -775,8 +775,8 @@ eric7.Debugger.DebuggerInterfaceNone.DebuggerInterfaceNone.remoteWatchpointIgnore?4(debuggerId, cond, count) eric7.Debugger.DebuggerInterfaceNone.DebuggerInterfaceNone.setCallTraceEnabled?4(debuggerId, on) eric7.Debugger.DebuggerInterfaceNone.DebuggerInterfaceNone.shutdown?4() -eric7.Debugger.DebuggerInterfaceNone.DebuggerInterfaceNone.startRemote?4(port, runInConsole, venvName, originalPathString, workingDir=None) -eric7.Debugger.DebuggerInterfaceNone.DebuggerInterfaceNone.startRemoteForProject?4(port, runInConsole, venvName, originalPathString, workingDir=None) +eric7.Debugger.DebuggerInterfaceNone.DebuggerInterfaceNone.startRemote?4(port, runInConsole, venvName, originalPathString, workingDir=None, configOverride=None) +eric7.Debugger.DebuggerInterfaceNone.DebuggerInterfaceNone.startRemoteForProject?4(port, runInConsole, venvName, originalPathString, workingDir=None, configOverride=None) eric7.Debugger.DebuggerInterfaceNone.DebuggerInterfaceNone?1(debugServer, passive) eric7.Debugger.DebuggerInterfaceNone.createDebuggerInterfaceNone?4(debugServer, passive) eric7.Debugger.DebuggerInterfaceNone.getRegistryData?4()
--- a/eric7/DebugClients/Python/DebugBase.py Sun Feb 27 19:02:33 2022 +0100 +++ b/eric7/DebugClients/Python/DebugBase.py Mon Feb 28 17:07:35 2022 +0100 @@ -85,7 +85,7 @@ self.id = -1 self.name = '' - self.tracePythonLibs(0) + self.tracePythonLibs(False) # Special handling of a recursion error self.skipFrames = 0
--- a/eric7/Debugger/DebuggerInterfaceNone.py Sun Feb 27 19:02:33 2022 +0100 +++ b/eric7/Debugger/DebuggerInterfaceNone.py Mon Feb 28 17:07:35 2022 +0100 @@ -39,7 +39,7 @@ self.clientCapabilities = ClientDefaultCapabilities def startRemote(self, port, runInConsole, venvName, originalPathString, - workingDir=None): + workingDir=None, configOverride=None): """ Public method to start a remote Python interpreter. @@ -54,6 +54,9 @@ @type str @param workingDir directory to start the debugger client in @type str + @param configOverride dictionary containing the global config override + data + @type dict @return client process object, a flag to indicate a network connection and the name of the interpreter in case of a local execution @rtype tuple of (QProcess, bool, str) @@ -61,7 +64,8 @@ return None, True, "" def startRemoteForProject(self, port, runInConsole, venvName, - originalPathString, workingDir=None): + originalPathString, workingDir=None, + configOverride=None): """ Public method to start a remote Python interpreter for a project. @@ -76,6 +80,9 @@ @type str @param workingDir directory to start the debugger client in @type str + @param configOverride dictionary containing the global config override + data + @type dict @return client process object, a flag to indicate a network connection and the name of the interpreter in case of a local execution @rtype tuple of (QProcess, bool, str)
--- a/eric7/Documentation/Source/eric7.Debugger.DebuggerInterfaceNone.html Sun Feb 27 19:02:33 2022 +0100 +++ b/eric7/Documentation/Source/eric7.Debugger.DebuggerInterfaceNone.html Mon Feb 28 17:07:35 2022 +0100 @@ -1132,7 +1132,7 @@ </p> <a NAME="DebuggerInterfaceNone.startRemote" ID="DebuggerInterfaceNone.startRemote"></a> <h4>DebuggerInterfaceNone.startRemote</h4> -<b>startRemote</b>(<i>port, runInConsole, venvName, originalPathString, workingDir=None</i>) +<b>startRemote</b>(<i>port, runInConsole, venvName, originalPathString, workingDir=None, configOverride=None</i>) <p> Public method to start a remote Python interpreter. @@ -1160,6 +1160,11 @@ <dd> directory to start the debugger client in </dd> +<dt><i>configOverride</i> (dict)</dt> +<dd> +dictionary containing the global config override + data +</dd> </dl> <dl> <dt>Return:</dt> @@ -1176,7 +1181,7 @@ </dl> <a NAME="DebuggerInterfaceNone.startRemoteForProject" ID="DebuggerInterfaceNone.startRemoteForProject"></a> <h4>DebuggerInterfaceNone.startRemoteForProject</h4> -<b>startRemoteForProject</b>(<i>port, runInConsole, venvName, originalPathString, workingDir=None</i>) +<b>startRemoteForProject</b>(<i>port, runInConsole, venvName, originalPathString, workingDir=None, configOverride=None</i>) <p> Public method to start a remote Python interpreter for a project. @@ -1204,6 +1209,11 @@ <dd> directory to start the debugger client in </dd> +<dt><i>configOverride</i> (dict)</dt> +<dd> +dictionary containing the global config override + data +</dd> </dl> <dl> <dt>Return:</dt>