src/eric7/Documentation/Source/eric7.DebugClients.Python.DebugClientBase.html

branch
eric7
changeset 10479
856476537696
parent 10423
299802979277
child 10553
c5ef3ec68b75
--- a/src/eric7/Documentation/Source/eric7.DebugClients.Python.DebugClientBase.html	Thu Jan 04 17:16:15 2024 +0100
+++ b/src/eric7/Documentation/Source/eric7.DebugClients.Python.DebugClientBase.html	Thu Jan 04 18:02:25 2024 +0100
@@ -7,28 +7,25 @@
 <body>
 <a NAME="top" ID="top"></a>
 <h1>eric7.DebugClients.Python.DebugClientBase</h1>
-
 <p>
 Module implementing a debug client base class.
 </p>
+
 <h3>Global Attributes</h3>
-
 <table>
 <tr><td>DebugClientInstance</td></tr>
 </table>
+
 <h3>Classes</h3>
-
 <table>
-
 <tr>
 <td><a href="#DebugClientBase">DebugClientBase</a></td>
 <td>Class implementing the client side of the debugger.</td>
 </tr>
 </table>
+
 <h3>Functions</h3>
-
 <table>
-
 <tr>
 <td><a href="#DebugClientClose">DebugClientClose</a></td>
 <td>Replacement for the standard os.close(fd).</td>
@@ -42,11 +39,11 @@
 <td>Replacement for the standard sys.setrecursionlimit(limit).</td>
 </tr>
 </table>
+
 <hr />
 <hr />
 <a NAME="DebugClientBase" ID="DebugClientBase"></a>
 <h2>DebugClientBase</h2>
-
 <p>
     Class implementing the client side of the debugger.
 </p>
@@ -68,22 +65,22 @@
     <b>Note</b>: This class is meant to be subclassed by individual
     DebugClient classes. Do not instantiate it directly.
 </p>
+
 <h3>Derived from</h3>
 None
 <h3>Class Attributes</h3>
+<table>
+<tr><td>Type2Indicators</td></tr>
+<tr><td>clientCapabilities</td></tr>
+</table>
 
-<table>
-<tr><td>Type2Indicators</td></tr><tr><td>clientCapabilities</td></tr>
-</table>
 <h3>Class Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <h3>Methods</h3>
-
 <table>
-
 <tr>
 <td><a href="#DebugClientBase.__init__">DebugClientBase</a></td>
 <td>Constructor</td>
@@ -265,26 +262,27 @@
 <td>Public method called when we are ready to write data.</td>
 </tr>
 </table>
+
 <h3>Static Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
 
+
 <a NAME="DebugClientBase.__init__" ID="DebugClientBase.__init__"></a>
 <h4>DebugClientBase (Constructor)</h4>
 <b>DebugClientBase</b>(<i></i>)
-
 <p>
         Constructor
 </p>
+
 <a NAME="DebugClientBase.__clientCapabilities" ID="DebugClientBase.__clientCapabilities"></a>
 <h4>DebugClientBase.__clientCapabilities</h4>
 <b>__clientCapabilities</b>(<i></i>)
-
 <p>
         Private method to determine the clients capabilities.
 </p>
+
 <dl>
 <dt>Return:</dt>
 <dd>
@@ -300,10 +298,10 @@
 <a NAME="DebugClientBase.__compileCommand" ID="DebugClientBase.__compileCommand"></a>
 <h4>DebugClientBase.__compileCommand</h4>
 <b>__compileCommand</b>(<i>statement, filename="<string>", mode="exec"</i>)
-
 <p>
         Private method to compile source code.
 </p>
+
 <dl>
 
 <dt><i>statement</i> (str)</dt>
@@ -334,10 +332,10 @@
 <a NAME="DebugClientBase.__compileFileSource" ID="DebugClientBase.__compileFileSource"></a>
 <h4>DebugClientBase.__compileFileSource</h4>
 <b>__compileFileSource</b>(<i>filename, mode="exec"</i>)
