diff -r bc64243b7672 -r 1ab536d25072 Documentation/Source/eric6.Debugger.DebuggerInterfacePython3.html --- a/Documentation/Source/eric6.Debugger.DebuggerInterfacePython3.html Sun Sep 04 13:51:33 2016 +0200 +++ b/Documentation/Source/eric6.Debugger.DebuggerInterfacePython3.html Sun Sep 04 13:58:11 2016 +0200 @@ -31,7 +31,7 @@ <table> <tr> <td><a href="#DebuggerInterfacePython3">DebuggerInterfacePython3</a></td> -<td>Class implementing the Python debugger interface for the debug server.</td> +<td>Class implementing the Python 3 debugger interface for the debug server.</td> </tr> </table> <h3>Functions</h3> @@ -48,7 +48,7 @@ <a NAME="DebuggerInterfacePython3" ID="DebuggerInterfacePython3"></a> <h2>DebuggerInterfacePython3</h2> <p> - Class implementing the Python debugger interface for the debug server. + Class implementing the Python 3 debugger interface for the debug server. </p> <h3>Derived from</h3> QObject @@ -69,6 +69,9 @@ <td><a href="#DebuggerInterfacePython3.__askForkTo">__askForkTo</a></td> <td>Private method to ask the user which branch of a fork to follow.</td> </tr><tr> +<td><a href="#DebuggerInterfacePython3.__handleJsonCommand">__handleJsonCommand</a></td> +<td>Private method to handle a command or response serialized as a JSON string.</td> +</tr><tr> <td><a href="#DebuggerInterfacePython3.__identityTranslation">__identityTranslation</a></td> <td>Private method to perform the identity path translation.</td> </tr><tr> @@ -78,8 +81,8 @@ <td><a href="#DebuggerInterfacePython3.__remoteTranslation">__remoteTranslation</a></td> <td>Private method to perform the path translation.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython3.__sendCommand">__sendCommand</a></td> -<td>Private method to send a single line command to the client.</td> +<td><a href="#DebuggerInterfacePython3.__sendJsonCommand">__sendJsonCommand</a></td> +<td>Private method to send a single command to the client.</td> </tr><tr> <td><a href="#DebuggerInterfacePython3.__startProcess">__startProcess</a></td> <td>Private method to start the debugger client process.</td> @@ -132,12 +135,6 @@ <td><a href="#DebuggerInterfacePython3.remoteEnvironment">remoteEnvironment</a></td> <td>Public method to set the environment for a program to debug, run, ...</td> </tr><tr> -<td><a href="#DebuggerInterfacePython3.remoteEval">remoteEval</a></td> -<td>Public method to evaluate arg in the current context of the debugged program.</td> -</tr><tr> -<td><a href="#DebuggerInterfacePython3.remoteExec">remoteExec</a></td> -<td>Public method to execute stmt in the current context of the debugged program.</td> -</tr><tr> <td><a href="#DebuggerInterfacePython3.remoteLoad">remoteLoad</a></td> <td>Public method to load a new program to debug.</td> </tr><tr> @@ -224,7 +221,19 @@ <b>__askForkTo</b>(<i></i>) <p> Private method to ask the user which branch of a fork to follow. -</p><a NAME="DebuggerInterfacePython3.__identityTranslation" ID="DebuggerInterfacePython3.__identityTranslation"></a> +</p><a NAME="DebuggerInterfacePython3.__handleJsonCommand" ID="DebuggerInterfacePython3.__handleJsonCommand"></a> +<h4>DebuggerInterfacePython3.__handleJsonCommand</h4> +<b>__handleJsonCommand</b>(<i>jsonStr</i>) +<p> + Private method to handle a command or response serialized as a + JSON string. +</p><dl> +<dt><i>jsonStr</i> (str)</dt> +<dd> +string containing the command or response received + from the debug backend +</dd> +</dl><a NAME="DebuggerInterfacePython3.__identityTranslation" ID="DebuggerInterfacePython3.__identityTranslation"></a> <h4>DebuggerInterfacePython3.__identityTranslation</h4> <b>__identityTranslation</b>(<i>fn, remote2local=True</i>) <p> @@ -267,15 +276,18 @@ <dd> translated filename (string) </dd> -</dl><a NAME="DebuggerInterfacePython3.__sendCommand" ID="DebuggerInterfacePython3.__sendCommand"></a> -<h4>DebuggerInterfacePython3.__sendCommand</h4> -<b>__sendCommand</b>(<i>cmd</i>) +</dl><a NAME="DebuggerInterfacePython3.__sendJsonCommand" ID="DebuggerInterfacePython3.__sendJsonCommand"></a> +<h4>DebuggerInterfacePython3.__sendJsonCommand</h4> +<b>__sendJsonCommand</b>(<i>command, params</i>) <p> - Private method to send a single line command to the client. + Private method to send a single command to the client. </p><dl> -<dt><i>cmd</i></dt> +<dt><i>command</i> (str)</dt> <dd> -command to send to the debug client (string) +command name to be sent +</dd><dt><i>params</i> (dict)</dt> +<dd> +dictionary of named parameters for the command </dd> </dl><a NAME="DebuggerInterfacePython3.__startProcess" ID="DebuggerInterfacePython3.__startProcess"></a> <h4>DebuggerInterfacePython3.__startProcess</h4> @@ -346,7 +358,7 @@ Public slot to get the banner info of the remote client. </p><a NAME="DebuggerInterfacePython3.remoteBreakpoint" ID="DebuggerInterfacePython3.remoteBreakpoint"></a> <h4>DebuggerInterfacePython3.remoteBreakpoint</h4> -<b>remoteBreakpoint</b>(<i>fn, line, set, cond=None, temp=False</i>) +<b>remoteBreakpoint</b>(<i>fn, line, setBreakpoint, cond=None, temp=False</i>) <p> Public method to set or clear a breakpoint. </p><dl> @@ -356,9 +368,10 @@ </dd><dt><i>line</i></dt> <dd> linenumber of the breakpoint (int) -</dd><dt><i>set</i></dt> +</dd><dt><i>setBreakpoint</i></dt> <dd> -flag indicating setting or resetting a breakpoint (boolean) +flag indicating setting or resetting a + breakpoint (boolean) </dd><dt><i>cond</i></dt> <dd> condition of the breakpoint (string) @@ -503,28 +516,6 @@ <dd> environment settings (dictionary) </dd> -</dl><a NAME="DebuggerInterfacePython3.remoteEval" ID="DebuggerInterfacePython3.remoteEval"></a> -<h4>DebuggerInterfacePython3.remoteEval</h4> -<b>remoteEval</b>(<i>arg</i>) -<p> - Public method to evaluate arg in the current context of the debugged - program. -</p><dl> -<dt><i>arg</i></dt> -<dd> -the arguments to evaluate (string) -</dd> -</dl><a NAME="DebuggerInterfacePython3.remoteExec" ID="DebuggerInterfacePython3.remoteExec"></a> -<h4>DebuggerInterfacePython3.remoteExec</h4> -<b>remoteExec</b>(<i>stmt</i>) -<p> - Public method to execute stmt in the current context of the debugged - program. -</p><dl> -<dt><i>stmt</i></dt> -<dd> -statement to execute (string) -</dd> </dl><a NAME="DebuggerInterfacePython3.remoteLoad" ID="DebuggerInterfacePython3.remoteLoad"></a> <h4>DebuggerInterfacePython3.remoteLoad</h4> <b>remoteLoad</b>(<i>fn, argv, wd, traceInterpreter=False, autoContinue=True, autoFork=False, forkChild=False</i>) @@ -699,14 +690,14 @@ Public method to stop a unittest run. </p><a NAME="DebuggerInterfacePython3.remoteWatchpoint" ID="DebuggerInterfacePython3.remoteWatchpoint"></a> <h4>DebuggerInterfacePython3.remoteWatchpoint</h4> -<b>remoteWatchpoint</b>(<i>cond, set, temp=False</i>) +<b>remoteWatchpoint</b>(<i>cond, setWatch, temp=False</i>) <p> Public method to set or clear a watch expression. </p><dl> <dt><i>cond</i></dt> <dd> expression of the watch expression (string) -</dd><dt><i>set</i></dt> +</dd><dt><i>setWatch</i></dt> <dd> flag indicating setting or resetting a watch expression (boolean)