--- a/eric7/Documentation/Source/eric7.Debugger.DebugUI.html Mon Aug 23 19:15:36 2021 +0200 +++ b/eric7/Documentation/Source/eric7.Debugger.DebugUI.html Mon Aug 23 19:16:33 2021 +0200 @@ -219,26 +219,10 @@ <td>Private slot to handle the debug script action.</td> </tr> <tr> -<td><a href="#DebugUI.__doCoverage">__doCoverage</a></td> -<td>Private method to handle the coverage actions.</td> -</tr> -<tr> -<td><a href="#DebugUI.__doDebug">__doDebug</a></td> -<td>Private method to handle the debug actions.</td> -</tr> -<tr> -<td><a href="#DebugUI.__doProfile">__doProfile</a></td> -<td>Private method to handle the profile actions.</td> -</tr> -<tr> <td><a href="#DebugUI.__doRestart">__doRestart</a></td> <td>Private slot to handle the restart action to restart the last debugged file.</td> </tr> <tr> -<td><a href="#DebugUI.__doRun">__doRun</a></td> -<td>Private method to handle the run actions.</td> -</tr> -<tr> <td><a href="#DebugUI.__editBreakpoint">__editBreakpoint</a></td> <td>Private slot to handle the 'Edit breakpoint' action.</td> </tr> @@ -363,6 +347,22 @@ <td>Public method to clear the various debug histories.</td> </tr> <tr> +<td><a href="#DebugUI.doCoverage">doCoverage</a></td> +<td>Public method to handle the coverage actions.</td> +</tr> +<tr> +<td><a href="#DebugUI.doDebug">doDebug</a></td> +<td>Public method to handle the debug actions.</td> +</tr> +<tr> +<td><a href="#DebugUI.doProfile">doProfile</a></td> +<td>Public method to handle the profile actions.</td> +</tr> +<tr> +<td><a href="#DebugUI.doRun">doRun</a></td> +<td>Public method to handle the run actions.</td> +</tr> +<tr> <td><a href="#DebugUI.getActions">getActions</a></td> <td>Public method to get a list of all actions.</td> </tr> @@ -427,6 +427,10 @@ <td>Public slot to initialize the no debug list history.</td> </tr> <tr> +<td><a href="#DebugUI.setScriptsHistory">setScriptsHistory</a></td> +<td>Public slot to initialize the scripts history.</td> +</tr> +<tr> <td><a href="#DebugUI.setTracePython">setTracePython</a></td> <td>Public slot to initialize the trace Python flag.</td> </tr> @@ -902,51 +906,6 @@ <p> Private slot to handle the debug script action. </p> -<a NAME="DebugUI.__doCoverage" ID="DebugUI.__doCoverage"></a> -<h4>DebugUI.__doCoverage</h4> -<b>__doCoverage</b>(<i>runProject</i>) - -<p> - Private method to handle the coverage actions. -</p> -<dl> - -<dt><i>runProject</i></dt> -<dd> -flag indicating coverage of the current project - (True) or script (false) -</dd> -</dl> -<a NAME="DebugUI.__doDebug" ID="DebugUI.__doDebug"></a> -<h4>DebugUI.__doDebug</h4> -<b>__doDebug</b>(<i>debugProject</i>) - -<p> - Private method to handle the debug actions. -</p> -<dl> - -<dt><i>debugProject</i></dt> -<dd> -flag indicating debugging the current project - (True) or script (False) -</dd> -</dl> -<a NAME="DebugUI.__doProfile" ID="DebugUI.__doProfile"></a> -<h4>DebugUI.__doProfile</h4> -<b>__doProfile</b>(<i>runProject</i>) - -<p> - Private method to handle the profile actions. -</p> -<dl> - -<dt><i>runProject</i></dt> -<dd> -flag indicating profiling of the current project - (True) or script (False) -</dd> -</dl> <a NAME="DebugUI.__doRestart" ID="DebugUI.__doRestart"></a> <h4>DebugUI.__doRestart</h4> <b>__doRestart</b>(<i></i>) @@ -955,21 +914,6 @@ Private slot to handle the restart action to restart the last debugged file. </p> -<a NAME="DebugUI.__doRun" ID="DebugUI.__doRun"></a> -<h4>DebugUI.__doRun</h4> -<b>__doRun</b>(<i>runProject</i>) - -<p> - Private method to handle the run actions. -</p> -<dl> - -<dt><i>runProject</i></dt> -<dd> -flag indicating running the current project (True) - or script (False) -</dd> -</dl> <a NAME="DebugUI.__editBreakpoint" ID="DebugUI.__editBreakpoint"></a> <h4>DebugUI.__editBreakpoint</h4> <b>__editBreakpoint</b>(<i></i>) @@ -1298,6 +1242,82 @@ <p> Public method to clear the various debug histories. </p> +<a NAME="DebugUI.doCoverage" ID="DebugUI.doCoverage"></a> +<h4>DebugUI.doCoverage</h4> +<b>doCoverage</b>(<i>runProject, script=""</i>) + +<p> + Public method to handle the coverage actions. +</p> +<dl> + +<dt><i>runProject</i> (bool)</dt> +<dd> +flag indicating coverage of the current project + (True) or script (false) +</dd> +<dt><i>script</i> (str)</dt> +<dd> +name of a script (optional) +</dd> +</dl> +<a NAME="DebugUI.doDebug" ID="DebugUI.doDebug"></a> +<h4>DebugUI.doDebug</h4> +<b>doDebug</b>(<i>debugProject, script=""</i>) + +<p> + Public method to handle the debug actions. +</p> +<dl> + +<dt><i>debugProject</i> (bool)</dt> +<dd> +flag indicating debugging the current project + (True) or script (False) +</dd> +<dt><i>script</i> (str)</dt> +<dd> +name of a script (optional) +</dd> +</dl> +<a NAME="DebugUI.doProfile" ID="DebugUI.doProfile"></a> +<h4>DebugUI.doProfile</h4> +<b>doProfile</b>(<i>runProject, script=""</i>) + +<p> + Public method to handle the profile actions. +</p> +<dl> + +<dt><i>runProject</i> (bool)</dt> +<dd> +flag indicating profiling of the current project + (True) or script (False) +</dd> +<dt><i>script</i> (str)</dt> +<dd> +name of a script (optional) +</dd> +</dl> +<a NAME="DebugUI.doRun" ID="DebugUI.doRun"></a> +<h4>DebugUI.doRun</h4> +<b>doRun</b>(<i>runProject, script=""</i>) + +<p> + Public method to handle the run actions. +</p> +<dl> + +<dt><i>runProject</i> (bool)</dt> +<dd> +flag indicating running the current project (True) + or script (False) +</dd> +<dt><i>script</i> (str)</dt> +<dd> +name of a script (optional) +</dd> +</dl> <a NAME="DebugUI.getActions" ID="DebugUI.getActions"></a> <h4>DebugUI.getActions</h4> <b>getActions</b>(<i></i>) @@ -1557,6 +1577,29 @@ list of history entries to be set </dd> </dl> +<a NAME="DebugUI.setScriptsHistory" ID="DebugUI.setScriptsHistory"></a> +<h4>DebugUI.setScriptsHistory</h4> +<b>setScriptsHistory</b>(<i>scriptName, clearHistories=False, history=None</i>) + +<p> + Public slot to initialize the scripts history. +</p> +<dl> + +<dt><i>scriptName</i> (str)</dt> +<dd> +script name +</dd> +<dt><i>clearHistories</i> (bool (optional))</dt> +<dd> +flag indicating, that the list should + be cleared (defaults to False) +</dd> +<dt><i>history</i> (list of str (optional))</dt> +<dd> +list of history entries to be set (defaults to None) +</dd> +</dl> <a NAME="DebugUI.setTracePython" ID="DebugUI.setTracePython"></a> <h4>DebugUI.setTracePython</h4> <b>setTracePython</b>(<i>tracePython</i>)