-
 <p>
         Private method to compile source code read from a file.
 </p>
+
 <dl>
 
 <dt><i>filename</i> (str)</dt>
@@ -364,10 +362,10 @@
 <a NAME="DebugClientBase.__completionList" ID="DebugClientBase.__completionList"></a>
 <h4>DebugClientBase.__completionList</h4>
 <b>__completionList</b>(<i>text</i>)
-
 <p>
         Private slot to handle the request for a commandline completion list.
 </p>
+
 <dl>
 
 <dt><i>text</i> (str)</dt>
@@ -378,10 +376,10 @@
 <a NAME="DebugClientBase.__dumpVariable" ID="DebugClientBase.__dumpVariable"></a>
 <h4>DebugClientBase.__dumpVariable</h4>
 <b>__dumpVariable</b>(<i>var, frmnr, scope, filterList</i>)
-
 <p>
         Private method to return the variables of a frame to the debug server.
 </p>
+
 <dl>
 
 <dt><i>var</i> (list of str and int)</dt>
@@ -404,10 +402,10 @@
 <a NAME="DebugClientBase.__dumpVariables" ID="DebugClientBase.__dumpVariables"></a>
 <h4>DebugClientBase.__dumpVariables</h4>
 <b>__dumpVariables</b>(<i>frmnr, scope, filterList</i>)
-
 <p>
         Private method to return the variables of a frame to the debug server.
 </p>
+
 <dl>
 
 <dt><i>frmnr</i> (int)</dt>
@@ -426,7 +424,6 @@
 <a NAME="DebugClientBase.__formatVariablesList" ID="DebugClientBase.__formatVariablesList"></a>
 <h4>DebugClientBase.__formatVariablesList</h4>
 <b>__formatVariablesList</b>(<i>variables, scope, filterList=None, var=None</i>)
-
 <p>
         Private method to produce a formated variables list.
 </p>
@@ -437,6 +434,7 @@
         expressions. The formated variables list (a list of tuples of 3
         values) is returned.
 </p>
+
 <dl>
 
 <dt><i>variables</i> (list of tuple of (str, Any) or (str, str, Any))</dt>
@@ -479,10 +477,10 @@
 <a NAME="DebugClientBase.__generateFilterObjects" ID="DebugClientBase.__generateFilterObjects"></a>
 <h4>DebugClientBase.__generateFilterObjects</h4>
 <b>__generateFilterObjects</b>(<i>scope, filterString</i>)
-
 <p>
         Private slot to convert a filter string to a list of filter objects.
 </p>
+
 <dl>
 
 <dt><i>scope</i> (int)</dt>
@@ -498,10 +496,10 @@
 <a NAME="DebugClientBase.__getCompletionList" ID="DebugClientBase.__getCompletionList"></a>
 <h4>DebugClientBase.__getCompletionList</h4>
 <b>__getCompletionList</b>(<i>text, completer, completions</i>)
-
 <p>
         Private method to create a completions list.
 </p>
+
 <dl>
 
 <dt><i>text</i> (str)</dt>
@@ -520,11 +518,11 @@
 <a NAME="DebugClientBase.__getSysPath" ID="DebugClientBase.__getSysPath"></a>
 <h4>DebugClientBase.__getSysPath</h4>
 <b>__getSysPath</b>(<i>firstEntry</i>)
-
 <p>
         Private slot to calculate a path list including the PYTHONPATH
         environment variable.
 </p>
+
 <dl>
 
 <dt><i>firstEntry</i> (str)</dt>
@@ -547,24 +545,24 @@
 <a NAME="DebugClientBase.__interact" ID="DebugClientBase.__interact"></a>
 <h4>DebugClientBase.__interact</h4>
 <b>__interact</b>(<i></i>)
-
 <p>
         Private method to interact with the debugger.
 </p>
+
 <a NAME="DebugClientBase.__interceptSignals" ID="DebugClientBase.__interceptSignals"></a>
 <h4>DebugClientBase.__interceptSignals</h4>
 <b>__interceptSignals</b>(<i></i>)
