51 <td><a href="#DebugClientFork">DebugClientFork</a></td> |
51 <td><a href="#DebugClientFork">DebugClientFork</a></td> |
52 <td>Replacement for the standard os.fork().</td> |
52 <td>Replacement for the standard os.fork().</td> |
53 </tr> |
53 </tr> |
54 <tr> |
54 <tr> |
55 <td><a href="#DebugClientInput">DebugClientInput</a></td> |
55 <td><a href="#DebugClientInput">DebugClientInput</a></td> |
56 <td>Replacement for the standard input() builtin (Python 2).</td> |
56 <td>Replacement for the standard input() builtin.</td> |
57 </tr> |
|
58 <tr> |
|
59 <td><a href="#DebugClientRawInput">DebugClientRawInput</a></td> |
|
60 <td>Replacement for the standard raw_input() builtin (Python 2) and the standard input() builtin (Python 3).</td> |
|
61 </tr> |
57 </tr> |
62 <tr> |
58 <tr> |
63 <td><a href="#DebugClientSetRecursionLimit">DebugClientSetRecursionLimit</a></td> |
59 <td><a href="#DebugClientSetRecursionLimit">DebugClientSetRecursionLimit</a></td> |
64 <td>Replacement for the standard sys.setrecursionlimit(limit).</td> |
60 <td>Replacement for the standard sys.setrecursionlimit(limit).</td> |
65 </tr> |
61 </tr> |
218 <td><a href="#DebugClientBase.handleJsonCommand">handleJsonCommand</a></td> |
214 <td><a href="#DebugClientBase.handleJsonCommand">handleJsonCommand</a></td> |
219 <td>Public method to handle a command serialized as a JSON string.</td> |
215 <td>Public method to handle a command serialized as a JSON string.</td> |
220 </tr> |
216 </tr> |
221 <tr> |
217 <tr> |
222 <td><a href="#DebugClientBase.input">input</a></td> |
218 <td><a href="#DebugClientBase.input">input</a></td> |
223 <td>Public method to implement input() (Python 2) using the event loop.</td> |
219 <td>Public method to implement input() using the event loop.</td> |
224 </tr> |
220 </tr> |
225 <tr> |
221 <tr> |
226 <td><a href="#DebugClientBase.main">main</a></td> |
222 <td><a href="#DebugClientBase.main">main</a></td> |
227 <td>Public method implementing the main method.</td> |
223 <td>Public method implementing the main method.</td> |
228 </tr> |
224 </tr> |
229 <tr> |
225 <tr> |
230 <td><a href="#DebugClientBase.progTerminated">progTerminated</a></td> |
226 <td><a href="#DebugClientBase.progTerminated">progTerminated</a></td> |
231 <td>Public method to tell the debugger that the program has terminated.</td> |
227 <td>Public method to tell the debugger that the program has terminated.</td> |
232 </tr> |
|
233 <tr> |
|
234 <td><a href="#DebugClientBase.raw_input">raw_input</a></td> |
|
235 <td>Public method to implement raw_input() / input() using the event loop.</td> |
|
236 </tr> |
228 </tr> |
237 <tr> |
229 <tr> |
238 <td><a href="#DebugClientBase.readReady">readReady</a></td> |
230 <td><a href="#DebugClientBase.readReady">readReady</a></td> |
239 <td>Public method called when there is data ready to be read.</td> |
231 <td>Public method called when there is data ready to be read.</td> |
240 </tr> |
232 </tr> |
833 string containing the command received from the IDE |
825 string containing the command received from the IDE |
834 </dd> |
826 </dd> |
835 </dl> |
827 </dl> |
836 <a NAME="DebugClientBase.input" ID="DebugClientBase.input"></a> |
828 <a NAME="DebugClientBase.input" ID="DebugClientBase.input"></a> |
837 <h4>DebugClientBase.input</h4> |
829 <h4>DebugClientBase.input</h4> |
838 <b>input</b>(<i>prompt</i>) |
830 <b>input</b>(<i>prompt, echo=True</i>) |
839 |
831 |
840 <p> |
832 <p> |
841 Public method to implement input() (Python 2) using the event loop. |
833 Public method to implement input() using the event loop. |
842 </p> |
834 </p> |
843 <dl> |
835 <dl> |
844 |
836 |
845 <dt><i>prompt</i></dt> |
837 <dt><i>prompt</i></dt> |
846 <dd> |
838 <dd> |
847 the prompt to be shown (string) |
839 the prompt to be shown (string) |
848 </dd> |
840 </dd> |
849 </dl> |
841 <dt><i>echo</i></dt> |
850 <dl> |
842 <dd> |
851 <dt>Returns:</dt> |
843 Flag indicating echoing of the input (boolean) |
852 <dd> |
844 </dd> |
853 the entered string evaluated as a Python expresion |
845 </dl> |
|
846 <dl> |
|
847 <dt>Returns:</dt> |
|
848 <dd> |
|
849 the entered string |
854 </dd> |
850 </dd> |
855 </dl> |
851 </dl> |
856 <a NAME="DebugClientBase.main" ID="DebugClientBase.main"></a> |
852 <a NAME="DebugClientBase.main" ID="DebugClientBase.main"></a> |
857 <h4>DebugClientBase.main</h4> |
853 <h4>DebugClientBase.main</h4> |
858 <b>main</b>(<i></i>) |
854 <b>main</b>(<i></i>) |
874 return status |
870 return status |
875 </dd> |
871 </dd> |
876 <dt><i>message</i> (str)</dt> |
872 <dt><i>message</i> (str)</dt> |
877 <dd> |
873 <dd> |
878 status message |
874 status message |
879 </dd> |
|
880 </dl> |
|
881 <a NAME="DebugClientBase.raw_input" ID="DebugClientBase.raw_input"></a> |
|
882 <h4>DebugClientBase.raw_input</h4> |
|
883 <b>raw_input</b>(<i>prompt, echo</i>) |
|
884 |
|
885 <p> |
|
886 Public method to implement raw_input() / input() using the event loop. |
|
887 </p> |
|
888 <dl> |
|
889 |
|
890 <dt><i>prompt</i></dt> |
|
891 <dd> |
|
892 the prompt to be shown (string) |
|
893 </dd> |
|
894 <dt><i>echo</i></dt> |
|
895 <dd> |
|
896 Flag indicating echoing of the input (boolean) |
|
897 </dd> |
|
898 </dl> |
|
899 <dl> |
|
900 <dt>Returns:</dt> |
|
901 <dd> |
|
902 the entered string |
|
903 </dd> |
875 </dd> |
904 </dl> |
876 </dl> |
905 <a NAME="DebugClientBase.readReady" ID="DebugClientBase.readReady"></a> |
877 <a NAME="DebugClientBase.readReady" ID="DebugClientBase.readReady"></a> |
906 <h4>DebugClientBase.readReady</h4> |
878 <h4>DebugClientBase.readReady</h4> |
907 <b>readReady</b>(<i>stream</i>) |
879 <b>readReady</b>(<i>stream</i>) |
1262 <a NAME="DebugClientInput" ID="DebugClientInput"></a> |
1234 <a NAME="DebugClientInput" ID="DebugClientInput"></a> |
1263 <h2>DebugClientInput</h2> |
1235 <h2>DebugClientInput</h2> |
1264 <b>DebugClientInput</b>(<i>prompt=""</i>) |
1236 <b>DebugClientInput</b>(<i>prompt=""</i>) |
1265 |
1237 |
1266 <p> |
1238 <p> |
1267 Replacement for the standard input() builtin (Python 2). |
1239 Replacement for the standard input() builtin. |
1268 </p> |
1240 </p> |
1269 <p> |
1241 <p> |
1270 This function works with the split debugger. |
1242 This function works with the split debugger. |
1271 </p> |
1243 </p> |
1272 <dl> |
1244 <dl> |
1278 </dl> |
1250 </dl> |
1279 <dl> |
1251 <dl> |
1280 <dt>Returns:</dt> |
1252 <dt>Returns:</dt> |
1281 <dd> |
1253 <dd> |
1282 result of the input() call |
1254 result of the input() call |
1283 </dd> |
|
1284 </dl> |
|
1285 <dl> |
|
1286 <dt>Return Type:</dt> |
|
1287 <dd> |
|
1288 str |
|
1289 </dd> |
|
1290 </dl> |
|
1291 <div align="right"><a href="#top">Up</a></div> |
|
1292 <hr /> |
|
1293 <hr /> |
|
1294 <a NAME="DebugClientRawInput" ID="DebugClientRawInput"></a> |
|
1295 <h2>DebugClientRawInput</h2> |
|
1296 <b>DebugClientRawInput</b>(<i>prompt="", echo=True</i>) |
|
1297 |
|
1298 <p> |
|
1299 Replacement for the standard raw_input() builtin (Python 2) and |
|
1300 the standard input() builtin (Python 3). |
|
1301 </p> |
|
1302 <p> |
|
1303 This function works with the split debugger. |
|
1304 </p> |
|
1305 <dl> |
|
1306 |
|
1307 <dt><i>prompt</i> (str)</dt> |
|
1308 <dd> |
|
1309 prompt to be shown |
|
1310 </dd> |
|
1311 <dt><i>echo</i> (bool)</dt> |
|
1312 <dd> |
|
1313 flag indicating echoing of the input |
|
1314 </dd> |
|
1315 </dl> |
|
1316 <dl> |
|
1317 <dt>Returns:</dt> |
|
1318 <dd> |
|
1319 result of the raw_input()/input() call |
|
1320 </dd> |
1255 </dd> |
1321 </dl> |
1256 </dl> |
1322 <dl> |
1257 <dl> |
1323 <dt>Return Type:</dt> |
1258 <dt>Return Type:</dt> |
1324 <dd> |
1259 <dd> |