Sat, 23 Dec 2017 16:42:21 +0100
Fixed a visibility issue related to the debug viewer when halting at a break point or single stepping.
--- a/APIs/Python3/eric6.api Sat Dec 23 16:30:40 2017 +0100 +++ b/APIs/Python3/eric6.api Sat Dec 23 16:42:21 2017 +0100 @@ -9817,6 +9817,7 @@ eric6.UI.UserInterface.UserInterface.RightSide?7 eric6.UI.UserInterface.UserInterface.activateCodeDocumentationViewer?4(switchFocus=True) eric6.UI.UserInterface.UserInterface.activateCooperationViewer?4() +eric6.UI.UserInterface.UserInterface.activateDebugViewer?4() eric6.UI.UserInterface.UserInterface.addE5Actions?4(actions, actionType) eric6.UI.UserInterface.UserInterface.addSideWidget?4(side, widget, icon, label) eric6.UI.UserInterface.UserInterface.appendStderr?7
--- a/Debugger/DebugUI.py Sat Dec 23 16:30:40 2017 +0100 +++ b/Debugger/DebugUI.py Sat Dec 23 16:42:21 2017 +0100 @@ -1311,6 +1311,7 @@ 0 = local) @param variables the list of variables from the client """ + self.ui.activateDebugViewer() if scope > 0: self.debugViewer.showVariables(variables, True) if scope == 1: @@ -1331,6 +1332,7 @@ 0 = local) @param variables the list of members of a classvariable from the client """ + self.ui.activateDebugViewer() if scope == 1: self.debugViewer.showVariable(variables, True) elif scope == 0:
--- a/Documentation/Help/source.qhp Sat Dec 23 16:30:40 2017 +0100 +++ b/Documentation/Help/source.qhp Sat Dec 23 16:42:21 2017 +0100 @@ -16552,7 +16552,6 @@ <keyword name="UserInterface.__TRPreviewer" id="UserInterface.__TRPreviewer" ref="eric6.UI.UserInterface.html#UserInterface.__TRPreviewer" /> <keyword name="UserInterface.__UIPreviewer" id="UserInterface.__UIPreviewer" ref="eric6.UI.UserInterface.html#UserInterface.__UIPreviewer" /> <keyword name="UserInterface.__activateBrowser" id="UserInterface.__activateBrowser" ref="eric6.UI.UserInterface.html#UserInterface.__activateBrowser" /> - <keyword name="UserInterface.__activateDebugViewer" id="UserInterface.__activateDebugViewer" ref="eric6.UI.UserInterface.html#UserInterface.__activateDebugViewer" /> <keyword name="UserInterface.__activateIRC" id="UserInterface.__activateIRC" ref="eric6.UI.UserInterface.html#UserInterface.__activateIRC" /> <keyword name="UserInterface.__activateLogViewer" id="UserInterface.__activateLogViewer" ref="eric6.UI.UserInterface.html#UserInterface.__activateLogViewer" /> <keyword name="UserInterface.__activateMultiProjectBrowser" id="UserInterface.__activateMultiProjectBrowser" ref="eric6.UI.UserInterface.html#UserInterface.__activateMultiProjectBrowser" /> @@ -16712,6 +16711,7 @@ <keyword name="UserInterface.__writeTasks" id="UserInterface.__writeTasks" ref="eric6.UI.UserInterface.html#UserInterface.__writeTasks" /> <keyword name="UserInterface.activateCodeDocumentationViewer" id="UserInterface.activateCodeDocumentationViewer" ref="eric6.UI.UserInterface.html#UserInterface.activateCodeDocumentationViewer" /> <keyword name="UserInterface.activateCooperationViewer" id="UserInterface.activateCooperationViewer" ref="eric6.UI.UserInterface.html#UserInterface.activateCooperationViewer" /> + <keyword name="UserInterface.activateDebugViewer" id="UserInterface.activateDebugViewer" ref="eric6.UI.UserInterface.html#UserInterface.activateDebugViewer" /> <keyword name="UserInterface.addE5Actions" id="UserInterface.addE5Actions" ref="eric6.UI.UserInterface.html#UserInterface.addE5Actions" /> <keyword name="UserInterface.addSideWidget" id="UserInterface.addSideWidget" ref="eric6.UI.UserInterface.html#UserInterface.addSideWidget" /> <keyword name="UserInterface.appendToStderr" id="UserInterface.appendToStderr" ref="eric6.UI.UserInterface.html#UserInterface.appendToStderr" />
--- a/Documentation/Source/eric6.UI.UserInterface.html Sat Dec 23 16:30:40 2017 +0100 +++ b/Documentation/Source/eric6.UI.UserInterface.html Sat Dec 23 16:42:21 2017 +0100 @@ -201,9 +201,6 @@ <td><a href="#UserInterface.__activateBrowser">__activateBrowser</a></td> <td>Private slot to handle the activation of the file browser.</td> </tr><tr> -<td><a href="#UserInterface.__activateDebugViewer">__activateDebugViewer</a></td> -<td>Private slot to handle the activation of the debug viewer.</td> -</tr><tr> <td><a href="#UserInterface.__activateIRC">__activateIRC</a></td> <td>Private slot to handle the activation of the IRC window.</td> </tr><tr> @@ -681,6 +678,9 @@ <td><a href="#UserInterface.activateCooperationViewer">activateCooperationViewer</a></td> <td>Public slot to handle the activation of the cooperation window.</td> </tr><tr> +<td><a href="#UserInterface.activateDebugViewer">activateDebugViewer</a></td> +<td>Public slot to handle the activation of the debug viewer.</td> +</tr><tr> <td><a href="#UserInterface.addE5Actions">addE5Actions</a></td> <td>Public method to add actions to the list of actions.</td> </tr><tr> @@ -916,11 +916,6 @@ <b>__activateBrowser</b>(<i></i>) <p> Private slot to handle the activation of the file browser. -</p><a NAME="UserInterface.__activateDebugViewer" ID="UserInterface.__activateDebugViewer"></a> -<h4>UserInterface.__activateDebugViewer</h4> -<b>__activateDebugViewer</b>(<i></i>) -<p> - Private slot to handle the activation of the debug viewer. </p><a NAME="UserInterface.__activateIRC" ID="UserInterface.__activateIRC"></a> <h4>UserInterface.__activateIRC</h4> <b>__activateIRC</b>(<i></i>) @@ -2081,6 +2076,11 @@ <b>activateCooperationViewer</b>(<i></i>) <p> Public slot to handle the activation of the cooperation window. +</p><a NAME="UserInterface.activateDebugViewer" ID="UserInterface.activateDebugViewer"></a> +<h4>UserInterface.activateDebugViewer</h4> +<b>activateDebugViewer</b>(<i></i>) +<p> + Public slot to handle the activation of the debug viewer. </p><a NAME="UserInterface.addE5Actions" ID="UserInterface.addE5Actions"></a> <h4>UserInterface.addE5Actions</h4> <b>addE5Actions</b>(<i>actions, actionType</i>)
--- a/UI/UserInterface.py Sat Dec 23 16:30:40 2017 +0100 +++ b/UI/UserInterface.py Sat Dec 23 16:42:21 2017 +0100 @@ -1466,7 +1466,7 @@ """ window.</p>""" )) self.debugViewerActivateAct.triggered.connect( - self.__activateDebugViewer) + self.activateDebugViewer) self.actions.append(self.debugViewerActivateAct) self.addAction(self.debugViewerActivateAct) @@ -3960,9 +3960,9 @@ self.multiProjectBrowser.show() self.multiProjectBrowser.setFocus(Qt.ActiveWindowFocusReason) - def __activateDebugViewer(self): - """ - Private slot to handle the activation of the debug viewer. + def activateDebugViewer(self): + """ + Public slot to handle the activation of the debug viewer. """ if self.layoutType == "Toolboxes": self.rToolboxDock.show()