-
 <p>
         Private method to intercept common signals.
 </p>
+
 <a NAME="DebugClientBase.__resolveHost" ID="DebugClientBase.__resolveHost"></a>
 <h4>DebugClientBase.__resolveHost</h4>
 <b>__resolveHost</b>(<i>host</i>)
-
 <p>
         Private method to resolve a hostname to an IP address.
 </p>
+
 <dl>
 
 <dt><i>host</i> (str)</dt>
@@ -587,10 +585,10 @@
 <a NAME="DebugClientBase.__setCoding" ID="DebugClientBase.__setCoding"></a>
 <h4>DebugClientBase.__setCoding</h4>
 <b>__setCoding</b>(<i>filename</i>)
-
 <p>
         Private method to set the coding used by a python file.
 </p>
+
 <dl>
 
 <dt><i>filename</i> (str)</dt>
@@ -601,10 +599,10 @@
 <a NAME="DebugClientBase.__signalHandler" ID="DebugClientBase.__signalHandler"></a>
 <h4>DebugClientBase.__signalHandler</h4>
 <b>__signalHandler</b>(<i>signalNumber, stackFrame</i>)
-
 <p>
         Private method to handle signals.
 </p>
+
 <dl>
 
 <dt><i>signalNumber</i> (int)</dt>
@@ -619,10 +617,10 @@
 <a NAME="DebugClientBase.__unhandled_exception" ID="DebugClientBase.__unhandled_exception"></a>
 <h4>DebugClientBase.__unhandled_exception</h4>
 <b>__unhandled_exception</b>(<i>exctype, excval, exctb</i>)
-
 <p>
         Private method called to report an uncaught exception.
 </p>
+
 <dl>
 
 <dt><i>exctype</i> (type)</dt>
@@ -641,7 +639,6 @@
 <a NAME="DebugClientBase.absPath" ID="DebugClientBase.absPath"></a>
 <h4>DebugClientBase.absPath</h4>
 <b>absPath</b>(<i>fn</i>)
-
 <p>
         Public method to convert a filename to an absolute name.
 </p>
@@ -649,6 +646,7 @@
         sys.path is used as a set of possible prefixes. The name stays
         relative if a file could not be found.
 </p>
+
 <dl>
 
 <dt><i>fn</i> (str)</dt>
@@ -671,7 +669,6 @@
 <a NAME="DebugClientBase.close" ID="DebugClientBase.close"></a>
 <h4>DebugClientBase.close</h4>
 <b>close</b>(<i>fd</i>)
-
 <p>
         Public method implementing a close method as a replacement for
         os.close().
@@ -679,6 +676,7 @@
 <p>
         It prevents the debugger connections from being closed.
 </p>
+
 <dl>
 
 <dt><i>fd</i> (int)</dt>
@@ -689,7 +687,6 @@
 <a NAME="DebugClientBase.connectDebugger" ID="DebugClientBase.connectDebugger"></a>
 <h4>DebugClientBase.connectDebugger</h4>
 <b>connectDebugger</b>(<i>port, remoteAddress=None, redirect=True, name=""</i>)
-
 <p>
         Public method to establish a session with the debugger.
 </p>
@@ -698,6 +695,7 @@
         stdout and stderr and saves these file objects in case the application
         being debugged redirects them itself.
 </p>
+
 <dl>
 
 <dt><i>port</i> (int)</dt>
@@ -721,10 +719,10 @@
 <a NAME="DebugClientBase.eventLoop" ID="DebugClientBase.eventLoop"></a>
 <h4>DebugClientBase.eventLoop</h4>
 <b>eventLoop</b>(<i>disablePolling=False</i>)
-
 <p>
         Public method implementing our event loop.
 </p>
+
 <dl>
 
 <dt><i>disablePolling</i> (bool)</dt>
