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

changeset 2966
f85f686981ad
parent 2387
2d119e79ab54
child 3018
70924c0bdaf1
equal deleted inserted replaced
2965:d133c7edd88a 2966:f85f686981ad
120 </tr><tr> 120 </tr><tr>
121 <td><a href="#DebugClientBase.__dumpVariables">__dumpVariables</a></td> 121 <td><a href="#DebugClientBase.__dumpVariables">__dumpVariables</a></td>
122 <td>Private method to return the variables of a frame to the debug server.</td> 122 <td>Private method to return the variables of a frame to the debug server.</td>
123 </tr><tr> 123 </tr><tr>
124 <td><a href="#DebugClientBase.__exceptionRaised">__exceptionRaised</a></td> 124 <td><a href="#DebugClientBase.__exceptionRaised">__exceptionRaised</a></td>
125 <td>Private method called in the case of an exception</td> 125 <td>Private method called in the case of an exception.</td>
126 </tr><tr> 126 </tr><tr>
127 <td><a href="#DebugClientBase.__formatQt4Variable">__formatQt4Variable</a></td> 127 <td><a href="#DebugClientBase.__formatQt4Variable">__formatQt4Variable</a></td>
128 <td>Private method to produce a formated output of a simple Qt4/Qt5 type.</td> 128 <td>Private method to produce a formated output of a simple Qt4/Qt5 type.</td>
129 </tr><tr> 129 </tr><tr>
130 <td><a href="#DebugClientBase.__formatVariablesList">__formatVariablesList</a></td> 130 <td><a href="#DebugClientBase.__formatVariablesList">__formatVariablesList</a></td>
280 </dd> 280 </dd>
281 </dl><a NAME="DebugClientBase.__exceptionRaised" ID="DebugClientBase.__exceptionRaised"></a> 281 </dl><a NAME="DebugClientBase.__exceptionRaised" ID="DebugClientBase.__exceptionRaised"></a>
282 <h4>DebugClientBase.__exceptionRaised</h4> 282 <h4>DebugClientBase.__exceptionRaised</h4>
283 <b>__exceptionRaised</b>(<i></i>) 283 <b>__exceptionRaised</b>(<i></i>)
284 <p> 284 <p>
285 Private method called in the case of an exception 285 Private method called in the case of an exception.
286 </p><p> 286 </p><p>
287 It ensures that the debug server is informed of the raised exception. 287 It ensures that the debug server is informed of the raised exception.
288 </p><a NAME="DebugClientBase.__formatQt4Variable" ID="DebugClientBase.__formatQt4Variable"></a> 288 </p><a NAME="DebugClientBase.__formatQt4Variable" ID="DebugClientBase.__formatQt4Variable"></a>
289 <h4>DebugClientBase.__formatQt4Variable</h4> 289 <h4>DebugClientBase.__formatQt4Variable</h4>
290 <b>__formatQt4Variable</b>(<i>value, vtype</i>) 290 <b>__formatQt4Variable</b>(<i>value, vtype</i>)
464 </dd><dt><i>mainThread</i></dt> 464 </dd><dt><i>mainThread</i></dt>
465 <dd> 465 <dd>
466 non-zero, if we are attaching to the already 466 non-zero, if we are attaching to the already
467 started mainthread of the app 467 started mainthread of the app
468 </dd> 468 </dd>
469 </dl><dl>
470 <dt>Returns:</dt>
471 <dd>
472 The identifier of the created thread
473 </dd>
474 </dl><a NAME="DebugClientBase.close" ID="DebugClientBase.close"></a> 469 </dl><a NAME="DebugClientBase.close" ID="DebugClientBase.close"></a>
475 <h4>DebugClientBase.close</h4> 470 <h4>DebugClientBase.close</h4>
476 <b>close</b>(<i>fd</i>) 471 <b>close</b>(<i>fd</i>)
477 <p> 472 <p>
478 Private method implementing a close method as a replacement for os.close(). 473 Private method implementing a close method as a replacement for os.close().
521 Public method to poll for events like 'set break point'. 516 Public method to poll for events like 'set break point'.
522 </p><a NAME="DebugClientBase.fork" ID="DebugClientBase.fork"></a> 517 </p><a NAME="DebugClientBase.fork" ID="DebugClientBase.fork"></a>
523 <h4>DebugClientBase.fork</h4> 518 <h4>DebugClientBase.fork</h4>
524 <b>fork</b>(<i></i>) 519 <b>fork</b>(<i></i>)
525 <p> 520 <p>
526 Public method implementing a fork routine deciding which branch to follow. 521 Public method implementing a fork routine deciding which branch to
527 </p><a NAME="DebugClientBase.getCoding" ID="DebugClientBase.getCoding"></a> 522 follow.
523 </p><dl>
524 <dt>Returns:</dt>
525 <dd>
526 process ID (integer)
527 </dd>
528 </dl><a NAME="DebugClientBase.getCoding" ID="DebugClientBase.getCoding"></a>
528 <h4>DebugClientBase.getCoding</h4> 529 <h4>DebugClientBase.getCoding</h4>
529 <b>getCoding</b>(<i></i>) 530 <b>getCoding</b>(<i></i>)
530 <p> 531 <p>
531 Public method to return the current coding. 532 Public method to return the current coding.
532 </p><dl> 533 </p><dl>
537 </dl><a NAME="DebugClientBase.getRunning" ID="DebugClientBase.getRunning"></a> 538 </dl><a NAME="DebugClientBase.getRunning" ID="DebugClientBase.getRunning"></a>
538 <h4>DebugClientBase.getRunning</h4> 539 <h4>DebugClientBase.getRunning</h4>
539 <b>getRunning</b>(<i></i>) 540 <b>getRunning</b>(<i></i>)
540 <p> 541 <p>
541 Public method to return the main script we are currently running. 542 Public method to return the main script we are currently running.
542 </p><a NAME="DebugClientBase.handleLine" ID="DebugClientBase.handleLine"></a> 543 </p><dl>
544 <dt>Returns:</dt>
545 <dd>
546 flag indicating a running debug session (boolean)
547 </dd>
548 </dl><a NAME="DebugClientBase.handleLine" ID="DebugClientBase.handleLine"></a>
543 <h4>DebugClientBase.handleLine</h4> 549 <h4>DebugClientBase.handleLine</h4>
544 <b>handleLine</b>(<i>line</i>) 550 <b>handleLine</b>(<i>line</i>)
545 <p> 551 <p>
546 Public method to handle the receipt of a complete line. 552 Public method to handle the receipt of a complete line.
547 </p><p> 553 </p><p>
732 <a NAME="DebugClientFork" ID="DebugClientFork"></a> 738 <a NAME="DebugClientFork" ID="DebugClientFork"></a>
733 <h2>DebugClientFork</h2> 739 <h2>DebugClientFork</h2>
734 <b>DebugClientFork</b>(<i></i>) 740 <b>DebugClientFork</b>(<i></i>)
735 <p> 741 <p>
736 Replacement for the standard os.fork(). 742 Replacement for the standard os.fork().
737 </p> 743 </p><dl>
744 <dt>Returns:</dt>
745 <dd>
746 result of the fork() call
747 </dd>
748 </dl>
738 <div align="right"><a href="#top">Up</a></div> 749 <div align="right"><a href="#top">Up</a></div>
739 <hr /><hr /> 750 <hr /><hr />
740 <a NAME="DebugClientInput" ID="DebugClientInput"></a> 751 <a NAME="DebugClientInput" ID="DebugClientInput"></a>
741 <h2>DebugClientInput</h2> 752 <h2>DebugClientInput</h2>
742 <b>DebugClientInput</b>(<i>prompt=""</i>) 753 <b>DebugClientInput</b>(<i>prompt=""</i>)
745 </p><p> 756 </p><p>
746 This function works with the split debugger. 757 This function works with the split debugger.
747 </p><dl> 758 </p><dl>
748 <dt><i>prompt</i></dt> 759 <dt><i>prompt</i></dt>
749 <dd> 760 <dd>
750 The prompt to be shown. (string) 761 prompt to be shown (string)
762 </dd>
763 </dl><dl>
764 <dt>Returns:</dt>
765 <dd>
766 result of the input() call
751 </dd> 767 </dd>
752 </dl> 768 </dl>
753 <div align="right"><a href="#top">Up</a></div> 769 <div align="right"><a href="#top">Up</a></div>
754 <hr /><hr /> 770 <hr /><hr />
755 <a NAME="DebugClientRawInput" ID="DebugClientRawInput"></a> 771 <a NAME="DebugClientRawInput" ID="DebugClientRawInput"></a>
760 </p><p> 776 </p><p>
761 This function works with the split debugger. 777 This function works with the split debugger.
762 </p><dl> 778 </p><dl>
763 <dt><i>prompt</i></dt> 779 <dt><i>prompt</i></dt>
764 <dd> 780 <dd>
765 The prompt to be shown. (string) 781 prompt to be shown. (string)
766 </dd><dt><i>echo</i></dt> 782 </dd><dt><i>echo</i></dt>
767 <dd> 783 <dd>
768 Flag indicating echoing of the input (boolean) 784 flag indicating echoing of the input (boolean)
785 </dd>
786 </dl><dl>
787 <dt>Returns:</dt>
788 <dd>
789 result of the raw_input() call
769 </dd> 790 </dd>
770 </dl> 791 </dl>
771 <div align="right"><a href="#top">Up</a></div> 792 <div align="right"><a href="#top">Up</a></div>
772 <hr /><hr /> 793 <hr /><hr />
773 <a NAME="DebugClientSetRecursionLimit" ID="DebugClientSetRecursionLimit"></a> 794 <a NAME="DebugClientSetRecursionLimit" ID="DebugClientSetRecursionLimit"></a>

eric ide

mercurial