Documentation/Source/eric5.DebugClients.Python.DebugClientBase.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 72
015c7e35bd84
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.DebugClients.Python.DebugClientBase</h1> 23 <h1>eric5.DebugClients.Python.DebugClientBase</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#101;&#98;&#117;&#103; &#99;&#108;&#105;&#101;&#110;&#116; &#98;&#97;&#115;&#101; &#99;&#108;&#97;&#115;&#115;. 25 Module implementing a debug client base class.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>DebugClientInstance</td></tr> 29 <tr><td>DebugClientInstance</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#DebugClientBase">DebugClientBase</a></td> 34 <td><a href="#DebugClientBase">DebugClientBase</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#99;&#108;&#105;&#101;&#110;&#116; &#115;&#105;&#100;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114;.</td> 35 <td>Class implementing the client side of the debugger.</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr> 40 <tr>
41 <td><a href="#DebugClientClose">DebugClientClose</a></td> 41 <td><a href="#DebugClientClose">DebugClientClose</a></td>
42 <td>&#82;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#111;&#115;.&#99;&#108;&#111;&#115;&#101;(&#102;&#100;).</td> 42 <td>Replacement for the standard os.close(fd).</td>
43 </tr><tr> 43 </tr><tr>
44 <td><a href="#DebugClientFork">DebugClientFork</a></td> 44 <td><a href="#DebugClientFork">DebugClientFork</a></td>
45 <td>&#82;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#111;&#115;.&#102;&#111;&#114;&#107;().</td> 45 <td>Replacement for the standard os.fork().</td>
46 </tr><tr> 46 </tr><tr>
47 <td><a href="#DebugClientInput">DebugClientInput</a></td> 47 <td><a href="#DebugClientInput">DebugClientInput</a></td>
48 <td>&#82;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#105;&#110;&#112;&#117;&#116; &#98;&#117;&#105;&#108;&#116;&#105;&#110;.</td> 48 <td>Replacement for the standard input builtin.</td>
49 </tr><tr> 49 </tr><tr>
50 <td><a href="#DebugClientRawInput">DebugClientRawInput</a></td> 50 <td><a href="#DebugClientRawInput">DebugClientRawInput</a></td>
51 <td>&#82;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#114;&#97;w&#95;&#105;&#110;&#112;&#117;&#116; &#98;&#117;&#105;&#108;&#116;&#105;&#110;.</td> 51 <td>Replacement for the standard raw_input builtin.</td>
52 </tr><tr> 52 </tr><tr>
53 <td><a href="#DebugClientSetRecursionLimit">DebugClientSetRecursionLimit</a></td> 53 <td><a href="#DebugClientSetRecursionLimit">DebugClientSetRecursionLimit</a></td>
54 <td>&#82;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#115;y&#115;.&#115;&#101;&#116;&#114;&#101;&#99;&#117;&#114;&#115;&#105;&#111;&#110;&#108;&#105;&#109;&#105;&#116;(&#108;&#105;&#109;&#105;&#116;).</td> 54 <td>Replacement for the standard sys.setrecursionlimit(limit).</td>
55 </tr> 55 </tr>
56 </table> 56 </table>
57 <hr /><hr /> 57 <hr /><hr />
58 <a NAME="DebugClientBase" ID="DebugClientBase"></a> 58 <a NAME="DebugClientBase" ID="DebugClientBase"></a>
59 <h2>DebugClientBase</h2> 59 <h2>DebugClientBase</h2>
60 <p> 60 <p>
61 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#99;&#108;&#105;&#101;&#110;&#116; &#115;&#105;&#100;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114;. 61 Class implementing the client side of the debugger.
62 </p><p> 62 </p><p>
63 &#73;&#116; &#112;&#114;&#111;v&#105;&#100;&#101;&#115; &#97;&#99;&#99;&#101;&#115;&#115; &#116;&#111; &#116;&#104;&#101; &#80;y&#116;&#104;&#111;&#110; &#105;&#110;&#116;&#101;&#114;&#112;&#101;&#116;&#101;&#114; &#102;&#114;&#111;&#109; &#97; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114; &#114;&#117;&#110;&#110;&#105;&#110;&#103; &#105;&#110; &#97;&#110;&#111;&#116;&#104;&#101;&#114; 63 It provides access to the Python interpeter from a debugger running in another
64 &#112;&#114;&#111;&#99;&#101;&#115;&#115; w&#104;&#101;&#116;&#104;&#101;&#114; &#111;&#114; &#110;&#111;&#116; &#116;&#104;&#101; &#81;&#116; &#101;v&#101;&#110;&#116; &#108;&#111;&#111;&#112; &#105;&#115; &#114;&#117;&#110;&#110;&#105;&#110;&#103;. 64 process whether or not the Qt event loop is running.
65 </p><p> 65 </p><p>
66 &#84;&#104;&#101; &#112;&#114;&#111;&#116;&#111;&#99;&#111;&#108; &#98;&#101;&#116;w&#101;&#101;&#110; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114; &#97;&#110;&#100; &#116;&#104;&#101; &#99;&#108;&#105;&#101;&#110;&#116; &#97;&#115;&#115;&#117;&#109;&#101;&#115; &#116;&#104;&#97;&#116; &#116;&#104;&#101;&#114;&#101; w&#105;&#108;&#108; &#98;&#101; 66 The protocol between the debugger and the client assumes that there will be
67 &#97; &#115;&#105;&#110;&#103;&#108;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#111;&#102; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114; &#99;&#111;&#109;&#109;&#97;&#110;&#100;&#115; &#97;&#110;&#100; &#97; &#115;&#105;&#110;&#103;&#108;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#111;&#102; &#80;y&#116;&#104;&#111;&#110; 67 a single source of debugger commands and a single source of Python
68 &#115;&#116;&#97;&#116;&#101;&#109;&#101;&#110;&#116;&#115;. &#67;&#111;&#109;&#109;&#97;&#110;&#100;&#115; &#97;&#110;&#100; &#115;&#116;&#97;&#116;&#101;&#109;&#101;&#110;&#116; &#97;&#114;&#101; &#97;&#108;w&#97;y&#115; &#101;x&#97;&#99;&#116;&#108;y &#111;&#110;&#101; &#108;&#105;&#110;&#101; &#97;&#110;&#100; &#109;&#97;y &#98;&#101; 68 statements. Commands and statement are always exactly one line and may be
69 &#105;&#110;&#116;&#101;&#114;&#115;&#112;&#101;&#114;&#115;&#101;&#100;. 69 interspersed.
70 </p><p> 70 </p><p>
71 &#84;&#104;&#101; &#112;&#114;&#111;&#116;&#111;&#99;&#111;&#108; &#105;&#115; &#97;&#115; &#102;&#111;&#108;&#108;&#111;w&#115;. &#70;&#105;&#114;&#115;&#116; &#116;&#104;&#101; &#99;&#108;&#105;&#101;&#110;&#116; &#111;&#112;&#101;&#110;&#115; &#97; &#99;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#116;&#104;&#101; 71 The protocol is as follows. First the client opens a connection to the
72 &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114; &#97;&#110;&#100; &#116;&#104;&#101;&#110; &#115;&#101;&#110;&#100;&#115; &#97; &#115;&#101;&#114;&#105;&#101;&#115; &#111;&#102; &#111;&#110;&#101; &#108;&#105;&#110;&#101; &#99;&#111;&#109;&#109;&#97;&#110;&#100;&#115;. &#65; &#99;&#111;&#109;&#109;&#97;&#110;&#100; &#105;&#115; &#101;&#105;&#116;&#104;&#101;&#114; 72 debugger and then sends a series of one line commands. A command is either
73 &&#103;&#116;&#59;&#76;&#111;&#97;&#100;&&#108;&#116;&#59;, &&#103;&#116;&#59;&#83;&#116;&#101;&#112;&&#108;&#116;&#59;, &&#103;&#116;&#59;&#83;&#116;&#101;&#112;&#73;&#110;&#116;&#111;&&#108;&#116;&#59;, ... &#111;&#114; &#97; &#80;y&#116;&#104;&#111;&#110; &#115;&#116;&#97;&#116;&#101;&#109;&#101;&#110;&#116;. 73 &gt;Load&lt;, &gt;Step&lt;, &gt;StepInto&lt;, ... or a Python statement.
74 &#83;&#101;&#101; &#68;&#101;&#98;&#117;&#103;&#80;&#114;&#111;&#116;&#111;&#99;&#111;&#108;.&#112;y &#102;&#111;&#114; &#97; &#108;&#105;&#115;&#116;&#105;&#110;&#103; &#111;&#102; v&#97;&#108;&#105;&#100; &#112;&#114;&#111;&#116;&#111;&#99;&#111;&#108; &#116;&#111;&#107;&#101;&#110;&#115;. 74 See DebugProtocol.py for a listing of valid protocol tokens.
75 </p><p> 75 </p><p>
76 &#65; &#80;y&#116;&#104;&#111;&#110; &#115;&#116;&#97;&#116;&#101;&#109;&#101;&#110;&#116; &#99;&#111;&#110;&#115;&#105;&#115;&#116;&#115; &#111;&#102; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#101;&#109;&#101;&#110;&#116; &#116;&#111; &#101;x&#101;&#99;&#117;&#116;&#101;, &#102;&#111;&#108;&#108;&#111;w&#101;&#100; (&#105;&#110; &#97; 76 A Python statement consists of the statement to execute, followed (in a
77 &#115;&#101;&#112;&#97;&#114;&#97;&#116;&#101; &#108;&#105;&#110;&#101;) &#98;y &&#103;&#116;&#59;&#79;&#75;&#63;&&#108;&#116;&#59;. &#73;&#102; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#101;&#109;&#101;&#110;&#116; w&#97;&#115; &#105;&#110;&#99;&#111;&#109;&#112;&#108;&#101;&#116;&#101; &#116;&#104;&#101;&#110; &#116;&#104;&#101; &#114;&#101;&#115;&#112;&#111;&#110;&#115;&#101; 77 separate line) by &gt;OK?&lt;. If the statement was incomplete then the response
78 &#105;&#115; &&#103;&#116;&#59;&#67;&#111;&#110;&#116;&#105;&#110;&#117;&#101;&&#108;&#116;&#59;. &#73;&#102; &#116;&#104;&#101;&#114;&#101; w&#97;&#115; &#97;&#110; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#116;&#104;&#101;&#110; &#116;&#104;&#101; &#114;&#101;&#115;&#112;&#111;&#110;&#115;&#101; &#105;&#115; 78 is &gt;Continue&lt;. If there was an exception then the response is
79 &&#103;&#116;&#59;&#69;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;&&#108;&#116;&#59;. 79 &gt;Exception&lt;.
80 &#79;&#116;&#104;&#101;&#114;w&#105;&#115;&#101; &#116;&#104;&#101; &#114;&#101;&#115;&#112;&#111;&#110;&#115;&#101; &#105;&#115; &&#103;&#116;&#59;&#79;&#75;&&#108;&#116;&#59;. &#84;&#104;&#101; &#114;&#101;&#97;&#115;&#111;&#110; &#102;&#111;&#114; &#116;&#104;&#101; &&#103;&#116;&#59;&#79;&#75;&#63;&&#108;&#116;&#59; &#112;&#97;&#114;&#116; &#105;&#115; &#116;&#111; 80 Otherwise the response is &gt;OK&lt;. The reason for the &gt;OK?&lt; part is to
81 &#112;&#114;&#111;v&#105;&#100;&#101; &#97; &#115;&#101;&#110;&#116;&#105;&#110;&#97;&#108; (&#105;&#101;. &#116;&#104;&#101; &#114;&#101;&#115;&#112;&#111;&#110;&#100;&#105;&#110;&#103; &&#103;&#116;&#59;&#79;&#75;&&#108;&#116;&#59;) &#97;&#102;&#116;&#101;&#114; &#97;&#110;y &#112;&#111;&#115;&#115;&#105;&#98;&#108;&#101; &#111;&#117;&#116;&#112;&#117;&#116; &#97;&#115; &#97; 81 provide a sentinal (ie. the responding &gt;OK&lt;) after any possible output as a
82 &#114;&#101;&#115;&#117;&#108;&#116; &#111;&#102; &#101;x&#101;&#99;&#117;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#99;&#111;&#109;&#109;&#97;&#110;&#100;. 82 result of executing the command.
83 </p><p> 83 </p><p>
84 &#84;&#104;&#101; &#99;&#108;&#105;&#101;&#110;&#116; &#109;&#97;y &#115;&#101;&#110;&#100; &#97;&#110;y &#111;&#116;&#104;&#101;&#114; &#108;&#105;&#110;&#101;&#115; &#97;&#116; &#97;&#110;y &#111;&#116;&#104;&#101;&#114; &#116;&#105;&#109;&#101; w&#104;&#105;&#99;&#104; &#115;&#104;&#111;&#117;&#108;&#100; &#98;&#101; 84 The client may send any other lines at any other time which should be
85 &#105;&#110;&#116;&#101;&#114;&#112;&#114;&#101;&#116;&#101;&#100; &#97;&#115; &#112;&#114;&#111;&#103;&#114;&#97;&#109; &#111;&#117;&#116;&#112;&#117;&#116;. 85 interpreted as program output.
86 </p><p> 86 </p><p>
87 &#73;&#102; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114; &#99;&#108;&#111;&#115;&#101;&#115; &#116;&#104;&#101; &#115;&#101;&#115;&#115;&#105;&#111;&#110; &#116;&#104;&#101;&#114;&#101; &#105;&#115; &#110;&#111; &#114;&#101;&#115;&#112;&#111;&#110;&#115;&#101; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#99;&#108;&#105;&#101;&#110;&#116;. 87 If the debugger closes the session there is no response from the client.
88 &#84;&#104;&#101; &#99;&#108;&#105;&#101;&#110;&#116; &#109;&#97;y &#99;&#108;&#111;&#115;&#101; &#116;&#104;&#101; &#115;&#101;&#115;&#115;&#105;&#111;&#110; &#97;&#116; &#97;&#110;y &#116;&#105;&#109;&#101; &#97;&#115; &#97; &#114;&#101;&#115;&#117;&#108;&#116; &#111;&#102; &#116;&#104;&#101; &#115;&#99;&#114;&#105;&#112;&#116; 88 The client may close the session at any time as a result of the script
89 &#98;&#101;&#105;&#110;&#103; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#100; &#99;&#108;&#111;&#115;&#105;&#110;&#103; &#111;&#114; &#99;&#114;&#97;&#115;&#104;&#105;&#110;&#103;. 89 being debugged closing or crashing.
90 </p><p> 90 </p><p>
91 &#60;&#98;&#62;&#78;&#111;&#116;&#101;&#60;/&#98;&#62;&#58; &#84;&#104;&#105;&#115; &#99;&#108;&#97;&#115;&#115; &#105;&#115; &#109;&#101;&#97;&#110;&#116; &#116;&#111; &#98;&#101; &#115;&#117;&#98;&#99;&#108;&#97;&#115;&#115;&#101;&#100; &#98;y &#105;&#110;&#100;&#105;v&#105;&#100;&#117;&#97;&#108; &#68;&#101;&#98;&#117;&#103;&#67;&#108;&#105;&#101;&#110;&#116; &#99;&#108;&#97;&#115;&#115;&#101;&#115;. 91 <b>Note</b>: This class is meant to be subclassed by individual DebugClient classes.
92 &#68;&#111; &#110;&#111;&#116; &#105;&#110;&#115;&#116;&#97;&#110;&#116;&#105;&#97;&#116;&#101; &#105;&#116; &#100;&#105;&#114;&#101;&#99;&#116;&#108;y. 92 Do not instantiate it directly.
93 </p> 93 </p>
94 <h3>Derived from</h3> 94 <h3>Derived from</h3>
95 object 95 object
96 <h3>Class Attributes</h3> 96 <h3>Class Attributes</h3>
97 <table> 97 <table>
99 </table> 99 </table>
100 <h3>Methods</h3> 100 <h3>Methods</h3>
101 <table> 101 <table>
102 <tr> 102 <tr>
103 <td><a href="#DebugClientBase.__init__">DebugClientBase</a></td> 103 <td><a href="#DebugClientBase.__init__">DebugClientBase</a></td>
104 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 104 <td>Constructor</td>
105 </tr><tr> 105 </tr><tr>
106 <td><a href="#DebugClientBase.__clientCapabilities">__clientCapabilities</a></td> 106 <td><a href="#DebugClientBase.__clientCapabilities">__clientCapabilities</a></td>
107 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101; &#116;&#104;&#101; &#99;&#108;&#105;&#101;&#110;&#116;&#115; &#99;&#97;&#112;&#97;&#98;&#105;&#108;&#105;&#116;&#105;&#101;&#115;.</td> 107 <td>Private method to determine the clients capabilities.</td>
108 </tr><tr> 108 </tr><tr>
109 <td><a href="#DebugClientBase.__completionList">__completionList</a></td> 109 <td><a href="#DebugClientBase.__completionList">__completionList</a></td>
110 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#113;&#117;&#101;&#115;&#116; &#102;&#111;&#114; &#97; &#99;&#111;&#109;&#109;&#97;&#110;&#100;&#108;&#105;&#110;&#101; &#99;&#111;&#109;&#112;&#108;&#101;&#116;&#105;&#111;&#110; &#108;&#105;&#115;&#116;.</td> 110 <td>Private slot to handle the request for a commandline completion list.</td>
111 </tr><tr> 111 </tr><tr>
112 <td><a href="#DebugClientBase.__dumpThreadList">__dumpThreadList</a></td> 112 <td><a href="#DebugClientBase.__dumpThreadList">__dumpThreadList</a></td>
113 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#110;&#100; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#116;&#104;&#114;&#101;&#97;&#100;&#115;.</td> 113 <td>Public method to send the list of threads.</td>
114 </tr><tr> 114 </tr><tr>
115 <td><a href="#DebugClientBase.__dumpVariable">__dumpVariable</a></td> 115 <td><a href="#DebugClientBase.__dumpVariable">__dumpVariable</a></td>
116 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; &#111;&#102; &#97; &#102;&#114;&#97;&#109;&#101; &#116;&#111; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103; &#115;&#101;&#114;v&#101;&#114;.</td> 116 <td>Private method to return the variables of a frame to the debug server.</td>
117 </tr><tr> 117 </tr><tr>
118 <td><a href="#DebugClientBase.__dumpVariables">__dumpVariables</a></td> 118 <td><a href="#DebugClientBase.__dumpVariables">__dumpVariables</a></td>
119 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; &#111;&#102; &#97; &#102;&#114;&#97;&#109;&#101; &#116;&#111; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103; &#115;&#101;&#114;v&#101;&#114;.</td> 119 <td>Private method to return the variables of a frame to the debug server.</td>
120 </tr><tr> 120 </tr><tr>
121 <td><a href="#DebugClientBase.__exceptionRaised">__exceptionRaised</a></td> 121 <td><a href="#DebugClientBase.__exceptionRaised">__exceptionRaised</a></td>
122 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; &#105;&#110; &#116;&#104;&#101; &#99;&#97;&#115;&#101; &#111;&#102; &#97;&#110; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;</td> 122 <td>Private method called in the case of an exception</td>
123 </tr><tr> 123 </tr><tr>
124 <td><a href="#DebugClientBase.__formatQt4Variable">__formatQt4Variable</a></td> 124 <td><a href="#DebugClientBase.__formatQt4Variable">__formatQt4Variable</a></td>
125 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#114;&#111;&#100;&#117;&#99;&#101; &#97; &#102;&#111;&#114;&#109;&#97;&#116;&#101;&#100; &#111;&#117;&#116;&#112;&#117;&#116; &#111;&#102; &#97; &#115;&#105;&#109;&#112;&#108;&#101; &#81;&#116;&#52; &#116;y&#112;&#101;.</td> 125 <td>Private method to produce a formated output of a simple Qt4 type.</td>
126 </tr><tr> 126 </tr><tr>
127 <td><a href="#DebugClientBase.__formatVariablesList">__formatVariablesList</a></td> 127 <td><a href="#DebugClientBase.__formatVariablesList">__formatVariablesList</a></td>
128 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#114;&#111;&#100;&#117;&#99;&#101; &#97; &#102;&#111;&#114;&#109;&#97;&#116;&#101;&#100; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; &#108;&#105;&#115;&#116;.</td> 128 <td>Private method to produce a formated variables list.</td>
129 </tr><tr> 129 </tr><tr>
130 <td><a href="#DebugClientBase.__generateFilterObjects">__generateFilterObjects</a></td> 130 <td><a href="#DebugClientBase.__generateFilterObjects">__generateFilterObjects</a></td>
131 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#97; &#102;&#105;&#108;&#116;&#101;&#114; &#115;&#116;&#114;&#105;&#110;&#103; &#116;&#111; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#102;&#105;&#108;&#116;&#101;&#114; &#111;&#98;&#106;&#101;&#99;&#116;&#115;.</td> 131 <td>Private slot to convert a filter string to a list of filter objects.</td>
132 </tr><tr> 132 </tr><tr>
133 <td><a href="#DebugClientBase.__interact">__interact</a></td> 133 <td><a href="#DebugClientBase.__interact">__interact</a></td>
134 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#73;&#110;&#116;&#101;&#114;&#97;&#99;&#116; w&#105;&#116;&#104; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114;.</td> 134 <td>Private method to Interact with the debugger.</td>
135 </tr><tr> 135 </tr><tr>
136 <td><a href="#DebugClientBase.__resolveHost">__resolveHost</a></td> 136 <td><a href="#DebugClientBase.__resolveHost">__resolveHost</a></td>
137 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#111;&#108;v&#101; &#97; &#104;&#111;&#115;&#116;&#110;&#97;&#109;&#101; &#116;&#111; &#97;&#110; &#73;&#80; &#97;&#100;&#100;&#114;&#101;&#115;&#115;.</td> 137 <td>Private method to resolve a hostname to an IP address.</td>
138 </tr><tr> 138 </tr><tr>
139 <td><a href="#DebugClientBase.__setCoding">__setCoding</a></td> 139 <td><a href="#DebugClientBase.__setCoding">__setCoding</a></td>
140 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#99;&#111;&#100;&#105;&#110;&#103; &#117;&#115;&#101;&#100; &#98;y &#97; &#112;y&#116;&#104;&#111;&#110; &#102;&#105;&#108;&#101;.</td> 140 <td>Private method to set the coding used by a python file.</td>
141 </tr><tr> 141 </tr><tr>
142 <td><a href="#DebugClientBase.__unhandled_exception">__unhandled_exception</a></td> 142 <td><a href="#DebugClientBase.__unhandled_exception">__unhandled_exception</a></td>
143 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#114;&#101;&#112;&#111;&#114;&#116; &#97;&#110; &#117;&#110;&#99;&#97;&#117;&#103;&#104;&#116; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;.</td> 143 <td>Private method called to report an uncaught exception.</td>
144 </tr><tr> 144 </tr><tr>
145 <td><a href="#DebugClientBase.absPath">absPath</a></td> 145 <td><a href="#DebugClientBase.absPath">absPath</a></td>
146 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#97; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#116;&#111; &#97;&#110; &#97;&#98;&#115;&#111;&#108;&#117;&#116;&#101; &#110;&#97;&#109;&#101;.</td> 146 <td>Public method to convert a filename to an absolute name.</td>
147 </tr><tr> 147 </tr><tr>
148 <td><a href="#DebugClientBase.attachThread">attachThread</a></td> 148 <td><a href="#DebugClientBase.attachThread">attachThread</a></td>
149 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116;&#117;&#112; &#97; &#116;&#104;&#114;&#101;&#97;&#100; &#102;&#111;&#114; &#68;&#101;&#98;&#117;&#103;&#67;&#108;&#105;&#101;&#110;&#116; &#116;&#111; &#100;&#101;&#98;&#117;&#103;.</td> 149 <td>Public method to setup a thread for DebugClient to debug.</td>
150 </tr><tr> 150 </tr><tr>
151 <td><a href="#DebugClientBase.close">close</a></td> 151 <td><a href="#DebugClientBase.close">close</a></td>
152 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#99;&#108;&#111;&#115;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#97;&#115; &#97; &#114;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116; &#102;&#111;&#114; &#111;&#115;.&#99;&#108;&#111;&#115;&#101;().</td> 152 <td>Private method implementing a close method as a replacement for os.close().</td>
153 </tr><tr> 153 </tr><tr>
154 <td><a href="#DebugClientBase.connectDebugger">connectDebugger</a></td> 154 <td><a href="#DebugClientBase.connectDebugger">connectDebugger</a></td>
155 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;&#115;&#116;&#97;&#98;&#108;&#105;&#115;&#104; &#97; &#115;&#101;&#115;&#115;&#105;&#111;&#110; w&#105;&#116;&#104; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114;.</td> 155 <td>Public method to establish a session with the debugger.</td>
156 </tr><tr> 156 </tr><tr>
157 <td><a href="#DebugClientBase.eventLoop">eventLoop</a></td> 157 <td><a href="#DebugClientBase.eventLoop">eventLoop</a></td>
158 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#111;&#117;&#114; &#101;v&#101;&#110;&#116; &#108;&#111;&#111;&#112;.</td> 158 <td>Public method implementing our event loop.</td>
159 </tr><tr> 159 </tr><tr>
160 <td><a href="#DebugClientBase.eventPoll">eventPoll</a></td> 160 <td><a href="#DebugClientBase.eventPoll">eventPoll</a></td>
161 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#111;&#108;&#108; &#102;&#111;&#114; &#101;v&#101;&#110;&#116;&#115; &#108;&#105;&#107;&#101; '&#115;&#101;&#116; &#98;&#114;&#101;&#97;&#107; &#112;&#111;&#105;&#110;&#116;'.</td> 161 <td>Public method to poll for events like 'set break point'.</td>
162 </tr><tr> 162 </tr><tr>
163 <td><a href="#DebugClientBase.fork">fork</a></td> 163 <td><a href="#DebugClientBase.fork">fork</a></td>
164 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#102;&#111;&#114;&#107; &#114;&#111;&#117;&#116;&#105;&#110;&#101; &#100;&#101;&#99;&#105;&#100;&#105;&#110;&#103; w&#104;&#105;&#99;&#104; &#98;&#114;&#97;&#110;&#99;&#104; &#116;&#111; &#102;&#111;&#108;&#108;&#111;w.</td> 164 <td>Public method implementing a fork routine deciding which branch to follow.</td>
165 </tr><tr> 165 </tr><tr>
166 <td><a href="#DebugClientBase.getCoding">getCoding</a></td> 166 <td><a href="#DebugClientBase.getCoding">getCoding</a></td>
167 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#99;&#111;&#100;&#105;&#110;&#103;.</td> 167 <td>Public method to return the current coding.</td>
168 </tr><tr> 168 </tr><tr>
169 <td><a href="#DebugClientBase.getRunning">getRunning</a></td> 169 <td><a href="#DebugClientBase.getRunning">getRunning</a></td>
170 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#109;&#97;&#105;&#110; &#115;&#99;&#114;&#105;&#112;&#116; w&#101; &#97;&#114;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116;&#108;y &#114;&#117;&#110;&#110;&#105;&#110;&#103;.</td> 170 <td>Public method to return the main script we are currently running.</td>
171 </tr><tr> 171 </tr><tr>
172 <td><a href="#DebugClientBase.handleLine">handleLine</a></td> 172 <td><a href="#DebugClientBase.handleLine">handleLine</a></td>
173 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#99;&#101;&#105;&#112;&#116; &#111;&#102; &#97; &#99;&#111;&#109;&#112;&#108;&#101;&#116;&#101; &#108;&#105;&#110;&#101;.</td> 173 <td>Public method to handle the receipt of a complete line.</td>
174 </tr><tr> 174 </tr><tr>
175 <td><a href="#DebugClientBase.input">input</a></td> 175 <td><a href="#DebugClientBase.input">input</a></td>
176 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116; &#105;&#110;&#112;&#117;&#116;() &#117;&#115;&#105;&#110;&#103; &#116;&#104;&#101; &#101;v&#101;&#110;&#116; &#108;&#111;&#111;&#112;.</td> 176 <td>Public method to implement input() using the event loop.</td>
177 </tr><tr> 177 </tr><tr>
178 <td><a href="#DebugClientBase.main">main</a></td> 178 <td><a href="#DebugClientBase.main">main</a></td>
179 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#109;&#97;&#105;&#110; &#109;&#101;&#116;&#104;&#111;&#100;.</td> 179 <td>Public method implementing the main method.</td>
180 </tr><tr> 180 </tr><tr>
181 <td><a href="#DebugClientBase.progTerminated">progTerminated</a></td> 181 <td><a href="#DebugClientBase.progTerminated">progTerminated</a></td>
182 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#116;&#101;&#108;&#108; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114; &#116;&#104;&#97;&#116; &#116;&#104;&#101; &#112;&#114;&#111;&#103;&#114;&#97;&#109; &#104;&#97;&#115; &#116;&#101;&#114;&#109;&#105;&#110;&#97;&#116;&#101;&#100;.</td> 182 <td>Public method to tell the debugger that the program has terminated.</td>
183 </tr><tr> 183 </tr><tr>
184 <td><a href="#DebugClientBase.raw_input">raw_input</a></td> 184 <td><a href="#DebugClientBase.raw_input">raw_input</a></td>
185 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116; &#114;&#97;w&#95;&#105;&#110;&#112;&#117;&#116;() &#117;&#115;&#105;&#110;&#103; &#116;&#104;&#101; &#101;v&#101;&#110;&#116; &#108;&#111;&#111;&#112;.</td> 185 <td>Public method to implement raw_input() using the event loop.</td>
186 </tr><tr> 186 </tr><tr>
187 <td><a href="#DebugClientBase.run_call">run_call</a></td> 187 <td><a href="#DebugClientBase.run_call">run_call</a></td>
188 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#114;&#101;&#109;&#111;&#116;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114; &#97;&#110;&#100; &#99;&#97;&#108;&#108; &#97; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;.</td> 188 <td>Public method used to start the remote debugger and call a function.</td>
189 </tr><tr> 189 </tr><tr>
190 <td><a href="#DebugClientBase.sessionClose">sessionClose</a></td> 190 <td><a href="#DebugClientBase.sessionClose">sessionClose</a></td>
191 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#116;&#104;&#101; &#115;&#101;&#115;&#115;&#105;&#111;&#110; w&#105;&#116;&#104; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114; &#97;&#110;&#100; &#111;&#112;&#116;&#105;&#111;&#110;&#97;&#108;&#108;y &#116;&#101;&#114;&#109;&#105;&#110;&#97;&#116;&#101;.</td> 191 <td>Public method to close the session with the debugger and optionally terminate.</td>
192 </tr><tr> 192 </tr><tr>
193 <td><a href="#DebugClientBase.shouldSkip">shouldSkip</a></td> 193 <td><a href="#DebugClientBase.shouldSkip">shouldSkip</a></td>
194 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#105;&#102; &#97; &#102;&#105;&#108;&#101; &#115;&#104;&#111;&#117;&#108;&#100; &#98;&#101; &#115;&#107;&#105;&#112;&#112;&#101;&#100;.</td> 194 <td>Public method to check if a file should be skipped.</td>
195 </tr><tr> 195 </tr><tr>
196 <td><a href="#DebugClientBase.startDebugger">startDebugger</a></td> 196 <td><a href="#DebugClientBase.startDebugger">startDebugger</a></td>
197 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#114;&#101;&#109;&#111;&#116;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114;.</td> 197 <td>Public method used to start the remote debugger.</td>
198 </tr><tr> 198 </tr><tr>
199 <td><a href="#DebugClientBase.startProgInDebugger">startProgInDebugger</a></td> 199 <td><a href="#DebugClientBase.startProgInDebugger">startProgInDebugger</a></td>
200 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#114;&#101;&#109;&#111;&#116;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114;.</td> 200 <td>Public method used to start the remote debugger.</td>
201 </tr><tr> 201 </tr><tr>
202 <td><a href="#DebugClientBase.write">write</a></td> 202 <td><a href="#DebugClientBase.write">write</a></td>
203 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; w&#114;&#105;&#116;&#101; &#100;&#97;&#116;&#97; &#116;&#111; &#116;&#104;&#101; &#111;&#117;&#116;&#112;&#117;&#116; &#115;&#116;&#114;&#101;&#97;&#109;.</td> 203 <td>Public method to write data to the output stream.</td>
204 </tr> 204 </tr>
205 </table> 205 </table>
206 <a NAME="DebugClientBase.__init__" ID="DebugClientBase.__init__"></a> 206 <a NAME="DebugClientBase.__init__" ID="DebugClientBase.__init__"></a>
207 <h4>DebugClientBase (Constructor)</h4> 207 <h4>DebugClientBase (Constructor)</h4>
208 <b>DebugClientBase</b>(<i></i>) 208 <b>DebugClientBase</b>(<i></i>)
209 <p> 209 <p>
210 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 210 Constructor
211 </p><a NAME="DebugClientBase.__clientCapabilities" ID="DebugClientBase.__clientCapabilities"></a> 211 </p><a NAME="DebugClientBase.__clientCapabilities" ID="DebugClientBase.__clientCapabilities"></a>
212 <h4>DebugClientBase.__clientCapabilities</h4> 212 <h4>DebugClientBase.__clientCapabilities</h4>
213 <b>__clientCapabilities</b>(<i></i>) 213 <b>__clientCapabilities</b>(<i></i>)
214 <p> 214 <p>
215 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101; &#116;&#104;&#101; &#99;&#108;&#105;&#101;&#110;&#116;&#115; &#99;&#97;&#112;&#97;&#98;&#105;&#108;&#105;&#116;&#105;&#101;&#115;. 215 Private method to determine the clients capabilities.
216 </p><dl> 216 </p><dl>
217 <dt>Returns:</dt> 217 <dt>Returns:</dt>
218 <dd> 218 <dd>
219 &#99;&#108;&#105;&#101;&#110;&#116; &#99;&#97;&#112;&#97;&#98;&#105;&#108;&#105;&#116;&#105;&#101;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 219 client capabilities (integer)
220 </dd> 220 </dd>
221 </dl><a NAME="DebugClientBase.__completionList" ID="DebugClientBase.__completionList"></a> 221 </dl><a NAME="DebugClientBase.__completionList" ID="DebugClientBase.__completionList"></a>
222 <h4>DebugClientBase.__completionList</h4> 222 <h4>DebugClientBase.__completionList</h4>
223 <b>__completionList</b>(<i>text</i>) 223 <b>__completionList</b>(<i>text</i>)
224 <p> 224 <p>
225 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#113;&#117;&#101;&#115;&#116; &#102;&#111;&#114; &#97; &#99;&#111;&#109;&#109;&#97;&#110;&#100;&#108;&#105;&#110;&#101; &#99;&#111;&#109;&#112;&#108;&#101;&#116;&#105;&#111;&#110; &#108;&#105;&#115;&#116;. 225 Private slot to handle the request for a commandline completion list.
226 </p><dl> 226 </p><dl>
227 <dt><i>text</i></dt> 227 <dt><i>text</i></dt>
228 <dd> 228 <dd>
229 &#116;&#104;&#101; &#116;&#101;x&#116; &#116;&#111; &#98;&#101; &#99;&#111;&#109;&#112;&#108;&#101;&#116;&#101;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;) 229 the text to be completed (string)
230 </dd> 230 </dd>
231 </dl><a NAME="DebugClientBase.__dumpThreadList" ID="DebugClientBase.__dumpThreadList"></a> 231 </dl><a NAME="DebugClientBase.__dumpThreadList" ID="DebugClientBase.__dumpThreadList"></a>
232 <h4>DebugClientBase.__dumpThreadList</h4> 232 <h4>DebugClientBase.__dumpThreadList</h4>
233 <b>__dumpThreadList</b>(<i></i>) 233 <b>__dumpThreadList</b>(<i></i>)
234 <p> 234 <p>
235 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#110;&#100; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#116;&#104;&#114;&#101;&#97;&#100;&#115;. 235 Public method to send the list of threads.
236 </p><a NAME="DebugClientBase.__dumpVariable" ID="DebugClientBase.__dumpVariable"></a> 236 </p><a NAME="DebugClientBase.__dumpVariable" ID="DebugClientBase.__dumpVariable"></a>
237 <h4>DebugClientBase.__dumpVariable</h4> 237 <h4>DebugClientBase.__dumpVariable</h4>
238 <b>__dumpVariable</b>(<i>var, frmnr, scope, filter</i>) 238 <b>__dumpVariable</b>(<i>var, frmnr, scope, filter</i>)
239 <p> 239 <p>
240 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; &#111;&#102; &#97; &#102;&#114;&#97;&#109;&#101; &#116;&#111; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103; &#115;&#101;&#114;v&#101;&#114;. 240 Private method to return the variables of a frame to the debug server.
241 </p><dl> 241 </p><dl>
242 <dt><i>var</i></dt> 242 <dt><i>var</i></dt>
243 <dd> 243 <dd>
244 &#108;&#105;&#115;&#116; &#101;&#110;&#99;&#111;&#100;&#101;&#100; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 244 list encoded name of the requested variable (list of strings)
245 </dd><dt><i>frmnr</i></dt> 245 </dd><dt><i>frmnr</i></dt>
246 <dd> 246 <dd>
247 &#100;&#105;&#115;&#116;&#97;&#110;&#99;&#101; &#111;&#102; &#102;&#114;&#97;&#109;&#101; &#114;&#101;&#112;&#111;&#114;&#116;&#101;&#100; &#111;&#110;. &#48; &#105;&#115; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#102;&#114;&#97;&#109;&#101; (&#105;&#110;&#116;) 247 distance of frame reported on. 0 is the current frame (int)
248 </dd><dt><i>scope</i></dt> 248 </dd><dt><i>scope</i></dt>
249 <dd> 249 <dd>
250 &#49; &#116;&#111; &#114;&#101;&#112;&#111;&#114;&#116; &#103;&#108;&#111;&#98;&#97;&#108; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115;, &#48; &#102;&#111;&#114; &#108;&#111;&#99;&#97;&#108; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; (&#105;&#110;&#116;) 250 1 to report global variables, 0 for local variables (int)
251 </dd><dt><i>filter</i></dt> 251 </dd><dt><i>filter</i></dt>
252 <dd> 252 <dd>
253 &#116;&#104;&#101; &#105;&#110;&#100;&#105;&#99;&#101;&#115; &#111;&#102; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; &#116;y&#112;&#101;&#115; &#116;&#111; &#98;&#101; &#102;&#105;&#108;&#116;&#101;&#114;&#101;&#100; (&#108;&#105;&#115;&#116; &#111;&#102; &#105;&#110;&#116;) 253 the indices of variable types to be filtered (list of int)
254 </dd> 254 </dd>
255 </dl><a NAME="DebugClientBase.__dumpVariables" ID="DebugClientBase.__dumpVariables"></a> 255 </dl><a NAME="DebugClientBase.__dumpVariables" ID="DebugClientBase.__dumpVariables"></a>
256 <h4>DebugClientBase.__dumpVariables</h4> 256 <h4>DebugClientBase.__dumpVariables</h4>
257 <b>__dumpVariables</b>(<i>frmnr, scope, filter</i>) 257 <b>__dumpVariables</b>(<i>frmnr, scope, filter</i>)
258 <p> 258 <p>
259 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; &#111;&#102; &#97; &#102;&#114;&#97;&#109;&#101; &#116;&#111; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103; &#115;&#101;&#114;v&#101;&#114;. 259 Private method to return the variables of a frame to the debug server.
260 </p><dl> 260 </p><dl>
261 <dt><i>frmnr</i></dt> 261 <dt><i>frmnr</i></dt>
262 <dd> 262 <dd>
263 &#100;&#105;&#115;&#116;&#97;&#110;&#99;&#101; &#111;&#102; &#102;&#114;&#97;&#109;&#101; &#114;&#101;&#112;&#111;&#114;&#116;&#101;&#100; &#111;&#110;. &#48; &#105;&#115; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#102;&#114;&#97;&#109;&#101; (&#105;&#110;&#116;) 263 distance of frame reported on. 0 is the current frame (int)
264 </dd><dt><i>scope</i></dt> 264 </dd><dt><i>scope</i></dt>
265 <dd> 265 <dd>
266 &#49; &#116;&#111; &#114;&#101;&#112;&#111;&#114;&#116; &#103;&#108;&#111;&#98;&#97;&#108; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115;, &#48; &#102;&#111;&#114; &#108;&#111;&#99;&#97;&#108; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; (&#105;&#110;&#116;) 266 1 to report global variables, 0 for local variables (int)
267 </dd><dt><i>filter</i></dt> 267 </dd><dt><i>filter</i></dt>
268 <dd> 268 <dd>
269 &#116;&#104;&#101; &#105;&#110;&#100;&#105;&#99;&#101;&#115; &#111;&#102; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; &#116;y&#112;&#101;&#115; &#116;&#111; &#98;&#101; &#102;&#105;&#108;&#116;&#101;&#114;&#101;&#100; (&#108;&#105;&#115;&#116; &#111;&#102; &#105;&#110;&#116;) 269 the indices of variable types to be filtered (list of int)
270 </dd> 270 </dd>
271 </dl><a NAME="DebugClientBase.__exceptionRaised" ID="DebugClientBase.__exceptionRaised"></a> 271 </dl><a NAME="DebugClientBase.__exceptionRaised" ID="DebugClientBase.__exceptionRaised"></a>
272 <h4>DebugClientBase.__exceptionRaised</h4> 272 <h4>DebugClientBase.__exceptionRaised</h4>
273 <b>__exceptionRaised</b>(<i></i>) 273 <b>__exceptionRaised</b>(<i></i>)
274 <p> 274 <p>
275 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; &#105;&#110; &#116;&#104;&#101; &#99;&#97;&#115;&#101; &#111;&#102; &#97;&#110; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; 275 Private method called in the case of an exception
276 </p><p> 276 </p><p>
277 &#73;&#116; &#101;&#110;&#115;&#117;&#114;&#101;&#115; &#116;&#104;&#97;&#116; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103; &#115;&#101;&#114;v&#101;&#114; &#105;&#115; &#105;&#110;&#102;&#111;&#114;&#109;&#101;&#100; &#111;&#102; &#116;&#104;&#101; &#114;&#97;&#105;&#115;&#101;&#100; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;. 277 It ensures that the debug server is informed of the raised exception.
278 </p><a NAME="DebugClientBase.__formatQt4Variable" ID="DebugClientBase.__formatQt4Variable"></a> 278 </p><a NAME="DebugClientBase.__formatQt4Variable" ID="DebugClientBase.__formatQt4Variable"></a>
279 <h4>DebugClientBase.__formatQt4Variable</h4> 279 <h4>DebugClientBase.__formatQt4Variable</h4>
280 <b>__formatQt4Variable</b>(<i>value, vtype</i>) 280 <b>__formatQt4Variable</b>(<i>value, vtype</i>)
281 <p> 281 <p>
282 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#114;&#111;&#100;&#117;&#99;&#101; &#97; &#102;&#111;&#114;&#109;&#97;&#116;&#101;&#100; &#111;&#117;&#116;&#112;&#117;&#116; &#111;&#102; &#97; &#115;&#105;&#109;&#112;&#108;&#101; &#81;&#116;&#52; &#116;y&#112;&#101;. 282 Private method to produce a formated output of a simple Qt4 type.
283 </p><dl> 283 </p><dl>
284 <dt><i>value</i></dt> 284 <dt><i>value</i></dt>
285 <dd> 285 <dd>
286 v&#97;&#114;&#105;&#97;&#98;&#108;&#101; &#116;&#111; &#98;&#101; &#102;&#111;&#114;&#109;&#97;&#116;&#101;&#100; 286 variable to be formated
287 </dd><dt><i>vtype</i></dt> 287 </dd><dt><i>vtype</i></dt>
288 <dd> 288 <dd>
289 &#116;y&#112;&#101; &#111;&#102; &#116;&#104;&#101; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; &#116;&#111; &#98;&#101; &#102;&#111;&#114;&#109;&#97;&#116;&#116;&#101;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;) 289 type of the variable to be formatted (string)
290 </dd> 290 </dd>
291 </dl><dl> 291 </dl><dl>
292 <dt>Returns:</dt> 292 <dt>Returns:</dt>
293 <dd> 293 <dd>
294 &#65; &#116;&#117;&#112;&#108;&#101; &#99;&#111;&#110;&#115;&#105;&#115;&#116;&#105;&#110;&#103; &#111;&#102; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#102;&#111;&#114;&#109;&#97;&#116;&#116;&#101;&#100; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115;. &#69;&#97;&#99;&#104; 294 A tuple consisting of a list of formatted variables. Each
295 v&#97;&#114;&#105;&#97;&#98;&#108;&#101; &#101;&#110;&#116;&#114;y &#105;&#115; &#97; &#116;&#117;&#112;&#108;&#101; &#111;&#102; &#116;&#104;&#114;&#101;&#101; &#101;&#108;&#101;&#109;&#101;&#110;&#116;&#115;, &#116;&#104;&#101; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; &#110;&#97;&#109;&#101;, 295 variable entry is a tuple of three elements, the variable name,
296 &#105;&#116;&#115; &#116;y&#112;&#101; &#97;&#110;&#100; v&#97;&#108;&#117;&#101;. 296 its type and value.
297 </dd> 297 </dd>
298 </dl><a NAME="DebugClientBase.__formatVariablesList" ID="DebugClientBase.__formatVariablesList"></a> 298 </dl><a NAME="DebugClientBase.__formatVariablesList" ID="DebugClientBase.__formatVariablesList"></a>
299 <h4>DebugClientBase.__formatVariablesList</h4> 299 <h4>DebugClientBase.__formatVariablesList</h4>
300 <b>__formatVariablesList</b>(<i>keylist, dict, scope, filter = [], formatSequences = 0</i>) 300 <b>__formatVariablesList</b>(<i>keylist, dict, scope, filter = [], formatSequences = 0</i>)
301 <p> 301 <p>
302 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#114;&#111;&#100;&#117;&#99;&#101; &#97; &#102;&#111;&#114;&#109;&#97;&#116;&#101;&#100; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; &#108;&#105;&#115;&#116;. 302 Private method to produce a formated variables list.
303 </p><p> 303 </p><p>
304 &#84;&#104;&#101; &#100;&#105;&#99;&#116;&#105;&#111;&#110;&#97;&#114;y &#112;&#97;&#115;&#115;&#101;&#100; &#105;&#110; &#116;&#111; &#105;&#116; &#105;&#115; &#115;&#99;&#97;&#110;&#110;&#101;&#100;. &#86;&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; &#97;&#114;&#101; 304 The dictionary passed in to it is scanned. Variables are
305 &#111;&#110;&#108;y &#97;&#100;&#100;&#101;&#100; &#116;&#111; &#116;&#104;&#101; &#108;&#105;&#115;&#116;, &#105;&#102; &#116;&#104;&#101;&#105;&#114; &#116;y&#112;&#101; &#105;&#115; &#110;&#111;&#116; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#101;&#100; 305 only added to the list, if their type is not contained
306 &#105;&#110; &#116;&#104;&#101; &#102;&#105;&#108;&#116;&#101;&#114; &#108;&#105;&#115;&#116; &#97;&#110;&#100; &#116;&#104;&#101;&#105;&#114; &#110;&#97;&#109;&#101; &#100;&#111;&#101;&#115;&#110;'&#116; &#109;&#97;&#116;&#99;&#104; &#97;&#110;y &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#108;&#116;&#101;&#114; &#101;x&#112;&#114;&#101;&#115;&#115;&#105;&#111;&#110;&#115;. 306 in the filter list and their name doesn't match any of the filter expressions.
307 &#84;&#104;&#101; &#102;&#111;&#114;&#109;&#97;&#116;&#101;&#100; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; &#108;&#105;&#115;&#116; (&#97; &#108;&#105;&#115;&#116; &#111;&#102; &#116;&#117;&#112;&#108;&#101;&#115; &#111;&#102; &#51; v&#97;&#108;&#117;&#101;&#115;) &#105;&#115; &#114;&#101;&#116;&#117;&#114;&#110;&#101;&#100;. 307 The formated variables list (a list of tuples of 3 values) is returned.
308 </p><dl> 308 </p><dl>
309 <dt><i>keylist</i></dt> 309 <dt><i>keylist</i></dt>
310 <dd> 310 <dd>
311 &#107;&#101;y&#115; &#111;&#102; &#116;&#104;&#101; &#100;&#105;&#99;&#116;&#105;&#111;&#110;&#97;&#114;y 311 keys of the dictionary
312 </dd><dt><i>dict</i></dt> 312 </dd><dt><i>dict</i></dt>
313 <dd> 313 <dd>
314 &#116;&#104;&#101; &#100;&#105;&#99;&#116;&#105;&#111;&#110;&#97;&#114;y &#116;&#111; &#98;&#101; &#115;&#99;&#97;&#110;&#110;&#101;&#100; 314 the dictionary to be scanned
315 </dd><dt><i>scope</i></dt> 315 </dd><dt><i>scope</i></dt>
316 <dd> 316 <dd>
317 &#49; &#116;&#111; &#102;&#105;&#108;&#116;&#101;&#114; &#117;&#115;&#105;&#110;&#103; &#116;&#104;&#101; &#103;&#108;&#111;&#98;&#97;&#108;&#115; &#102;&#105;&#108;&#116;&#101;&#114;, &#48; &#117;&#115;&#105;&#110;&#103; &#116;&#104;&#101; &#108;&#111;&#99;&#97;&#108;&#115; 317 1 to filter using the globals filter, 0 using the locals
318 &#102;&#105;&#108;&#116;&#101;&#114; (&#105;&#110;&#116;). 318 filter (int).
319 &#86;&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; &#97;&#114;&#101; &#111;&#110;&#108;y &#97;&#100;&#100;&#101;&#100; &#116;&#111; &#116;&#104;&#101; &#108;&#105;&#115;&#116;, &#105;&#102; &#116;&#104;&#101;&#105;&#114; &#110;&#97;&#109;&#101; &#100;&#111; &#110;&#111;&#116; &#109;&#97;&#116;&#99;&#104; &#97;&#110;y &#111;&#102; &#116;&#104;&#101; 319 Variables are only added to the list, if their name do not match any of the
320 &#102;&#105;&#108;&#116;&#101;&#114; &#101;x&#112;&#114;&#101;&#115;&#115;&#105;&#111;&#110;&#115;. 320 filter expressions.
321 </dd><dt><i>filter</i></dt> 321 </dd><dt><i>filter</i></dt>
322 <dd> 322 <dd>
323 &#116;&#104;&#101; &#105;&#110;&#100;&#105;&#99;&#101;&#115; &#111;&#102; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; &#116;y&#112;&#101;&#115; &#116;&#111; &#98;&#101; &#102;&#105;&#108;&#116;&#101;&#114;&#101;&#100;. &#86;&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; &#97;&#114;&#101; 323 the indices of variable types to be filtered. Variables are
324 &#111;&#110;&#108;y &#97;&#100;&#100;&#101;&#100; &#116;&#111; &#116;&#104;&#101; &#108;&#105;&#115;&#116;, &#105;&#102; &#116;&#104;&#101;&#105;&#114; &#116;y&#112;&#101; &#105;&#115; &#110;&#111;&#116; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#101;&#100; &#105;&#110; &#116;&#104;&#101; &#102;&#105;&#108;&#116;&#101;&#114; 324 only added to the list, if their type is not contained in the filter
325 &#108;&#105;&#115;&#116;. 325 list.
326 </dd><dt><i>formatSequences</i></dt> 326 </dd><dt><i>formatSequences</i></dt>
327 <dd> 327 <dd>
328 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103;, &#116;&#104;&#97;&#116; &#115;&#101;&#113;&#117;&#101;&#110;&#99;&#101; &#111;&#114; &#100;&#105;&#99;&#116;&#105;&#111;&#110;&#97;&#114;y v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; 328 flag indicating, that sequence or dictionary variables
329 &#115;&#104;&#111;&#117;&#108;&#100; &#98;&#101; &#102;&#111;&#114;&#109;&#97;&#116;&#116;&#101;&#100;. &#73;&#102; &#105;&#116; &#105;&#115; &#48; (&#111;&#114; &#102;&#97;&#108;&#115;&#101;), &#106;&#117;&#115;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#105;&#116;&#101;&#109;&#115; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#101;&#100; 329 should be formatted. If it is 0 (or false), just the number of items contained
330 &#105;&#110; &#116;&#104;&#101;&#115;&#101; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; &#105;&#115; &#114;&#101;&#116;&#117;&#114;&#110;&#101;&#100;. (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 330 in these variables is returned. (boolean)
331 </dd> 331 </dd>
332 </dl><dl> 332 </dl><dl>
333 <dt>Returns:</dt> 333 <dt>Returns:</dt>
334 <dd> 334 <dd>
335 &#65; &#116;&#117;&#112;&#108;&#101; &#99;&#111;&#110;&#115;&#105;&#115;&#116;&#105;&#110;&#103; &#111;&#102; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#102;&#111;&#114;&#109;&#97;&#116;&#116;&#101;&#100; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115;. &#69;&#97;&#99;&#104; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; 335 A tuple consisting of a list of formatted variables. Each variable
336 &#101;&#110;&#116;&#114;y &#105;&#115; &#97; &#116;&#117;&#112;&#108;&#101; &#111;&#102; &#116;&#104;&#114;&#101;&#101; &#101;&#108;&#101;&#109;&#101;&#110;&#116;&#115;, &#116;&#104;&#101; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; &#110;&#97;&#109;&#101;, &#105;&#116;&#115; &#116;y&#112;&#101; &#97;&#110;&#100; 336 entry is a tuple of three elements, the variable name, its type and
337 v&#97;&#108;&#117;&#101;. 337 value.
338 </dd> 338 </dd>
339 </dl><a NAME="DebugClientBase.__generateFilterObjects" ID="DebugClientBase.__generateFilterObjects"></a> 339 </dl><a NAME="DebugClientBase.__generateFilterObjects" ID="DebugClientBase.__generateFilterObjects"></a>
340 <h4>DebugClientBase.__generateFilterObjects</h4> 340 <h4>DebugClientBase.__generateFilterObjects</h4>
341 <b>__generateFilterObjects</b>(<i>scope, filterString</i>) 341 <b>__generateFilterObjects</b>(<i>scope, filterString</i>)
342 <p> 342 <p>
343 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#97; &#102;&#105;&#108;&#116;&#101;&#114; &#115;&#116;&#114;&#105;&#110;&#103; &#116;&#111; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#102;&#105;&#108;&#116;&#101;&#114; &#111;&#98;&#106;&#101;&#99;&#116;&#115;. 343 Private slot to convert a filter string to a list of filter objects.
344 </p><dl> 344 </p><dl>
345 <dt><i>scope</i></dt> 345 <dt><i>scope</i></dt>
346 <dd> 346 <dd>
347 &#49; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#102;&#105;&#108;&#116;&#101;&#114; &#102;&#111;&#114; &#103;&#108;&#111;&#98;&#97;&#108; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115;, &#48; &#102;&#111;&#114; &#108;&#111;&#99;&#97;&#108; 347 1 to generate filter for global variables, 0 for local
348 v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; (&#105;&#110;&#116;) 348 variables (int)
349 </dd><dt><i>filterString</i></dt> 349 </dd><dt><i>filterString</i></dt>
350 <dd> 350 <dd>
351 &#115;&#116;&#114;&#105;&#110;&#103; &#111;&#102; &#102;&#105;&#108;&#116;&#101;&#114; &#112;&#97;&#116;&#116;&#101;&#114;&#110;&#115; &#115;&#101;&#112;&#97;&#114;&#97;&#116;&#101;&#100; &#98;y '&#59;' 351 string of filter patterns separated by ';'
352 </dd> 352 </dd>
353 </dl><a NAME="DebugClientBase.__interact" ID="DebugClientBase.__interact"></a> 353 </dl><a NAME="DebugClientBase.__interact" ID="DebugClientBase.__interact"></a>
354 <h4>DebugClientBase.__interact</h4> 354 <h4>DebugClientBase.__interact</h4>
355 <b>__interact</b>(<i></i>) 355 <b>__interact</b>(<i></i>)
356 <p> 356 <p>
357 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#73;&#110;&#116;&#101;&#114;&#97;&#99;&#116; w&#105;&#116;&#104; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114;. 357 Private method to Interact with the debugger.
358 </p><a NAME="DebugClientBase.__resolveHost" ID="DebugClientBase.__resolveHost"></a> 358 </p><a NAME="DebugClientBase.__resolveHost" ID="DebugClientBase.__resolveHost"></a>
359 <h4>DebugClientBase.__resolveHost</h4> 359 <h4>DebugClientBase.__resolveHost</h4>
360 <b>__resolveHost</b>(<i>host</i>) 360 <b>__resolveHost</b>(<i>host</i>)
361 <p> 361 <p>
362 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#111;&#108;v&#101; &#97; &#104;&#111;&#115;&#116;&#110;&#97;&#109;&#101; &#116;&#111; &#97;&#110; &#73;&#80; &#97;&#100;&#100;&#114;&#101;&#115;&#115;. 362 Private method to resolve a hostname to an IP address.
363 </p><dl> 363 </p><dl>
364 <dt><i>host</i></dt> 364 <dt><i>host</i></dt>
365 <dd> 365 <dd>
366 &#104;&#111;&#115;&#116;&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103; &#115;&#101;&#114;v&#101;&#114; (&#115;&#116;&#114;&#105;&#110;&#103;) 366 hostname of the debug server (string)
367 </dd> 367 </dd>
368 </dl><dl> 368 </dl><dl>
369 <dt>Returns:</dt> 369 <dt>Returns:</dt>
370 <dd> 370 <dd>
371 &#73;&#80; &#97;&#100;&#100;&#114;&#101;&#115;&#115; (&#115;&#116;&#114;&#105;&#110;&#103;) 371 IP address (string)
372 </dd> 372 </dd>
373 </dl><a NAME="DebugClientBase.__setCoding" ID="DebugClientBase.__setCoding"></a> 373 </dl><a NAME="DebugClientBase.__setCoding" ID="DebugClientBase.__setCoding"></a>
374 <h4>DebugClientBase.__setCoding</h4> 374 <h4>DebugClientBase.__setCoding</h4>
375 <b>__setCoding</b>(<i>filename</i>) 375 <b>__setCoding</b>(<i>filename</i>)
376 <p> 376 <p>
377 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#99;&#111;&#100;&#105;&#110;&#103; &#117;&#115;&#101;&#100; &#98;y &#97; &#112;y&#116;&#104;&#111;&#110; &#102;&#105;&#108;&#101;. 377 Private method to set the coding used by a python file.
378 </p><dl> 378 </p><dl>
379 <dt><i>filename</i></dt> 379 <dt><i>filename</i></dt>
380 <dd> 380 <dd>
381 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#116;&#111; &#105;&#110;&#115;&#112;&#101;&#99;&#116; (&#115;&#116;&#114;&#105;&#110;&#103;) 381 name of the file to inspect (string)
382 </dd> 382 </dd>
383 </dl><a NAME="DebugClientBase.__unhandled_exception" ID="DebugClientBase.__unhandled_exception"></a> 383 </dl><a NAME="DebugClientBase.__unhandled_exception" ID="DebugClientBase.__unhandled_exception"></a>
384 <h4>DebugClientBase.__unhandled_exception</h4> 384 <h4>DebugClientBase.__unhandled_exception</h4>
385 <b>__unhandled_exception</b>(<i>exctype, excval, exctb</i>) 385 <b>__unhandled_exception</b>(<i>exctype, excval, exctb</i>)
386 <p> 386 <p>
387 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#114;&#101;&#112;&#111;&#114;&#116; &#97;&#110; &#117;&#110;&#99;&#97;&#117;&#103;&#104;&#116; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;. 387 Private method called to report an uncaught exception.
388 </p><dl> 388 </p><dl>
389 <dt><i>exctype</i></dt> 389 <dt><i>exctype</i></dt>
390 <dd> 390 <dd>
391 &#116;&#104;&#101; &#116;y&#112;&#101; &#111;&#102; &#116;&#104;&#101; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; 391 the type of the exception
392 </dd><dt><i>excval</i></dt> 392 </dd><dt><i>excval</i></dt>
393 <dd> 393 <dd>
394 &#100;&#97;&#116;&#97; &#97;&#98;&#111;&#117;&#116; &#116;&#104;&#101; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; 394 data about the exception
395 </dd><dt><i>exctb</i></dt> 395 </dd><dt><i>exctb</i></dt>
396 <dd> 396 <dd>
397 &#116;&#114;&#97;&#99;&#101;&#98;&#97;&#99;&#107; &#102;&#111;&#114; &#116;&#104;&#101; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; 397 traceback for the exception
398 </dd> 398 </dd>
399 </dl><a NAME="DebugClientBase.absPath" ID="DebugClientBase.absPath"></a> 399 </dl><a NAME="DebugClientBase.absPath" ID="DebugClientBase.absPath"></a>
400 <h4>DebugClientBase.absPath</h4> 400 <h4>DebugClientBase.absPath</h4>
401 <b>absPath</b>(<i>fn</i>) 401 <b>absPath</b>(<i>fn</i>)
402 <p> 402 <p>
403 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#97; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#116;&#111; &#97;&#110; &#97;&#98;&#115;&#111;&#108;&#117;&#116;&#101; &#110;&#97;&#109;&#101;. 403 Public method to convert a filename to an absolute name.
404 </p><p> 404 </p><p>
405 &#115;y&#115;.&#112;&#97;&#116;&#104; &#105;&#115; &#117;&#115;&#101;&#100; &#97;&#115; &#97; &#115;&#101;&#116; &#111;&#102; &#112;&#111;&#115;&#115;&#105;&#98;&#108;&#101; &#112;&#114;&#101;&#102;&#105;x&#101;&#115;. &#84;&#104;&#101; &#110;&#97;&#109;&#101; &#115;&#116;&#97;y&#115; 405 sys.path is used as a set of possible prefixes. The name stays
406 &#114;&#101;&#108;&#97;&#116;&#105;v&#101; &#105;&#102; &#97; &#102;&#105;&#108;&#101; &#99;&#111;&#117;&#108;&#100; &#110;&#111;&#116; &#98;&#101; &#102;&#111;&#117;&#110;&#100;. 406 relative if a file could not be found.
407 </p><dl> 407 </p><dl>
408 <dt><i>fn</i></dt> 408 <dt><i>fn</i></dt>
409 <dd> 409 <dd>
410 &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 410 filename (string)
411 </dd> 411 </dd>
412 </dl><dl> 412 </dl><dl>
413 <dt>Returns:</dt> 413 <dt>Returns:</dt>
414 <dd> 414 <dd>
415 &#116;&#104;&#101; &#99;&#111;&#110;v&#101;&#114;&#116;&#101;&#100; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 415 the converted filename (string)
416 </dd> 416 </dd>
417 </dl><a NAME="DebugClientBase.attachThread" ID="DebugClientBase.attachThread"></a> 417 </dl><a NAME="DebugClientBase.attachThread" ID="DebugClientBase.attachThread"></a>
418 <h4>DebugClientBase.attachThread</h4> 418 <h4>DebugClientBase.attachThread</h4>
419 <b>attachThread</b>(<i>target = None, args = None, kwargs = None, mainThread = 0</i>) 419 <b>attachThread</b>(<i>target = None, args = None, kwargs = None, mainThread = 0</i>)
420 <p> 420 <p>
421 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116;&#117;&#112; &#97; &#116;&#104;&#114;&#101;&#97;&#100; &#102;&#111;&#114; &#68;&#101;&#98;&#117;&#103;&#67;&#108;&#105;&#101;&#110;&#116; &#116;&#111; &#100;&#101;&#98;&#117;&#103;. 421 Public method to setup a thread for DebugClient to debug.
422 </p><p> 422 </p><p>
423 &#73;&#102; &#109;&#97;&#105;&#110;&#84;&#104;&#114;&#101;&#97;&#100; &#105;&#115; &#110;&#111;&#110;-z&#101;&#114;&#111;, &#116;&#104;&#101;&#110; w&#101; &#97;&#114;&#101; &#97;&#116;&#116;&#97;&#99;&#104;&#105;&#110;&#103; &#116;&#111; &#116;&#104;&#101; &#97;&#108;&#114;&#101;&#97;&#100;y 423 If mainThread is non-zero, then we are attaching to the already
424 &#115;&#116;&#97;&#114;&#116;&#101;&#100; &#109;&#97;&#105;&#110;&#116;&#104;&#114;&#101;&#97;&#100; &#111;&#102; &#116;&#104;&#101; &#97;&#112;&#112; &#97;&#110;&#100; &#116;&#104;&#101; &#114;&#101;&#115;&#116; &#111;&#102; &#116;&#104;&#101; &#97;&#114;&#103;&#115; &#97;&#114;&#101; &#105;&#103;&#110;&#111;&#114;&#101;&#100;. 424 started mainthread of the app and the rest of the args are ignored.
425 </p><p> 425 </p><p>
426 &#84;&#104;&#105;&#115; &#105;&#115; &#106;&#117;&#115;&#116; &#97;&#110; &#101;&#109;&#112;&#116;y &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#97;&#110;&#100; &#105;&#115; &#111;v&#101;&#114;&#114;&#105;&#100;&#100;&#101;&#110; &#105;&#110; &#116;&#104;&#101; &#116;&#104;&#114;&#101;&#97;&#100;&#101;&#100; 426 This is just an empty function and is overridden in the threaded
427 &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114;. 427 debugger.
428 </p><dl> 428 </p><dl>
429 <dt><i>target</i></dt> 429 <dt><i>target</i></dt>
430 <dd> 430 <dd>
431 &#116;&#104;&#101; &#115;&#116;&#97;&#114;&#116; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#116;&#97;&#114;&#103;&#101;&#116; &#116;&#104;&#114;&#101;&#97;&#100; (&#105;.&#101;. &#116;&#104;&#101; &#117;&#115;&#101;&#114; &#99;&#111;&#100;&#101;) 431 the start function of the target thread (i.e. the user code)
432 </dd><dt><i>args</i></dt> 432 </dd><dt><i>args</i></dt>
433 <dd> 433 <dd>
434 &#97;&#114;&#103;&#117;&#109;&#101;&#110;&#116;&#115; &#116;&#111; &#112;&#97;&#115;&#115; &#116;&#111; &#116;&#97;&#114;&#103;&#101;&#116; 434 arguments to pass to target
435 </dd><dt><i>kwargs</i></dt> 435 </dd><dt><i>kwargs</i></dt>
436 <dd> 436 <dd>
437 &#107;&#101;yw&#111;&#114;&#100; &#97;&#114;&#103;&#117;&#109;&#101;&#110;&#116;&#115; &#116;&#111; &#112;&#97;&#115;&#115; &#116;&#111; &#116;&#97;&#114;&#103;&#101;&#116; 437 keyword arguments to pass to target
438 </dd><dt><i>mainThread</i></dt> 438 </dd><dt><i>mainThread</i></dt>
439 <dd> 439 <dd>
440 &#110;&#111;&#110;-z&#101;&#114;&#111;, &#105;&#102; w&#101; &#97;&#114;&#101; &#97;&#116;&#116;&#97;&#99;&#104;&#105;&#110;&#103; &#116;&#111; &#116;&#104;&#101; &#97;&#108;&#114;&#101;&#97;&#100;y 440 non-zero, if we are attaching to the already
441 &#115;&#116;&#97;&#114;&#116;&#101;&#100; &#109;&#97;&#105;&#110;&#116;&#104;&#114;&#101;&#97;&#100; &#111;&#102; &#116;&#104;&#101; &#97;&#112;&#112; 441 started mainthread of the app
442 </dd> 442 </dd>
443 </dl><dl> 443 </dl><dl>
444 <dt>Returns:</dt> 444 <dt>Returns:</dt>
445 <dd> 445 <dd>
446 &#84;&#104;&#101; &#105;&#100;&#101;&#110;&#116;&#105;&#102;&#105;&#101;&#114; &#111;&#102; &#116;&#104;&#101; &#99;&#114;&#101;&#97;&#116;&#101;&#100; &#116;&#104;&#114;&#101;&#97;&#100; 446 The identifier of the created thread
447 </dd> 447 </dd>
448 </dl><a NAME="DebugClientBase.close" ID="DebugClientBase.close"></a> 448 </dl><a NAME="DebugClientBase.close" ID="DebugClientBase.close"></a>
449 <h4>DebugClientBase.close</h4> 449 <h4>DebugClientBase.close</h4>
450 <b>close</b>(<i>fd</i>) 450 <b>close</b>(<i>fd</i>)
451 <p> 451 <p>
452 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#99;&#108;&#111;&#115;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#97;&#115; &#97; &#114;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116; &#102;&#111;&#114; &#111;&#115;.&#99;&#108;&#111;&#115;&#101;(). 452 Private method implementing a close method as a replacement for os.close().
453 </p><p> 453 </p><p>
454 &#73;&#116; &#112;&#114;&#101;v&#101;&#110;&#116;&#115; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114; &#99;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#115; &#102;&#114;&#111;&#109; &#98;&#101;&#105;&#110;&#103; &#99;&#108;&#111;&#115;&#101;&#100;. 454 It prevents the debugger connections from being closed.
455 </p><dl> 455 </p><dl>
456 <dt><i>fd</i></dt> 456 <dt><i>fd</i></dt>
457 <dd> 457 <dd>
458 &#102;&#105;&#108;&#101; &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#111;&#114; &#116;&#111; &#98;&#101; &#99;&#108;&#111;&#115;&#101;&#100; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 458 file descriptor to be closed (integer)
459 </dd> 459 </dd>
460 </dl><a NAME="DebugClientBase.connectDebugger" ID="DebugClientBase.connectDebugger"></a> 460 </dl><a NAME="DebugClientBase.connectDebugger" ID="DebugClientBase.connectDebugger"></a>
461 <h4>DebugClientBase.connectDebugger</h4> 461 <h4>DebugClientBase.connectDebugger</h4>
462 <b>connectDebugger</b>(<i>port, remoteAddress=None, redirect=1</i>) 462 <b>connectDebugger</b>(<i>port, remoteAddress=None, redirect=1</i>)
463 <p> 463 <p>
464 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;&#115;&#116;&#97;&#98;&#108;&#105;&#115;&#104; &#97; &#115;&#101;&#115;&#115;&#105;&#111;&#110; w&#105;&#116;&#104; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114;. 464 Public method to establish a session with the debugger.
465 </p><p> 465 </p><p>
466 &#73;&#116; &#111;&#112;&#101;&#110;&#115; &#97; &#110;&#101;&#116;w&#111;&#114;&#107; &#99;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114;, &#99;&#111;&#110;&#110;&#101;&#99;&#116;&#115; &#105;&#116; &#116;&#111; &#115;&#116;&#100;&#105;&#110;, 466 It opens a network connection to the debugger, connects it to stdin,
467 &#115;&#116;&#100;&#111;&#117;&#116; &#97;&#110;&#100; &#115;&#116;&#100;&#101;&#114;&#114; &#97;&#110;&#100; &#115;&#97;v&#101;&#115; &#116;&#104;&#101;&#115;&#101; &#102;&#105;&#108;&#101; &#111;&#98;&#106;&#101;&#99;&#116;&#115; &#105;&#110; &#99;&#97;&#115;&#101; &#116;&#104;&#101; &#97;&#112;&#112;&#108;&#105;&#99;&#97;&#116;&#105;&#111;&#110; 467 stdout and stderr and saves these file objects in case the application
468 &#98;&#101;&#105;&#110;&#103; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#100; &#114;&#101;&#100;&#105;&#114;&#101;&#99;&#116;&#115; &#116;&#104;&#101;&#109; &#105;&#116;&#115;&#101;&#108;&#102;. 468 being debugged redirects them itself.
469 </p><dl> 469 </p><dl>
470 <dt><i>port</i></dt> 470 <dt><i>port</i></dt>
471 <dd> 471 <dd>
472 &#116;&#104;&#101; &#112;&#111;&#114;&#116; &#110;&#117;&#109;&#98;&#101;&#114; &#116;&#111; &#99;&#111;&#110;&#110;&#101;&#99;&#116; &#116;&#111; (&#105;&#110;&#116;) 472 the port number to connect to (int)
473 </dd><dt><i>remoteAddress</i></dt> 473 </dd><dt><i>remoteAddress</i></dt>
474 <dd> 474 <dd>
475 &#116;&#104;&#101; &#110;&#101;&#116;w&#111;&#114;&#107; &#97;&#100;&#100;&#114;&#101;&#115;&#115; &#111;&#102; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103; &#115;&#101;&#114;v&#101;&#114; &#104;&#111;&#115;&#116; (&#115;&#116;&#114;&#105;&#110;&#103;) 475 the network address of the debug server host (string)
476 </dd><dt><i>redirect</i></dt> 476 </dd><dt><i>redirect</i></dt>
477 <dd> 477 <dd>
478 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#114;&#101;&#100;&#105;&#114;&#101;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#115;&#116;&#100;&#105;&#110;, &#115;&#116;&#100;&#111;&#117;&#116; &#97;&#110;&#100; &#115;&#116;&#100;&#101;&#114;&#114; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 478 flag indicating redirection of stdin, stdout and stderr (boolean)
479 </dd> 479 </dd>
480 </dl><a NAME="DebugClientBase.eventLoop" ID="DebugClientBase.eventLoop"></a> 480 </dl><a NAME="DebugClientBase.eventLoop" ID="DebugClientBase.eventLoop"></a>
481 <h4>DebugClientBase.eventLoop</h4> 481 <h4>DebugClientBase.eventLoop</h4>
482 <b>eventLoop</b>(<i>disablePolling = False</i>) 482 <b>eventLoop</b>(<i>disablePolling = False</i>)
483 <p> 483 <p>
484 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#111;&#117;&#114; &#101;v&#101;&#110;&#116; &#108;&#111;&#111;&#112;. 484 Public method implementing our event loop.
485 </p><dl> 485 </p><dl>
486 <dt><i>disablePolling</i></dt> 486 <dt><i>disablePolling</i></dt>
487 <dd> 487 <dd>
488 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#111; &#101;&#110;&#116;&#101;&#114; &#97;&#110; &#101;v&#101;&#110;&#116; &#108;&#111;&#111;&#112; w&#105;&#116;&#104; 488 flag indicating to enter an event loop with
489 &#112;&#111;&#108;&#108;&#105;&#110;&#103; &#100;&#105;&#115;&#97;&#98;&#108;&#101;&#100; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 489 polling disabled (boolean)
490 </dd> 490 </dd>
491 </dl><a NAME="DebugClientBase.eventPoll" ID="DebugClientBase.eventPoll"></a> 491 </dl><a NAME="DebugClientBase.eventPoll" ID="DebugClientBase.eventPoll"></a>
492 <h4>DebugClientBase.eventPoll</h4> 492 <h4>DebugClientBase.eventPoll</h4>
493 <b>eventPoll</b>(<i></i>) 493 <b>eventPoll</b>(<i></i>)
494 <p> 494 <p>
495 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#111;&#108;&#108; &#102;&#111;&#114; &#101;v&#101;&#110;&#116;&#115; &#108;&#105;&#107;&#101; '&#115;&#101;&#116; &#98;&#114;&#101;&#97;&#107; &#112;&#111;&#105;&#110;&#116;'. 495 Public method to poll for events like 'set break point'.
496 </p><a NAME="DebugClientBase.fork" ID="DebugClientBase.fork"></a> 496 </p><a NAME="DebugClientBase.fork" ID="DebugClientBase.fork"></a>
497 <h4>DebugClientBase.fork</h4> 497 <h4>DebugClientBase.fork</h4>
498 <b>fork</b>(<i></i>) 498 <b>fork</b>(<i></i>)
499 <p> 499 <p>
500 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#102;&#111;&#114;&#107; &#114;&#111;&#117;&#116;&#105;&#110;&#101; &#100;&#101;&#99;&#105;&#100;&#105;&#110;&#103; w&#104;&#105;&#99;&#104; &#98;&#114;&#97;&#110;&#99;&#104; &#116;&#111; &#102;&#111;&#108;&#108;&#111;w. 500 Public method implementing a fork routine deciding which branch to follow.
501 </p><a NAME="DebugClientBase.getCoding" ID="DebugClientBase.getCoding"></a> 501 </p><a NAME="DebugClientBase.getCoding" ID="DebugClientBase.getCoding"></a>
502 <h4>DebugClientBase.getCoding</h4> 502 <h4>DebugClientBase.getCoding</h4>
503 <b>getCoding</b>(<i></i>) 503 <b>getCoding</b>(<i></i>)
504 <p> 504 <p>
505 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#99;&#111;&#100;&#105;&#110;&#103;. 505 Public method to return the current coding.
506 </p><dl> 506 </p><dl>
507 <dt>Returns:</dt> 507 <dt>Returns:</dt>
508 <dd> 508 <dd>
509 &#99;&#111;&#100;&#101;&#99; &#110;&#97;&#109;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 509 codec name (string)
510 </dd> 510 </dd>
511 </dl><a NAME="DebugClientBase.getRunning" ID="DebugClientBase.getRunning"></a> 511 </dl><a NAME="DebugClientBase.getRunning" ID="DebugClientBase.getRunning"></a>
512 <h4>DebugClientBase.getRunning</h4> 512 <h4>DebugClientBase.getRunning</h4>
513 <b>getRunning</b>(<i></i>) 513 <b>getRunning</b>(<i></i>)
514 <p> 514 <p>
515 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#109;&#97;&#105;&#110; &#115;&#99;&#114;&#105;&#112;&#116; w&#101; &#97;&#114;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116;&#108;y &#114;&#117;&#110;&#110;&#105;&#110;&#103;. 515 Public method to return the main script we are currently running.
516 </p><a NAME="DebugClientBase.handleLine" ID="DebugClientBase.handleLine"></a> 516 </p><a NAME="DebugClientBase.handleLine" ID="DebugClientBase.handleLine"></a>
517 <h4>DebugClientBase.handleLine</h4> 517 <h4>DebugClientBase.handleLine</h4>
518 <b>handleLine</b>(<i>line</i>) 518 <b>handleLine</b>(<i>line</i>)
519 <p> 519 <p>
520 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#99;&#101;&#105;&#112;&#116; &#111;&#102; &#97; &#99;&#111;&#109;&#112;&#108;&#101;&#116;&#101; &#108;&#105;&#110;&#101;. 520 Public method to handle the receipt of a complete line.
521 </p><p> 521 </p><p>
522 &#73;&#116; &#102;&#105;&#114;&#115;&#116; &#108;&#111;&#111;&#107;&#115; &#102;&#111;&#114; &#97; v&#97;&#108;&#105;&#100; &#112;&#114;&#111;&#116;&#111;&#99;&#111;&#108; &#116;&#111;&#107;&#101;&#110; &#97;&#116; &#116;&#104;&#101; &#115;&#116;&#97;&#114;&#116; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#110;&#101;. &#84;&#104;&#101;&#114;&#101;&#97;&#102;&#116;&#101;&#114; 522 It first looks for a valid protocol token at the start of the line. Thereafter
523 &#105;&#116; &#116;&#114;y&#115; &#116;&#111; &#101;x&#101;&#99;&#117;&#116;&#101; &#116;&#104;&#101; &#108;&#105;&#110;&#101;&#115; &#97;&#99;&#99;&#117;&#109;&#117;&#108;&#97;&#116;&#101;&#100; &#115;&#111; &#102;&#97;&#114;. 523 it trys to execute the lines accumulated so far.
524 </p><dl> 524 </p><dl>
525 <dt><i>line</i></dt> 525 <dt><i>line</i></dt>
526 <dd> 526 <dd>
527 &#116;&#104;&#101; &#114;&#101;&#99;&#101;&#105;v&#101;&#100; &#108;&#105;&#110;&#101; 527 the received line
528 </dd> 528 </dd>
529 </dl><a NAME="DebugClientBase.input" ID="DebugClientBase.input"></a> 529 </dl><a NAME="DebugClientBase.input" ID="DebugClientBase.input"></a>
530 <h4>DebugClientBase.input</h4> 530 <h4>DebugClientBase.input</h4>
531 <b>input</b>(<i>prompt</i>) 531 <b>input</b>(<i>prompt</i>)
532 <p> 532 <p>
533 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116; &#105;&#110;&#112;&#117;&#116;() &#117;&#115;&#105;&#110;&#103; &#116;&#104;&#101; &#101;v&#101;&#110;&#116; &#108;&#111;&#111;&#112;. 533 Public method to implement input() using the event loop.
534 </p><dl> 534 </p><dl>
535 <dt><i>prompt</i></dt> 535 <dt><i>prompt</i></dt>
536 <dd> 536 <dd>
537 &#116;&#104;&#101; &#112;&#114;&#111;&#109;&#112;&#116; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110; (&#115;&#116;&#114;&#105;&#110;&#103;) 537 the prompt to be shown (string)
538 </dd> 538 </dd>
539 </dl><dl> 539 </dl><dl>
540 <dt>Returns:</dt> 540 <dt>Returns:</dt>
541 <dd> 541 <dd>
542 &#116;&#104;&#101; &#101;&#110;&#116;&#101;&#114;&#101;&#100; &#115;&#116;&#114;&#105;&#110;&#103; &#101;v&#97;&#108;&#117;&#97;&#116;&#101;&#100; &#97;&#115; &#97; &#80;y&#116;&#104;&#111;&#110; &#101;x&#112;&#114;&#101;&#115;&#105;&#111;&#110; 542 the entered string evaluated as a Python expresion
543 </dd> 543 </dd>
544 </dl><a NAME="DebugClientBase.main" ID="DebugClientBase.main"></a> 544 </dl><a NAME="DebugClientBase.main" ID="DebugClientBase.main"></a>
545 <h4>DebugClientBase.main</h4> 545 <h4>DebugClientBase.main</h4>
546 <b>main</b>(<i></i>) 546 <b>main</b>(<i></i>)
547 <p> 547 <p>
548 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#109;&#97;&#105;&#110; &#109;&#101;&#116;&#104;&#111;&#100;. 548 Public method implementing the main method.
549 </p><a NAME="DebugClientBase.progTerminated" ID="DebugClientBase.progTerminated"></a> 549 </p><a NAME="DebugClientBase.progTerminated" ID="DebugClientBase.progTerminated"></a>
550 <h4>DebugClientBase.progTerminated</h4> 550 <h4>DebugClientBase.progTerminated</h4>
551 <b>progTerminated</b>(<i>status</i>) 551 <b>progTerminated</b>(<i>status</i>)
552 <p> 552 <p>
553 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#116;&#101;&#108;&#108; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114; &#116;&#104;&#97;&#116; &#116;&#104;&#101; &#112;&#114;&#111;&#103;&#114;&#97;&#109; &#104;&#97;&#115; &#116;&#101;&#114;&#109;&#105;&#110;&#97;&#116;&#101;&#100;. 553 Public method to tell the debugger that the program has terminated.
554 </p><dl> 554 </p><dl>
555 <dt><i>status</i></dt> 555 <dt><i>status</i></dt>
556 <dd> 556 <dd>
557 &#116;&#104;&#101; &#114;&#101;&#116;&#117;&#114;&#110; &#115;&#116;&#97;&#116;&#117;&#115; 557 the return status
558 </dd> 558 </dd>
559 </dl><a NAME="DebugClientBase.raw_input" ID="DebugClientBase.raw_input"></a> 559 </dl><a NAME="DebugClientBase.raw_input" ID="DebugClientBase.raw_input"></a>
560 <h4>DebugClientBase.raw_input</h4> 560 <h4>DebugClientBase.raw_input</h4>
561 <b>raw_input</b>(<i>prompt, echo</i>) 561 <b>raw_input</b>(<i>prompt, echo</i>)
562 <p> 562 <p>
563 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116; &#114;&#97;w&#95;&#105;&#110;&#112;&#117;&#116;() &#117;&#115;&#105;&#110;&#103; &#116;&#104;&#101; &#101;v&#101;&#110;&#116; &#108;&#111;&#111;&#112;. 563 Public method to implement raw_input() using the event loop.
564 </p><dl> 564 </p><dl>
565 <dt><i>prompt</i></dt> 565 <dt><i>prompt</i></dt>
566 <dd> 566 <dd>
567 &#116;&#104;&#101; &#112;&#114;&#111;&#109;&#112;&#116; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110; (&#115;&#116;&#114;&#105;&#110;&#103;) 567 the prompt to be shown (string)
568 </dd><dt><i>echo</i></dt> 568 </dd><dt><i>echo</i></dt>
569 <dd> 569 <dd>
570 &#70;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#101;&#99;&#104;&#111;&#105;&#110;&#103; &#111;&#102; &#116;&#104;&#101; &#105;&#110;&#112;&#117;&#116; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 570 Flag indicating echoing of the input (boolean)
571 </dd> 571 </dd>
572 </dl><dl> 572 </dl><dl>
573 <dt>Returns:</dt> 573 <dt>Returns:</dt>
574 <dd> 574 <dd>
575 &#116;&#104;&#101; &#101;&#110;&#116;&#101;&#114;&#101;&#100; &#115;&#116;&#114;&#105;&#110;&#103; 575 the entered string
576 </dd> 576 </dd>
577 </dl><a NAME="DebugClientBase.run_call" ID="DebugClientBase.run_call"></a> 577 </dl><a NAME="DebugClientBase.run_call" ID="DebugClientBase.run_call"></a>
578 <h4>DebugClientBase.run_call</h4> 578 <h4>DebugClientBase.run_call</h4>
579 <b>run_call</b>(<i>scriptname, func, *args</i>) 579 <b>run_call</b>(<i>scriptname, func, *args</i>)
580 <p> 580 <p>
581 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#114;&#101;&#109;&#111;&#116;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114; &#97;&#110;&#100; &#99;&#97;&#108;&#108; &#97; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;. 581 Public method used to start the remote debugger and call a function.
582 </p><dl> 582 </p><dl>
583 <dt><i>scriptname</i></dt> 583 <dt><i>scriptname</i></dt>
584 <dd> 584 <dd>
585 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#115;&#99;&#114;&#105;&#112;&#116; &#116;&#111; &#98;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;) 585 name of the script to be debugged (string)
586 </dd><dt><i>func</i></dt> 586 </dd><dt><i>func</i></dt>
587 <dd> 587 <dd>
588 &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#98;&#101; &#99;&#97;&#108;&#108;&#101;&#100; 588 function to be called
589 </dd><dt><i>*args</i></dt> 589 </dd><dt><i>*args</i></dt>
590 <dd> 590 <dd>
591 &#97;&#114;&#103;&#117;&#109;&#101;&#110;&#116;&#115; &#98;&#101;&#105;&#110;&#103; &#112;&#97;&#115;&#115;&#101;&#100; &#116;&#111; &#102;&#117;&#110;&#99; 591 arguments being passed to func
592 </dd> 592 </dd>
593 </dl><dl> 593 </dl><dl>
594 <dt>Returns:</dt> 594 <dt>Returns:</dt>
595 <dd> 595 <dd>
596 &#114;&#101;&#115;&#117;&#108;&#116; &#111;&#102; &#116;&#104;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#99;&#97;&#108;&#108; 596 result of the function call
597 </dd> 597 </dd>
598 </dl><a NAME="DebugClientBase.sessionClose" ID="DebugClientBase.sessionClose"></a> 598 </dl><a NAME="DebugClientBase.sessionClose" ID="DebugClientBase.sessionClose"></a>
599 <h4>DebugClientBase.sessionClose</h4> 599 <h4>DebugClientBase.sessionClose</h4>
600 <b>sessionClose</b>(<i>exit = 1</i>) 600 <b>sessionClose</b>(<i>exit = 1</i>)
601 <p> 601 <p>
602 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#116;&#104;&#101; &#115;&#101;&#115;&#115;&#105;&#111;&#110; w&#105;&#116;&#104; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114; &#97;&#110;&#100; &#111;&#112;&#116;&#105;&#111;&#110;&#97;&#108;&#108;y &#116;&#101;&#114;&#109;&#105;&#110;&#97;&#116;&#101;. 602 Public method to close the session with the debugger and optionally terminate.
603 </p><dl> 603 </p><dl>
604 <dt><i>exit</i></dt> 604 <dt><i>exit</i></dt>
605 <dd> 605 <dd>
606 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#111; &#116;&#101;&#114;&#109;&#105;&#110;&#97;&#116;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 606 flag indicating to terminate (boolean)
607 </dd> 607 </dd>
608 </dl><a NAME="DebugClientBase.shouldSkip" ID="DebugClientBase.shouldSkip"></a> 608 </dl><a NAME="DebugClientBase.shouldSkip" ID="DebugClientBase.shouldSkip"></a>
609 <h4>DebugClientBase.shouldSkip</h4> 609 <h4>DebugClientBase.shouldSkip</h4>
610 <b>shouldSkip</b>(<i>fn</i>) 610 <b>shouldSkip</b>(<i>fn</i>)
611 <p> 611 <p>
612 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#105;&#102; &#97; &#102;&#105;&#108;&#101; &#115;&#104;&#111;&#117;&#108;&#100; &#98;&#101; &#115;&#107;&#105;&#112;&#112;&#101;&#100;. 612 Public method to check if a file should be skipped.
613 </p><dl> 613 </p><dl>
614 <dt><i>fn</i></dt> 614 <dt><i>fn</i></dt>
615 <dd> 615 <dd>
616 &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#116;&#111; &#98;&#101; &#99;&#104;&#101;&#99;&#107;&#101;&#100; 616 filename to be checked
617 </dd> 617 </dd>
618 </dl><dl> 618 </dl><dl>
619 <dt>Returns:</dt> 619 <dt>Returns:</dt>
620 <dd> 620 <dd>
621 &#110;&#111;&#110;-z&#101;&#114;&#111; &#105;&#102; &#102;&#110; &#114;&#101;&#112;&#114;&#101;&#115;&#101;&#110;&#116;&#115; &#97; &#102;&#105;&#108;&#101; w&#101; &#97;&#114;&#101; '&#115;&#107;&#105;&#112;&#112;&#105;&#110;&#103;', z&#101;&#114;&#111; &#111;&#116;&#104;&#101;&#114;w&#105;&#115;&#101;. 621 non-zero if fn represents a file we are 'skipping', zero otherwise.
622 </dd> 622 </dd>
623 </dl><a NAME="DebugClientBase.startDebugger" ID="DebugClientBase.startDebugger"></a> 623 </dl><a NAME="DebugClientBase.startDebugger" ID="DebugClientBase.startDebugger"></a>
624 <h4>DebugClientBase.startDebugger</h4> 624 <h4>DebugClientBase.startDebugger</h4>
625 <b>startDebugger</b>(<i>filename = None, host = None, port = None, enableTrace = 1, exceptions = 1, tracePython = 0, redirect = 1</i>) 625 <b>startDebugger</b>(<i>filename = None, host = None, port = None, enableTrace = 1, exceptions = 1, tracePython = 0, redirect = 1</i>)
626 <p> 626 <p>
627 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#114;&#101;&#109;&#111;&#116;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114;. 627 Public method used to start the remote debugger.
628 </p><dl> 628 </p><dl>
629 <dt><i>filename</i></dt> 629 <dt><i>filename</i></dt>
630 <dd> 630 <dd>
631 &#116;&#104;&#101; &#112;&#114;&#111;&#103;&#114;&#97;&#109; &#116;&#111; &#98;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;) 631 the program to be debugged (string)
632 </dd><dt><i>host</i></dt> 632 </dd><dt><i>host</i></dt>
633 <dd> 633 <dd>
634 &#104;&#111;&#115;&#116;&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103; &#115;&#101;&#114;v&#101;&#114; (&#115;&#116;&#114;&#105;&#110;&#103;) 634 hostname of the debug server (string)
635 </dd><dt><i>port</i></dt> 635 </dd><dt><i>port</i></dt>
636 <dd> 636 <dd>
637 &#112;&#111;&#114;&#116;&#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103; &#115;&#101;&#114;v&#101;&#114; (&#105;&#110;&#116;) 637 portnumber of the debug server (int)
638 </dd><dt><i>enableTrace</i></dt> 638 </dd><dt><i>enableTrace</i></dt>
639 <dd> 639 <dd>
640 &#102;&#108;&#97;&#103; &#116;&#111; &#101;&#110;&#97;&#98;&#108;&#101; &#116;&#104;&#101; &#116;&#114;&#97;&#99;&#105;&#110;&#103; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 640 flag to enable the tracing function (boolean)
641 </dd><dt><i>exceptions</i></dt> 641 </dd><dt><i>exceptions</i></dt>
642 <dd> 642 <dd>
643 &#102;&#108;&#97;&#103; &#116;&#111; &#101;&#110;&#97;&#98;&#108;&#101; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#114;&#101;&#112;&#111;&#114;&#116;&#105;&#110;&#103; &#111;&#102; &#116;&#104;&#101; &#73;&#68;&#69; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 643 flag to enable exception reporting of the IDE (boolean)
644 </dd><dt><i>tracePython</i></dt> 644 </dd><dt><i>tracePython</i></dt>
645 <dd> 645 <dd>
646 &#102;&#108;&#97;&#103; &#116;&#111; &#101;&#110;&#97;&#98;&#108;&#101; &#116;&#114;&#97;&#99;&#105;&#110;&#103; &#105;&#110;&#116;&#111; &#116;&#104;&#101; &#80;y&#116;&#104;&#111;&#110; &#108;&#105;&#98;&#114;&#97;&#114;y (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 646 flag to enable tracing into the Python library (boolean)
647 </dd><dt><i>redirect</i></dt> 647 </dd><dt><i>redirect</i></dt>
648 <dd> 648 <dd>
649 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#114;&#101;&#100;&#105;&#114;&#101;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#115;&#116;&#100;&#105;&#110;, &#115;&#116;&#100;&#111;&#117;&#116; &#97;&#110;&#100; &#115;&#116;&#100;&#101;&#114;&#114; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 649 flag indicating redirection of stdin, stdout and stderr (boolean)
650 </dd> 650 </dd>
651 </dl><a NAME="DebugClientBase.startProgInDebugger" ID="DebugClientBase.startProgInDebugger"></a> 651 </dl><a NAME="DebugClientBase.startProgInDebugger" ID="DebugClientBase.startProgInDebugger"></a>
652 <h4>DebugClientBase.startProgInDebugger</h4> 652 <h4>DebugClientBase.startProgInDebugger</h4>
653 <b>startProgInDebugger</b>(<i>progargs, wd = '', host = None, port = None, exceptions = 1, tracePython = 0, redirect = 1</i>) 653 <b>startProgInDebugger</b>(<i>progargs, wd = '', host = None, port = None, exceptions = 1, tracePython = 0, redirect = 1</i>)
654 <p> 654 <p>
655 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#114;&#101;&#109;&#111;&#116;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114;. 655 Public method used to start the remote debugger.
656 </p><dl> 656 </p><dl>
657 <dt><i>progargs</i></dt> 657 <dt><i>progargs</i></dt>
658 <dd> 658 <dd>
659 &#99;&#111;&#109;&#109;&#97;&#110;&#100;&#108;&#105;&#110;&#101; &#102;&#111;&#114; &#116;&#104;&#101; &#112;&#114;&#111;&#103;&#114;&#97;&#109; &#116;&#111; &#98;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#100; 659 commandline for the program to be debugged
660 (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 660 (list of strings)
661 </dd><dt><i>wd</i></dt> 661 </dd><dt><i>wd</i></dt>
662 <dd> 662 <dd>
663 w&#111;&#114;&#107;&#105;&#110;&#103; &#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y &#102;&#111;&#114; &#116;&#104;&#101; &#112;&#114;&#111;&#103;&#114;&#97;&#109; &#101;x&#101;&#99;&#117;&#116;&#105;&#111;&#110; (&#115;&#116;&#114;&#105;&#110;&#103;) 663 working directory for the program execution (string)
664 </dd><dt><i>host</i></dt> 664 </dd><dt><i>host</i></dt>
665 <dd> 665 <dd>
666 &#104;&#111;&#115;&#116;&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103; &#115;&#101;&#114;v&#101;&#114; (&#115;&#116;&#114;&#105;&#110;&#103;) 666 hostname of the debug server (string)
667 </dd><dt><i>port</i></dt> 667 </dd><dt><i>port</i></dt>
668 <dd> 668 <dd>
669 &#112;&#111;&#114;&#116;&#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103; &#115;&#101;&#114;v&#101;&#114; (&#105;&#110;&#116;) 669 portnumber of the debug server (int)
670 </dd><dt><i>exceptions</i></dt> 670 </dd><dt><i>exceptions</i></dt>
671 <dd> 671 <dd>
672 &#102;&#108;&#97;&#103; &#116;&#111; &#101;&#110;&#97;&#98;&#108;&#101; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#114;&#101;&#112;&#111;&#114;&#116;&#105;&#110;&#103; &#111;&#102; &#116;&#104;&#101; &#73;&#68;&#69; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 672 flag to enable exception reporting of the IDE (boolean)
673 </dd><dt><i>tracePython</i></dt> 673 </dd><dt><i>tracePython</i></dt>
674 <dd> 674 <dd>
675 &#102;&#108;&#97;&#103; &#116;&#111; &#101;&#110;&#97;&#98;&#108;&#101; &#116;&#114;&#97;&#99;&#105;&#110;&#103; &#105;&#110;&#116;&#111; &#116;&#104;&#101; &#80;y&#116;&#104;&#111;&#110; &#108;&#105;&#98;&#114;&#97;&#114;y (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 675 flag to enable tracing into the Python library (boolean)
676 </dd><dt><i>redirect</i></dt> 676 </dd><dt><i>redirect</i></dt>
677 <dd> 677 <dd>
678 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#114;&#101;&#100;&#105;&#114;&#101;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#115;&#116;&#100;&#105;&#110;, &#115;&#116;&#100;&#111;&#117;&#116; &#97;&#110;&#100; &#115;&#116;&#100;&#101;&#114;&#114; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 678 flag indicating redirection of stdin, stdout and stderr (boolean)
679 </dd> 679 </dd>
680 </dl><a NAME="DebugClientBase.write" ID="DebugClientBase.write"></a> 680 </dl><a NAME="DebugClientBase.write" ID="DebugClientBase.write"></a>
681 <h4>DebugClientBase.write</h4> 681 <h4>DebugClientBase.write</h4>
682 <b>write</b>(<i>s</i>) 682 <b>write</b>(<i>s</i>)
683 <p> 683 <p>
684 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; w&#114;&#105;&#116;&#101; &#100;&#97;&#116;&#97; &#116;&#111; &#116;&#104;&#101; &#111;&#117;&#116;&#112;&#117;&#116; &#115;&#116;&#114;&#101;&#97;&#109;. 684 Public method to write data to the output stream.
685 </p><dl> 685 </p><dl>
686 <dt><i>s</i></dt> 686 <dt><i>s</i></dt>
687 <dd> 687 <dd>
688 &#100;&#97;&#116;&#97; &#116;&#111; &#98;&#101; w&#114;&#105;&#116;&#116;&#101;&#110; (&#115;&#116;&#114;&#105;&#110;&#103;) 688 data to be written (string)
689 </dd> 689 </dd>
690 </dl> 690 </dl>
691 <div align="right"><a href="#top">Up</a></div> 691 <div align="right"><a href="#top">Up</a></div>
692 <hr /><hr /> 692 <hr /><hr />
693 <a NAME="DebugClientClose" ID="DebugClientClose"></a> 693 <a NAME="DebugClientClose" ID="DebugClientClose"></a>
694 <h2>DebugClientClose</h2> 694 <h2>DebugClientClose</h2>
695 <b>DebugClientClose</b>(<i>fd</i>) 695 <b>DebugClientClose</b>(<i>fd</i>)
696 <p> 696 <p>
697 &#82;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#111;&#115;.&#99;&#108;&#111;&#115;&#101;(&#102;&#100;). 697 Replacement for the standard os.close(fd).
698 </p><dl> 698 </p><dl>
699 <dt><i>fd</i></dt> 699 <dt><i>fd</i></dt>
700 <dd> 700 <dd>
701 &#111;&#112;&#101;&#110; &#102;&#105;&#108;&#101; &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#111;&#114; &#116;&#111; &#98;&#101; &#99;&#108;&#111;&#115;&#101;&#100; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 701 open file descriptor to be closed (integer)
702 </dd> 702 </dd>
703 </dl> 703 </dl>
704 <div align="right"><a href="#top">Up</a></div> 704 <div align="right"><a href="#top">Up</a></div>
705 <hr /><hr /> 705 <hr /><hr />
706 <a NAME="DebugClientFork" ID="DebugClientFork"></a> 706 <a NAME="DebugClientFork" ID="DebugClientFork"></a>
707 <h2>DebugClientFork</h2> 707 <h2>DebugClientFork</h2>
708 <b>DebugClientFork</b>(<i></i>) 708 <b>DebugClientFork</b>(<i></i>)
709 <p> 709 <p>
710 &#82;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#111;&#115;.&#102;&#111;&#114;&#107;(). 710 Replacement for the standard os.fork().
711 </p> 711 </p>
712 <div align="right"><a href="#top">Up</a></div> 712 <div align="right"><a href="#top">Up</a></div>
713 <hr /><hr /> 713 <hr /><hr />
714 <a NAME="DebugClientInput" ID="DebugClientInput"></a> 714 <a NAME="DebugClientInput" ID="DebugClientInput"></a>
715 <h2>DebugClientInput</h2> 715 <h2>DebugClientInput</h2>
716 <b>DebugClientInput</b>(<i>prompt=""</i>) 716 <b>DebugClientInput</b>(<i>prompt=""</i>)
717 <p> 717 <p>
718 &#82;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#105;&#110;&#112;&#117;&#116; &#98;&#117;&#105;&#108;&#116;&#105;&#110;. 718 Replacement for the standard input builtin.
719 </p><p> 719 </p><p>
720 &#84;&#104;&#105;&#115; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; w&#111;&#114;&#107;&#115; w&#105;&#116;&#104; &#116;&#104;&#101; &#115;&#112;&#108;&#105;&#116; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114;. 720 This function works with the split debugger.
721 </p><dl> 721 </p><dl>
722 <dt><i>prompt</i></dt> 722 <dt><i>prompt</i></dt>
723 <dd> 723 <dd>
724 &#84;&#104;&#101; &#112;&#114;&#111;&#109;&#112;&#116; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110;. (&#115;&#116;&#114;&#105;&#110;&#103;) 724 The prompt to be shown. (string)
725 </dd> 725 </dd>
726 </dl> 726 </dl>
727 <div align="right"><a href="#top">Up</a></div> 727 <div align="right"><a href="#top">Up</a></div>
728 <hr /><hr /> 728 <hr /><hr />
729 <a NAME="DebugClientRawInput" ID="DebugClientRawInput"></a> 729 <a NAME="DebugClientRawInput" ID="DebugClientRawInput"></a>
730 <h2>DebugClientRawInput</h2> 730 <h2>DebugClientRawInput</h2>
731 <b>DebugClientRawInput</b>(<i>prompt="", echo=1</i>) 731 <b>DebugClientRawInput</b>(<i>prompt="", echo=1</i>)
732 <p> 732 <p>
733 &#82;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#114;&#97;w&#95;&#105;&#110;&#112;&#117;&#116; &#98;&#117;&#105;&#108;&#116;&#105;&#110;. 733 Replacement for the standard raw_input builtin.
734 </p><p> 734 </p><p>
735 &#84;&#104;&#105;&#115; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; w&#111;&#114;&#107;&#115; w&#105;&#116;&#104; &#116;&#104;&#101; &#115;&#112;&#108;&#105;&#116; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114;. 735 This function works with the split debugger.
736 </p><dl> 736 </p><dl>
737 <dt><i>prompt</i></dt> 737 <dt><i>prompt</i></dt>
738 <dd> 738 <dd>
739 &#84;&#104;&#101; &#112;&#114;&#111;&#109;&#112;&#116; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110;. (&#115;&#116;&#114;&#105;&#110;&#103;) 739 The prompt to be shown. (string)
740 </dd><dt><i>echo</i></dt> 740 </dd><dt><i>echo</i></dt>
741 <dd> 741 <dd>
742 &#70;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#101;&#99;&#104;&#111;&#105;&#110;&#103; &#111;&#102; &#116;&#104;&#101; &#105;&#110;&#112;&#117;&#116; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 742 Flag indicating echoing of the input (boolean)
743 </dd> 743 </dd>
744 </dl> 744 </dl>
745 <div align="right"><a href="#top">Up</a></div> 745 <div align="right"><a href="#top">Up</a></div>
746 <hr /><hr /> 746 <hr /><hr />
747 <a NAME="DebugClientSetRecursionLimit" ID="DebugClientSetRecursionLimit"></a> 747 <a NAME="DebugClientSetRecursionLimit" ID="DebugClientSetRecursionLimit"></a>
748 <h2>DebugClientSetRecursionLimit</h2> 748 <h2>DebugClientSetRecursionLimit</h2>
749 <b>DebugClientSetRecursionLimit</b>(<i>limit</i>) 749 <b>DebugClientSetRecursionLimit</b>(<i>limit</i>)
750 <p> 750 <p>
751 &#82;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#115;y&#115;.&#115;&#101;&#116;&#114;&#101;&#99;&#117;&#114;&#115;&#105;&#111;&#110;&#108;&#105;&#109;&#105;&#116;(&#108;&#105;&#109;&#105;&#116;). 751 Replacement for the standard sys.setrecursionlimit(limit).
752 </p><dl> 752 </p><dl>
753 <dt><i>limit</i></dt> 753 <dt><i>limit</i></dt>
754 <dd> 754 <dd>
755 &#114;&#101;&#99;&#117;&#114;&#115;&#105;&#111;&#110; &#108;&#105;&#109;&#105;&#116; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 755 recursion limit (integer)
756 </dd> 756 </dd>
757 </dl> 757 </dl>
758 <div align="right"><a href="#top">Up</a></div> 758 <div align="right"><a href="#top">Up</a></div>
759 <hr /> 759 <hr />
760 </body></html> 760 </body></html>

eric ide

mercurial