@@ -736,17 +734,17 @@
 <a NAME="DebugClientBase.eventPoll" ID="DebugClientBase.eventPoll"></a>
 <h4>DebugClientBase.eventPoll</h4>
 <b>eventPoll</b>(<i></i>)
-
 <p>
         Public method to poll for events like 'set break point'.
 </p>
+
 <a NAME="DebugClientBase.getCoding" ID="DebugClientBase.getCoding"></a>
 <h4>DebugClientBase.getCoding</h4>
 <b>getCoding</b>(<i></i>)
-
 <p>
         Public method to return the current coding.
 </p>
+
 <dl>
 <dt>Return:</dt>
 <dd>
@@ -762,10 +760,10 @@
 <a NAME="DebugClientBase.getRunning" ID="DebugClientBase.getRunning"></a>
 <h4>DebugClientBase.getRunning</h4>
 <b>getRunning</b>(<i></i>)
-
 <p>
         Public method to return the main script we are currently running.
 </p>
+
 <dl>
 <dt>Return:</dt>
 <dd>
@@ -781,10 +779,10 @@
 <a NAME="DebugClientBase.handleJsonCommand" ID="DebugClientBase.handleJsonCommand"></a>
 <h4>DebugClientBase.handleJsonCommand</h4>
 <b>handleJsonCommand</b>(<i>jsonStr</i>)
-
 <p>
         Public method to handle a command serialized as a JSON string.
 </p>
+
 <dl>
 
 <dt><i>jsonStr</i> (str)</dt>
@@ -795,10 +793,10 @@
 <a NAME="DebugClientBase.input" ID="DebugClientBase.input"></a>
 <h4>DebugClientBase.input</h4>
 <b>input</b>(<i>prompt, echo=True</i>)
-
 <p>
         Public method to implement input() using the event loop.
 </p>
+
 <dl>
 
 <dt><i>prompt</i> (str)</dt>
@@ -825,17 +823,17 @@
 <a NAME="DebugClientBase.main" ID="DebugClientBase.main"></a>
 <h4>DebugClientBase.main</h4>
 <b>main</b>(<i></i>)
-
 <p>
         Public method implementing the main method.
 </p>
+
 <a NAME="DebugClientBase.progTerminated" ID="DebugClientBase.progTerminated"></a>
 <h4>DebugClientBase.progTerminated</h4>
 <b>progTerminated</b>(<i>status, message="", closeSession=True</i>)
-
 <p>
         Public method to tell the debugger that the program has terminated.
 </p>
+
 <dl>
 
 <dt><i>status</i> (int)</dt>
@@ -854,10 +852,10 @@
 <a NAME="DebugClientBase.readReady" ID="DebugClientBase.readReady"></a>
 <h4>DebugClientBase.readReady</h4>
 <b>readReady</b>(<i>stream</i>)
-
 <p>
         Public method called when there is data ready to be read.
 </p>
+
 <dl>
 
 <dt><i>stream</i> (file like)</dt>
@@ -880,10 +878,10 @@
 <a NAME="DebugClientBase.run_call" ID="DebugClientBase.run_call"></a>
 <h4>DebugClientBase.run_call</h4>
 <b>run_call</b>(<i>scriptname, func, *args</i>)
-
 <p>
         Public method used to start the remote debugger and call a function.
 </p>
+
 <dl>
 
 <dt><i>scriptname</i> (str)</dt>
@@ -914,10 +912,10 @@
 <a NAME="DebugClientBase.sendCallTrace" ID="DebugClientBase.sendCallTrace"></a>
 <h4>DebugClientBase.sendCallTrace</h4>
 <b>sendCallTrace</b>(<i>event, fromInfo, toInfo</i>)
-
 <p>
         Public method to send a call trace entry.
 </p>
+
 <dl>
 
 <dt><i>event</i> (str)</dt>
