--- a/Documentation/Source/eric6.Debugger.DebuggerInterfacePython2.html Sun Sep 04 13:51:33 2016 +0200 +++ b/Documentation/Source/eric6.Debugger.DebuggerInterfacePython2.html Sun Sep 04 13:58:11 2016 +0200 @@ -1,6 +1,6 @@ <!DOCTYPE html> <html><head> -<title>eric6.Debugger.DebuggerInterfacePython</title> +<title>eric6.Debugger.DebuggerInterfacePython2</title> <meta charset="UTF-8"> <style> body { @@ -19,7 +19,7 @@ </style> </head> <body><a NAME="top" ID="top"></a> -<h1>eric6.Debugger.DebuggerInterfacePython</h1> +<h1>eric6.Debugger.DebuggerInterfacePython2</h1> <p> Module implementing the Python debugger interface for the debug server. </p> @@ -30,14 +30,14 @@ <h3>Classes</h3> <table> <tr> -<td><a href="#DebuggerInterfacePython">DebuggerInterfacePython</a></td> -<td>Class implementing the Python debugger interface for the debug server.</td> +<td><a href="#DebuggerInterfacePython2">DebuggerInterfacePython2</a></td> +<td>Class implementing the Python 2 debugger interface for the debug server.</td> </tr> </table> <h3>Functions</h3> <table> <tr> -<td><a href="#createDebuggerInterfacePython">createDebuggerInterfacePython</a></td> +<td><a href="#createDebuggerInterfacePython2">createDebuggerInterfacePython2</a></td> <td>Module function to create a debugger interface instance.</td> </tr><tr> <td><a href="#getRegistryData">getRegistryData</a></td> @@ -45,10 +45,10 @@ </tr> </table> <hr /><hr /> -<a NAME="DebuggerInterfacePython" ID="DebuggerInterfacePython"></a> -<h2>DebuggerInterfacePython</h2> +<a NAME="DebuggerInterfacePython2" ID="DebuggerInterfacePython2"></a> +<h2>DebuggerInterfacePython2</h2> <p> - Class implementing the Python debugger interface for the debug server. + Class implementing the Python 2 debugger interface for the debug server. </p> <h3>Derived from</h3> QObject @@ -63,142 +63,139 @@ <h3>Methods</h3> <table> <tr> -<td><a href="#DebuggerInterfacePython.__init__">DebuggerInterfacePython</a></td> +<td><a href="#DebuggerInterfacePython2.__init__">DebuggerInterfacePython2</a></td> <td>Constructor</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.__askForkTo">__askForkTo</a></td> +<td><a href="#DebuggerInterfacePython2.__askForkTo">__askForkTo</a></td> <td>Private method to ask the user which branch of a fork to follow.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.__identityTranslation">__identityTranslation</a></td> +<td><a href="#DebuggerInterfacePython2.__handleJsonCommand">__handleJsonCommand</a></td> +<td>Private method to handle a command or response serialized as a JSON string.</td> +</tr><tr> +<td><a href="#DebuggerInterfacePython2.__identityTranslation">__identityTranslation</a></td> <td>Private method to perform the identity path translation.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.__parseClientLine">__parseClientLine</a></td> +<td><a href="#DebuggerInterfacePython2.__parseClientLine">__parseClientLine</a></td> <td>Private method to handle data from the client.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.__remoteTranslation">__remoteTranslation</a></td> +<td><a href="#DebuggerInterfacePython2.__remoteTranslation">__remoteTranslation</a></td> <td>Private method to perform the path translation.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.__sendCommand">__sendCommand</a></td> -<td>Private method to send a single line command to the client.</td> +<td><a href="#DebuggerInterfacePython2.__sendJsonCommand">__sendJsonCommand</a></td> +<td>Private method to send a single command to the client.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.__startProcess">__startProcess</a></td> +<td><a href="#DebuggerInterfacePython2.__startProcess">__startProcess</a></td> <td>Private method to start the debugger client process.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.flush">flush</a></td> +<td><a href="#DebuggerInterfacePython2.flush">flush</a></td> <td>Public slot to flush the queue.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.getClientCapabilities">getClientCapabilities</a></td> +<td><a href="#DebuggerInterfacePython2.getClientCapabilities">getClientCapabilities</a></td> <td>Public method to retrieve the debug clients capabilities.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.isConnected">isConnected</a></td> +<td><a href="#DebuggerInterfacePython2.isConnected">isConnected</a></td> <td>Public method to test, if a debug client has connected.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.newConnection">newConnection</a></td> +<td><a href="#DebuggerInterfacePython2.newConnection">newConnection</a></td> <td>Public slot to handle a new connection.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteBanner">remoteBanner</a></td> +<td><a href="#DebuggerInterfacePython2.remoteBanner">remoteBanner</a></td> <td>Public slot to get the banner info of the remote client.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteBreakpoint">remoteBreakpoint</a></td> +<td><a href="#DebuggerInterfacePython2.remoteBreakpoint">remoteBreakpoint</a></td> <td>Public method to set or clear a breakpoint.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteBreakpointEnable">remoteBreakpointEnable</a></td> +<td><a href="#DebuggerInterfacePython2.remoteBreakpointEnable">remoteBreakpointEnable</a></td> <td>Public method to enable or disable a breakpoint.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteBreakpointIgnore">remoteBreakpointIgnore</a></td> +<td><a href="#DebuggerInterfacePython2.remoteBreakpointIgnore">remoteBreakpointIgnore</a></td> <td>Public method to ignore a breakpoint the next couple of occurrences.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteCapabilities">remoteCapabilities</a></td> +<td><a href="#DebuggerInterfacePython2.remoteCapabilities">remoteCapabilities</a></td> <td>Public slot to get the debug clients capabilities.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteClientSetFilter">remoteClientSetFilter</a></td> +<td><a href="#DebuggerInterfacePython2.remoteClientSetFilter">remoteClientSetFilter</a></td> <td>Public method to set a variables filter list.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteClientVariable">remoteClientVariable</a></td> +<td><a href="#DebuggerInterfacePython2.remoteClientVariable">remoteClientVariable</a></td> <td>Public method to request the variables of the debugged program.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteClientVariables">remoteClientVariables</a></td> +<td><a href="#DebuggerInterfacePython2.remoteClientVariables">remoteClientVariables</a></td> <td>Public method to request the variables of the debugged program.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteCompletion">remoteCompletion</a></td> +<td><a href="#DebuggerInterfacePython2.remoteCompletion">remoteCompletion</a></td> <td>Public slot to get the a list of possible commandline completions from the remote client.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteContinue">remoteContinue</a></td> +<td><a href="#DebuggerInterfacePython2.remoteContinue">remoteContinue</a></td> <td>Public method to continue the debugged program.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteCoverage">remoteCoverage</a></td> +<td><a href="#DebuggerInterfacePython2.remoteCoverage">remoteCoverage</a></td> <td>Public method to load a new program to collect coverage data.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteEnvironment">remoteEnvironment</a></td> +<td><a href="#DebuggerInterfacePython2.remoteEnvironment">remoteEnvironment</a></td> <td>Public method to set the environment for a program to debug, run, ...</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteEval">remoteEval</a></td> -<td>Public method to evaluate arg in the current context of the debugged program.</td> -</tr><tr> -<td><a href="#DebuggerInterfacePython.remoteExec">remoteExec</a></td> -<td>Public method to execute stmt in the current context of the debugged program.</td> -</tr><tr> -<td><a href="#DebuggerInterfacePython.remoteLoad">remoteLoad</a></td> +<td><a href="#DebuggerInterfacePython2.remoteLoad">remoteLoad</a></td> <td>Public method to load a new program to debug.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteProfile">remoteProfile</a></td> +<td><a href="#DebuggerInterfacePython2.remoteProfile">remoteProfile</a></td> <td>Public method to load a new program to collect profiling data.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteRawInput">remoteRawInput</a></td> +<td><a href="#DebuggerInterfacePython2.remoteRawInput">remoteRawInput</a></td> <td>Public method to send the raw input to the debugged program.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteRun">remoteRun</a></td> +<td><a href="#DebuggerInterfacePython2.remoteRun">remoteRun</a></td> <td>Public method to load a new program to run.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteSetThread">remoteSetThread</a></td> +<td><a href="#DebuggerInterfacePython2.remoteSetThread">remoteSetThread</a></td> <td>Public method to request to set the given thread as current thread.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteStatement">remoteStatement</a></td> +<td><a href="#DebuggerInterfacePython2.remoteStatement">remoteStatement</a></td> <td>Public method to execute a Python statement.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteStep">remoteStep</a></td> +<td><a href="#DebuggerInterfacePython2.remoteStep">remoteStep</a></td> <td>Public method to single step the debugged program.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteStepOut">remoteStepOut</a></td> +<td><a href="#DebuggerInterfacePython2.remoteStepOut">remoteStepOut</a></td> <td>Public method to step out the debugged program.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteStepOver">remoteStepOver</a></td> +<td><a href="#DebuggerInterfacePython2.remoteStepOver">remoteStepOver</a></td> <td>Public method to step over the debugged program.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteStepQuit">remoteStepQuit</a></td> +<td><a href="#DebuggerInterfacePython2.remoteStepQuit">remoteStepQuit</a></td> <td>Public method to stop the debugged program.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteThreadList">remoteThreadList</a></td> +<td><a href="#DebuggerInterfacePython2.remoteThreadList">remoteThreadList</a></td> <td>Public method to request the list of threads from the client.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteUTPrepare">remoteUTPrepare</a></td> +<td><a href="#DebuggerInterfacePython2.remoteUTPrepare">remoteUTPrepare</a></td> <td>Public method to prepare a new unittest run.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteUTRun">remoteUTRun</a></td> +<td><a href="#DebuggerInterfacePython2.remoteUTRun">remoteUTRun</a></td> <td>Public method to start a unittest run.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteUTStop">remoteUTStop</a></td> +<td><a href="#DebuggerInterfacePython2.remoteUTStop">remoteUTStop</a></td> <td>Public method to stop a unittest run.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteWatchpoint">remoteWatchpoint</a></td> +<td><a href="#DebuggerInterfacePython2.remoteWatchpoint">remoteWatchpoint</a></td> <td>Public method to set or clear a watch expression.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteWatchpointEnable">remoteWatchpointEnable</a></td> +<td><a href="#DebuggerInterfacePython2.remoteWatchpointEnable">remoteWatchpointEnable</a></td> <td>Public method to enable or disable a watch expression.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.remoteWatchpointIgnore">remoteWatchpointIgnore</a></td> +<td><a href="#DebuggerInterfacePython2.remoteWatchpointIgnore">remoteWatchpointIgnore</a></td> <td>Public method to ignore a watch expression the next couple of occurrences.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.setCallTraceEnabled">setCallTraceEnabled</a></td> +<td><a href="#DebuggerInterfacePython2.setCallTraceEnabled">setCallTraceEnabled</a></td> <td>Public method to set the call trace state.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.shutdown">shutdown</a></td> +<td><a href="#DebuggerInterfacePython2.shutdown">shutdown</a></td> <td>Public method to cleanly shut down.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.startRemote">startRemote</a></td> +<td><a href="#DebuggerInterfacePython2.startRemote">startRemote</a></td> <td>Public method to start a remote Python interpreter.</td> </tr><tr> -<td><a href="#DebuggerInterfacePython.startRemoteForProject">startRemoteForProject</a></td> +<td><a href="#DebuggerInterfacePython2.startRemoteForProject">startRemoteForProject</a></td> <td>Public method to start a remote Python interpreter for a project.</td> </tr> </table> @@ -206,9 +203,9 @@ <table> <tr><td>None</td></tr> </table> -<a NAME="DebuggerInterfacePython.__init__" ID="DebuggerInterfacePython.__init__"></a> -<h4>DebuggerInterfacePython (Constructor)</h4> -<b>DebuggerInterfacePython</b>(<i>debugServer, passive</i>) +<a NAME="DebuggerInterfacePython2.__init__" ID="DebuggerInterfacePython2.__init__"></a> +<h4>DebuggerInterfacePython2 (Constructor)</h4> +<b>DebuggerInterfacePython2</b>(<i>debugServer, passive</i>) <p> Constructor </p><dl> @@ -219,13 +216,25 @@ <dd> flag indicating passive connection mode (boolean) </dd> -</dl><a NAME="DebuggerInterfacePython.__askForkTo" ID="DebuggerInterfacePython.__askForkTo"></a> -<h4>DebuggerInterfacePython.__askForkTo</h4> +</dl><a NAME="DebuggerInterfacePython2.__askForkTo" ID="DebuggerInterfacePython2.__askForkTo"></a> +<h4>DebuggerInterfacePython2.__askForkTo</h4> <b>__askForkTo</b>(<i></i>) <p> Private method to ask the user which branch of a fork to follow. -</p><a NAME="DebuggerInterfacePython.__identityTranslation" ID="DebuggerInterfacePython.__identityTranslation"></a> -<h4>DebuggerInterfacePython.__identityTranslation</h4> +</p><a NAME="DebuggerInterfacePython2.__handleJsonCommand" ID="DebuggerInterfacePython2.__handleJsonCommand"></a> +<h4>DebuggerInterfacePython2.__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="DebuggerInterfacePython2.__identityTranslation" ID="DebuggerInterfacePython2.__identityTranslation"></a> +<h4>DebuggerInterfacePython2.__identityTranslation</h4> <b>__identityTranslation</b>(<i>fn, remote2local=True</i>) <p> Private method to perform the identity path translation. @@ -243,13 +252,13 @@ <dd> translated filename (string) </dd> -</dl><a NAME="DebuggerInterfacePython.__parseClientLine" ID="DebuggerInterfacePython.__parseClientLine"></a> -<h4>DebuggerInterfacePython.__parseClientLine</h4> +</dl><a NAME="DebuggerInterfacePython2.__parseClientLine" ID="DebuggerInterfacePython2.__parseClientLine"></a> +<h4>DebuggerInterfacePython2.__parseClientLine</h4> <b>__parseClientLine</b>(<i></i>) <p> Private method to handle data from the client. -</p><a NAME="DebuggerInterfacePython.__remoteTranslation" ID="DebuggerInterfacePython.__remoteTranslation"></a> -<h4>DebuggerInterfacePython.__remoteTranslation</h4> +</p><a NAME="DebuggerInterfacePython2.__remoteTranslation" ID="DebuggerInterfacePython2.__remoteTranslation"></a> +<h4>DebuggerInterfacePython2.__remoteTranslation</h4> <b>__remoteTranslation</b>(<i>fn, remote2local=True</i>) <p> Private method to perform the path translation. @@ -267,18 +276,21 @@ <dd> translated filename (string) </dd> -</dl><a NAME="DebuggerInterfacePython.__sendCommand" ID="DebuggerInterfacePython.__sendCommand"></a> -<h4>DebuggerInterfacePython.__sendCommand</h4> -<b>__sendCommand</b>(<i>cmd</i>) +</dl><a NAME="DebuggerInterfacePython2.__sendJsonCommand" ID="DebuggerInterfacePython2.__sendJsonCommand"></a> +<h4>DebuggerInterfacePython2.__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 name to be sent +</dd><dt><i>params</i> (dict)</dt> <dd> -command to send to the debug client (string) +dictionary of named parameters for the command </dd> -</dl><a NAME="DebuggerInterfacePython.__startProcess" ID="DebuggerInterfacePython.__startProcess"></a> -<h4>DebuggerInterfacePython.__startProcess</h4> +</dl><a NAME="DebuggerInterfacePython2.__startProcess" ID="DebuggerInterfacePython2.__startProcess"></a> +<h4>DebuggerInterfacePython2.__startProcess</h4> <b>__startProcess</b>(<i>program, arguments, environment=None</i>) <p> Private method to start the debugger client process. @@ -299,13 +311,13 @@ <dd> the process object (QProcess) or None </dd> -</dl><a NAME="DebuggerInterfacePython.flush" ID="DebuggerInterfacePython.flush"></a> -<h4>DebuggerInterfacePython.flush</h4> +</dl><a NAME="DebuggerInterfacePython2.flush" ID="DebuggerInterfacePython2.flush"></a> +<h4>DebuggerInterfacePython2.flush</h4> <b>flush</b>(<i></i>) <p> Public slot to flush the queue. -</p><a NAME="DebuggerInterfacePython.getClientCapabilities" ID="DebuggerInterfacePython.getClientCapabilities"></a> -<h4>DebuggerInterfacePython.getClientCapabilities</h4> +</p><a NAME="DebuggerInterfacePython2.getClientCapabilities" ID="DebuggerInterfacePython2.getClientCapabilities"></a> +<h4>DebuggerInterfacePython2.getClientCapabilities</h4> <b>getClientCapabilities</b>(<i></i>) <p> Public method to retrieve the debug clients capabilities. @@ -314,8 +326,8 @@ <dd> debug client capabilities (integer) </dd> -</dl><a NAME="DebuggerInterfacePython.isConnected" ID="DebuggerInterfacePython.isConnected"></a> -<h4>DebuggerInterfacePython.isConnected</h4> +</dl><a NAME="DebuggerInterfacePython2.isConnected" ID="DebuggerInterfacePython2.isConnected"></a> +<h4>DebuggerInterfacePython2.isConnected</h4> <b>isConnected</b>(<i></i>) <p> Public method to test, if a debug client has connected. @@ -324,8 +336,8 @@ <dd> flag indicating the connection status (boolean) </dd> -</dl><a NAME="DebuggerInterfacePython.newConnection" ID="DebuggerInterfacePython.newConnection"></a> -<h4>DebuggerInterfacePython.newConnection</h4> +</dl><a NAME="DebuggerInterfacePython2.newConnection" ID="DebuggerInterfacePython2.newConnection"></a> +<h4>DebuggerInterfacePython2.newConnection</h4> <b>newConnection</b>(<i>sock</i>) <p> Public slot to handle a new connection. @@ -339,14 +351,14 @@ <dd> flag indicating success (boolean) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteBanner" ID="DebuggerInterfacePython.remoteBanner"></a> -<h4>DebuggerInterfacePython.remoteBanner</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteBanner" ID="DebuggerInterfacePython2.remoteBanner"></a> +<h4>DebuggerInterfacePython2.remoteBanner</h4> <b>remoteBanner</b>(<i></i>) <p> Public slot to get the banner info of the remote client. -</p><a NAME="DebuggerInterfacePython.remoteBreakpoint" ID="DebuggerInterfacePython.remoteBreakpoint"></a> -<h4>DebuggerInterfacePython.remoteBreakpoint</h4> -<b>remoteBreakpoint</b>(<i>fn, line, set, cond=None, temp=False</i>) +</p><a NAME="DebuggerInterfacePython2.remoteBreakpoint" ID="DebuggerInterfacePython2.remoteBreakpoint"></a> +<h4>DebuggerInterfacePython2.remoteBreakpoint</h4> +<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) @@ -366,8 +379,8 @@ <dd> flag indicating a temporary breakpoint (boolean) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteBreakpointEnable" ID="DebuggerInterfacePython.remoteBreakpointEnable"></a> -<h4>DebuggerInterfacePython.remoteBreakpointEnable</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteBreakpointEnable" ID="DebuggerInterfacePython2.remoteBreakpointEnable"></a> +<h4>DebuggerInterfacePython2.remoteBreakpointEnable</h4> <b>remoteBreakpointEnable</b>(<i>fn, line, enable</i>) <p> Public method to enable or disable a breakpoint. @@ -383,8 +396,8 @@ flag indicating enabling or disabling a breakpoint (boolean) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteBreakpointIgnore" ID="DebuggerInterfacePython.remoteBreakpointIgnore"></a> -<h4>DebuggerInterfacePython.remoteBreakpointIgnore</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteBreakpointIgnore" ID="DebuggerInterfacePython2.remoteBreakpointIgnore"></a> +<h4>DebuggerInterfacePython2.remoteBreakpointIgnore</h4> <b>remoteBreakpointIgnore</b>(<i>fn, line, count</i>) <p> Public method to ignore a breakpoint the next couple of occurrences. @@ -399,13 +412,13 @@ <dd> number of occurrences to ignore (int) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteCapabilities" ID="DebuggerInterfacePython.remoteCapabilities"></a> -<h4>DebuggerInterfacePython.remoteCapabilities</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteCapabilities" ID="DebuggerInterfacePython2.remoteCapabilities"></a> +<h4>DebuggerInterfacePython2.remoteCapabilities</h4> <b>remoteCapabilities</b>(<i></i>) <p> Public slot to get the debug clients capabilities. -</p><a NAME="DebuggerInterfacePython.remoteClientSetFilter" ID="DebuggerInterfacePython.remoteClientSetFilter"></a> -<h4>DebuggerInterfacePython.remoteClientSetFilter</h4> +</p><a NAME="DebuggerInterfacePython2.remoteClientSetFilter" ID="DebuggerInterfacePython2.remoteClientSetFilter"></a> +<h4>DebuggerInterfacePython2.remoteClientSetFilter</h4> <b>remoteClientSetFilter</b>(<i>scope, filter</i>) <p> Public method to set a variables filter list. @@ -417,8 +430,8 @@ <dd> regexp string for variable names to filter out (string) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteClientVariable" ID="DebuggerInterfacePython.remoteClientVariable"></a> -<h4>DebuggerInterfacePython.remoteClientVariable</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteClientVariable" ID="DebuggerInterfacePython2.remoteClientVariable"></a> +<h4>DebuggerInterfacePython2.remoteClientVariable</h4> <b>remoteClientVariable</b>(<i>scope, filter, var, framenr=0</i>) <p> Public method to request the variables of the debugged program. @@ -436,8 +449,8 @@ <dd> framenumber of the variables to retrieve (int) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteClientVariables" ID="DebuggerInterfacePython.remoteClientVariables"></a> -<h4>DebuggerInterfacePython.remoteClientVariables</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteClientVariables" ID="DebuggerInterfacePython2.remoteClientVariables"></a> +<h4>DebuggerInterfacePython2.remoteClientVariables</h4> <b>remoteClientVariables</b>(<i>scope, filter, framenr=0</i>) <p> Public method to request the variables of the debugged program. @@ -452,8 +465,8 @@ <dd> framenumber of the variables to retrieve (int) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteCompletion" ID="DebuggerInterfacePython.remoteCompletion"></a> -<h4>DebuggerInterfacePython.remoteCompletion</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteCompletion" ID="DebuggerInterfacePython2.remoteCompletion"></a> +<h4>DebuggerInterfacePython2.remoteCompletion</h4> <b>remoteCompletion</b>(<i>text</i>) <p> Public slot to get the a list of possible commandline completions @@ -463,8 +476,8 @@ <dd> the text to be completed (string) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteContinue" ID="DebuggerInterfacePython.remoteContinue"></a> -<h4>DebuggerInterfacePython.remoteContinue</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteContinue" ID="DebuggerInterfacePython2.remoteContinue"></a> +<h4>DebuggerInterfacePython2.remoteContinue</h4> <b>remoteContinue</b>(<i>special=False</i>) <p> Public method to continue the debugged program. @@ -473,8 +486,8 @@ <dd> flag indicating a special continue operation (boolean) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteCoverage" ID="DebuggerInterfacePython.remoteCoverage"></a> -<h4>DebuggerInterfacePython.remoteCoverage</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteCoverage" ID="DebuggerInterfacePython2.remoteCoverage"></a> +<h4>DebuggerInterfacePython2.remoteCoverage</h4> <b>remoteCoverage</b>(<i>fn, argv, wd, erase=False</i>) <p> Public method to load a new program to collect coverage data. @@ -493,8 +506,8 @@ flag indicating that coverage info should be cleared first (boolean) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteEnvironment" ID="DebuggerInterfacePython.remoteEnvironment"></a> -<h4>DebuggerInterfacePython.remoteEnvironment</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteEnvironment" ID="DebuggerInterfacePython2.remoteEnvironment"></a> +<h4>DebuggerInterfacePython2.remoteEnvironment</h4> <b>remoteEnvironment</b>(<i>env</i>) <p> Public method to set the environment for a program to debug, run, ... @@ -503,30 +516,8 @@ <dd> environment settings (dictionary) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteEval" ID="DebuggerInterfacePython.remoteEval"></a> -<h4>DebuggerInterfacePython.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="DebuggerInterfacePython.remoteExec" ID="DebuggerInterfacePython.remoteExec"></a> -<h4>DebuggerInterfacePython.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="DebuggerInterfacePython.remoteLoad" ID="DebuggerInterfacePython.remoteLoad"></a> -<h4>DebuggerInterfacePython.remoteLoad</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteLoad" ID="DebuggerInterfacePython2.remoteLoad"></a> +<h4>DebuggerInterfacePython2.remoteLoad</h4> <b>remoteLoad</b>(<i>fn, argv, wd, traceInterpreter=False, autoContinue=True, autoFork=False, forkChild=False</i>) <p> Public method to load a new program to debug. @@ -556,8 +547,8 @@ flag indicating to debug the child after forking (boolean) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteProfile" ID="DebuggerInterfacePython.remoteProfile"></a> -<h4>DebuggerInterfacePython.remoteProfile</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteProfile" ID="DebuggerInterfacePython2.remoteProfile"></a> +<h4>DebuggerInterfacePython2.remoteProfile</h4> <b>remoteProfile</b>(<i>fn, argv, wd, erase=False</i>) <p> Public method to load a new program to collect profiling data. @@ -576,8 +567,8 @@ flag indicating that timing info should be cleared first (boolean) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteRawInput" ID="DebuggerInterfacePython.remoteRawInput"></a> -<h4>DebuggerInterfacePython.remoteRawInput</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteRawInput" ID="DebuggerInterfacePython2.remoteRawInput"></a> +<h4>DebuggerInterfacePython2.remoteRawInput</h4> <b>remoteRawInput</b>(<i>s</i>) <p> Public method to send the raw input to the debugged program. @@ -586,8 +577,8 @@ <dd> the raw input (string) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteRun" ID="DebuggerInterfacePython.remoteRun"></a> -<h4>DebuggerInterfacePython.remoteRun</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteRun" ID="DebuggerInterfacePython2.remoteRun"></a> +<h4>DebuggerInterfacePython2.remoteRun</h4> <b>remoteRun</b>(<i>fn, argv, wd, autoFork=False, forkChild=False</i>) <p> Public method to load a new program to run. @@ -609,8 +600,8 @@ flag indicating to debug the child after forking (boolean) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteSetThread" ID="DebuggerInterfacePython.remoteSetThread"></a> -<h4>DebuggerInterfacePython.remoteSetThread</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteSetThread" ID="DebuggerInterfacePython2.remoteSetThread"></a> +<h4>DebuggerInterfacePython2.remoteSetThread</h4> <b>remoteSetThread</b>(<i>tid</i>) <p> Public method to request to set the given thread as current thread. @@ -619,8 +610,8 @@ <dd> id of the thread (integer) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteStatement" ID="DebuggerInterfacePython.remoteStatement"></a> -<h4>DebuggerInterfacePython.remoteStatement</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteStatement" ID="DebuggerInterfacePython2.remoteStatement"></a> +<h4>DebuggerInterfacePython2.remoteStatement</h4> <b>remoteStatement</b>(<i>stmt</i>) <p> Public method to execute a Python statement. @@ -630,33 +621,33 @@ the Python statement to execute (string). It should not have a trailing newline. </dd> -</dl><a NAME="DebuggerInterfacePython.remoteStep" ID="DebuggerInterfacePython.remoteStep"></a> -<h4>DebuggerInterfacePython.remoteStep</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteStep" ID="DebuggerInterfacePython2.remoteStep"></a> +<h4>DebuggerInterfacePython2.remoteStep</h4> <b>remoteStep</b>(<i></i>) <p> Public method to single step the debugged program. -</p><a NAME="DebuggerInterfacePython.remoteStepOut" ID="DebuggerInterfacePython.remoteStepOut"></a> -<h4>DebuggerInterfacePython.remoteStepOut</h4> +</p><a NAME="DebuggerInterfacePython2.remoteStepOut" ID="DebuggerInterfacePython2.remoteStepOut"></a> +<h4>DebuggerInterfacePython2.remoteStepOut</h4> <b>remoteStepOut</b>(<i></i>) <p> Public method to step out the debugged program. -</p><a NAME="DebuggerInterfacePython.remoteStepOver" ID="DebuggerInterfacePython.remoteStepOver"></a> -<h4>DebuggerInterfacePython.remoteStepOver</h4> +</p><a NAME="DebuggerInterfacePython2.remoteStepOver" ID="DebuggerInterfacePython2.remoteStepOver"></a> +<h4>DebuggerInterfacePython2.remoteStepOver</h4> <b>remoteStepOver</b>(<i></i>) <p> Public method to step over the debugged program. -</p><a NAME="DebuggerInterfacePython.remoteStepQuit" ID="DebuggerInterfacePython.remoteStepQuit"></a> -<h4>DebuggerInterfacePython.remoteStepQuit</h4> +</p><a NAME="DebuggerInterfacePython2.remoteStepQuit" ID="DebuggerInterfacePython2.remoteStepQuit"></a> +<h4>DebuggerInterfacePython2.remoteStepQuit</h4> <b>remoteStepQuit</b>(<i></i>) <p> Public method to stop the debugged program. -</p><a NAME="DebuggerInterfacePython.remoteThreadList" ID="DebuggerInterfacePython.remoteThreadList"></a> -<h4>DebuggerInterfacePython.remoteThreadList</h4> +</p><a NAME="DebuggerInterfacePython2.remoteThreadList" ID="DebuggerInterfacePython2.remoteThreadList"></a> +<h4>DebuggerInterfacePython2.remoteThreadList</h4> <b>remoteThreadList</b>(<i></i>) <p> Public method to request the list of threads from the client. -</p><a NAME="DebuggerInterfacePython.remoteUTPrepare" ID="DebuggerInterfacePython.remoteUTPrepare"></a> -<h4>DebuggerInterfacePython.remoteUTPrepare</h4> +</p><a NAME="DebuggerInterfacePython2.remoteUTPrepare" ID="DebuggerInterfacePython2.remoteUTPrepare"></a> +<h4>DebuggerInterfacePython2.remoteUTPrepare</h4> <b>remoteUTPrepare</b>(<i>fn, tn, tfn, failed, cov, covname, coverase</i>) <p> Public method to prepare a new unittest run. @@ -687,26 +678,26 @@ flag indicating erasure of coverage data is requested (boolean) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteUTRun" ID="DebuggerInterfacePython.remoteUTRun"></a> -<h4>DebuggerInterfacePython.remoteUTRun</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteUTRun" ID="DebuggerInterfacePython2.remoteUTRun"></a> +<h4>DebuggerInterfacePython2.remoteUTRun</h4> <b>remoteUTRun</b>(<i></i>) <p> Public method to start a unittest run. -</p><a NAME="DebuggerInterfacePython.remoteUTStop" ID="DebuggerInterfacePython.remoteUTStop"></a> -<h4>DebuggerInterfacePython.remoteUTStop</h4> +</p><a NAME="DebuggerInterfacePython2.remoteUTStop" ID="DebuggerInterfacePython2.remoteUTStop"></a> +<h4>DebuggerInterfacePython2.remoteUTStop</h4> <b>remoteUTStop</b>(<i></i>) <p> Public method to stop a unittest run. -</p><a NAME="DebuggerInterfacePython.remoteWatchpoint" ID="DebuggerInterfacePython.remoteWatchpoint"></a> -<h4>DebuggerInterfacePython.remoteWatchpoint</h4> -<b>remoteWatchpoint</b>(<i>cond, set, temp=False</i>) +</p><a NAME="DebuggerInterfacePython2.remoteWatchpoint" ID="DebuggerInterfacePython2.remoteWatchpoint"></a> +<h4>DebuggerInterfacePython2.remoteWatchpoint</h4> +<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) @@ -714,8 +705,8 @@ <dd> flag indicating a temporary watch expression (boolean) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteWatchpointEnable" ID="DebuggerInterfacePython.remoteWatchpointEnable"></a> -<h4>DebuggerInterfacePython.remoteWatchpointEnable</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteWatchpointEnable" ID="DebuggerInterfacePython2.remoteWatchpointEnable"></a> +<h4>DebuggerInterfacePython2.remoteWatchpointEnable</h4> <b>remoteWatchpointEnable</b>(<i>cond, enable</i>) <p> Public method to enable or disable a watch expression. @@ -728,8 +719,8 @@ flag indicating enabling or disabling a watch expression (boolean) </dd> -</dl><a NAME="DebuggerInterfacePython.remoteWatchpointIgnore" ID="DebuggerInterfacePython.remoteWatchpointIgnore"></a> -<h4>DebuggerInterfacePython.remoteWatchpointIgnore</h4> +</dl><a NAME="DebuggerInterfacePython2.remoteWatchpointIgnore" ID="DebuggerInterfacePython2.remoteWatchpointIgnore"></a> +<h4>DebuggerInterfacePython2.remoteWatchpointIgnore</h4> <b>remoteWatchpointIgnore</b>(<i>cond, count</i>) <p> Public method to ignore a watch expression the next couple of @@ -742,8 +733,8 @@ <dd> number of occurrences to ignore (int) </dd> -</dl><a NAME="DebuggerInterfacePython.setCallTraceEnabled" ID="DebuggerInterfacePython.setCallTraceEnabled"></a> -<h4>DebuggerInterfacePython.setCallTraceEnabled</h4> +</dl><a NAME="DebuggerInterfacePython2.setCallTraceEnabled" ID="DebuggerInterfacePython2.setCallTraceEnabled"></a> +<h4>DebuggerInterfacePython2.setCallTraceEnabled</h4> <b>setCallTraceEnabled</b>(<i>on</i>) <p> Public method to set the call trace state. @@ -752,16 +743,16 @@ <dd> flag indicating to enable the call trace function (boolean) </dd> -</dl><a NAME="DebuggerInterfacePython.shutdown" ID="DebuggerInterfacePython.shutdown"></a> -<h4>DebuggerInterfacePython.shutdown</h4> +</dl><a NAME="DebuggerInterfacePython2.shutdown" ID="DebuggerInterfacePython2.shutdown"></a> +<h4>DebuggerInterfacePython2.shutdown</h4> <b>shutdown</b>(<i></i>) <p> Public method to cleanly shut down. </p><p> It closes our socket and shuts down the debug client. (Needed on Win OS) -</p><a NAME="DebuggerInterfacePython.startRemote" ID="DebuggerInterfacePython.startRemote"></a> -<h4>DebuggerInterfacePython.startRemote</h4> +</p><a NAME="DebuggerInterfacePython2.startRemote" ID="DebuggerInterfacePython2.startRemote"></a> +<h4>DebuggerInterfacePython2.startRemote</h4> <b>startRemote</b>(<i>port, runInConsole</i>) <p> Public method to start a remote Python interpreter. @@ -781,8 +772,8 @@ a network connection (boolean) and the name of the interpreter in case of a local execution (string) </dd> -</dl><a NAME="DebuggerInterfacePython.startRemoteForProject" ID="DebuggerInterfacePython.startRemoteForProject"></a> -<h4>DebuggerInterfacePython.startRemoteForProject</h4> +</dl><a NAME="DebuggerInterfacePython2.startRemoteForProject" ID="DebuggerInterfacePython2.startRemoteForProject"></a> +<h4>DebuggerInterfacePython2.startRemoteForProject</h4> <b>startRemoteForProject</b>(<i>port, runInConsole</i>) <p> Public method to start a remote Python interpreter for a project. @@ -805,9 +796,9 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /><hr /> -<a NAME="createDebuggerInterfacePython" ID="createDebuggerInterfacePython"></a> -<h2>createDebuggerInterfacePython</h2> -<b>createDebuggerInterfacePython</b>(<i>debugServer, passive</i>) +<a NAME="createDebuggerInterfacePython2" ID="createDebuggerInterfacePython2"></a> +<h2>createDebuggerInterfacePython2</h2> +<b>createDebuggerInterfacePython2</b>(<i>debugServer, passive</i>) <p> Module function to create a debugger interface instance. </p><p>