@@ -938,10 +936,10 @@
 <a NAME="DebugClientBase.sendClearTemporaryBreakpoint" ID="DebugClientBase.sendClearTemporaryBreakpoint"></a>
 <h4>DebugClientBase.sendClearTemporaryBreakpoint</h4>
 <b>sendClearTemporaryBreakpoint</b>(<i>filename, lineno</i>)
-
 <p>
         Public method to signal the deletion of a temporary breakpoint.
 </p>
+
 <dl>
 
 <dt><i>filename</i> (str)</dt>
@@ -956,10 +954,10 @@
 <a NAME="DebugClientBase.sendClearTemporaryWatch" ID="DebugClientBase.sendClearTemporaryWatch"></a>
 <h4>DebugClientBase.sendClearTemporaryWatch</h4>
 <b>sendClearTemporaryWatch</b>(<i>condition</i>)
-
 <p>
         Public method to signal the deletion of a temporary watch expression.
 </p>
+
 <dl>
 
 <dt><i>condition</i> (str)</dt>
@@ -970,17 +968,17 @@
 <a NAME="DebugClientBase.sendDebuggerId" ID="DebugClientBase.sendDebuggerId"></a>
 <h4>DebugClientBase.sendDebuggerId</h4>
 <b>sendDebuggerId</b>(<i></i>)
-
 <p>
         Public method to send the debug client id.
 </p>
+
 <a NAME="DebugClientBase.sendException" ID="DebugClientBase.sendException"></a>
 <h4>DebugClientBase.sendException</h4>
 <b>sendException</b>(<i>exceptionType, exceptionMessage, stack, threadName</i>)
-
 <p>
         Public method to send information for an exception.
 </p>
+
 <dl>
 
 <dt><i>exceptionType</i> (str)</dt>
@@ -1003,10 +1001,10 @@
 <a NAME="DebugClientBase.sendJsonCommand" ID="DebugClientBase.sendJsonCommand"></a>
 <h4>DebugClientBase.sendJsonCommand</h4>
 <b>sendJsonCommand</b>(<i>method, params</i>)
-
 <p>
         Public method to send a single command or response to the IDE.
 </p>
+
 <dl>
 
 <dt><i>method</i> (str)</dt>
@@ -1022,10 +1020,10 @@
 <a NAME="DebugClientBase.sendPassiveStartup" ID="DebugClientBase.sendPassiveStartup"></a>
 <h4>DebugClientBase.sendPassiveStartup</h4>
 <b>sendPassiveStartup</b>(<i>filename, reportAllExceptions</i>)
-
 <p>
         Public method to send the passive start information.
 </p>
+
 <dl>
 
 <dt><i>filename</i> (str)</dt>
@@ -1040,10 +1038,10 @@
 <a NAME="DebugClientBase.sendResponseLine" ID="DebugClientBase.sendResponseLine"></a>
 <h4>DebugClientBase.sendResponseLine</h4>
 <b>sendResponseLine</b>(<i>stack, threadName</i>)
-
 <p>
         Public method to send the current call stack.
 </p>
+
 <dl>
 
 <dt><i>stack</i> (list)</dt>
@@ -1058,10 +1056,10 @@
 <a NAME="DebugClientBase.sendSyntaxError" ID="DebugClientBase.sendSyntaxError"></a>
 <h4>DebugClientBase.sendSyntaxError</h4>
 <b>sendSyntaxError</b>(<i>message, filename, lineno, charno, threadName</i>)
-
 <p>
         Public method to send information for a syntax error.
 </p>
+
 <dl>
 
 <dt><i>message</i> (str)</dt>
@@ -1088,11 +1086,11 @@
 <a NAME="DebugClientBase.sessionClose" ID="DebugClientBase.sessionClose"></a>
 <h4>DebugClientBase.sessionClose</h4>
 <b>sessionClose</b>(<i>terminate=True</i>)
-
 <p>
         Public method to close the session with the debugger and optionally
         terminate.
 </p>
+
 <dl>
 
 <dt><i>terminate</i> (bool)</dt>
@@ -1103,11 +1101,11 @@
 <a NAME="DebugClientBase.setDisassembly" ID="DebugClientBase.setDisassembly"></a>
 <h4>DebugClientBase.setDisassembly</h4>
 <b>setDisassembly</b>(<i>disassembly</i>)
-
 <p>
         Public method to store a disassembly of the code object raising an
         exception.
 </p>
+
 <dl>
 
 <dt><i>disassembly</i> (dict)</dt>
@@ -1118,10 +1116,10 @@
 <a NAME="DebugClientBase.skipMultiProcessDebugging" ID="DebugClientBase.skipMultiProcessDebugging"></a>
 <h4>DebugClientBase.skipMultiProcessDebugging</h4>
 <b>skipMultiProcessDebugging</b>(<i>scriptName</i>)
-
 <p>
         Public method to check, if the given script is eligible for debugging.
 </p>
+
 <dl>
 
 <dt><i>scriptName</i> (str)</dt>
@@ -1144,10 +1142,10 @@
 <a NAME="DebugClientBase.startDebugger" ID="DebugClientBase.startDebugger"></a>
 <h4>DebugClientBase.startDebugger</h4>
 <b>startDebugger</b>(<i>filename=None, host=None, port=None, enableTrace=True, reportAllExceptions=False, tracePython=False, redirect=True, passive=True, multiprocessSupport=False, </i>)
-
 <p>
         Public method used to start the remote debugger.
 </p>
+
 <dl>
 
 <dt><i>filename</i> (str)</dt>
@@ -1193,10 +1191,10 @@
 <a NAME="DebugClientBase.startProgInDebugger" ID="DebugClientBase.startProgInDebugger"></a>
 <h4>DebugClientBase.startProgInDebugger</h4>
 <b>startProgInDebugger</b>(<i>progargs, wd="", host=None, port=None, tracePython=False, redirect=True, passive=True, multiprocessSupport=False, reportAllExceptions=False, callTraceOptimization=False, codeStr="", scriptModule="", </i>)
-
 <p>
         Public method used to start the remote debugger.
 </p>
+
 <dl>
 
 <dt><i>progargs</i> (list of str)</dt>
@@ -1267,10 +1265,10 @@
 <a NAME="DebugClientBase.writeReady" ID="DebugClientBase.writeReady"></a>
 <h4>DebugClientBase.writeReady</h4>
 <b>writeReady</b>(<i>stream</i>)
-
 <p>
         Public method called when we are ready to write data.
 </p>
+
 <dl>
 
 <dt><i>stream</i> (file like)</dt>
@@ -1284,10 +1282,10 @@
 <a NAME="DebugClientClose" ID="DebugClientClose"></a>
 <h2>DebugClientClose</h2>
 <b>DebugClientClose</b>(<i>fd</i>)
-
 <p>
     Replacement for the standard os.close(fd).
 </p>
+
 <dl>
 
 <dt><i>fd</i> (int)</dt>
@@ -1301,13 +1299,13 @@
 <a NAME="DebugClientInput" ID="DebugClientInput"></a>
 <h2>DebugClientInput</h2>
 <b>DebugClientInput</b>(<i>prompt="", echo=True</i>)
-
 <p>
     Replacement for the standard input() builtin.
 </p>
 <p>
     This function works with the split debugger.
 </p>
+
 <dl>
 
 <dt><i>prompt</i> (str)</dt>
@@ -1337,10 +1335,10 @@
 <a NAME="DebugClientSetRecursionLimit" ID="DebugClientSetRecursionLimit"></a>
 <h2>DebugClientSetRecursionLimit</h2>
 <b>DebugClientSetRecursionLimit</b>(<i>limit</i>)
-
 <p>
     Replacement for the standard sys.setrecursionlimit(limit).
 </p>
+
 <dl>
 
 <dt><i>limit</i> (int)</dt>
@@ -1350,4 +1348,4 @@
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr />
-</body></html>
\ No newline at end of file
+</body></html>

eric ide

mercurial