Documentation/Source/eric5.DebugClients.Python3.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 formatted output of a simple Qt4/Qt5 type.</td> 128 <td>Private method to produce a formatted 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>
295 </dd> 295 </dd>
296 </dl><a NAME="DebugClientBase.__exceptionRaised" ID="DebugClientBase.__exceptionRaised"></a> 296 </dl><a NAME="DebugClientBase.__exceptionRaised" ID="DebugClientBase.__exceptionRaised"></a>
297 <h4>DebugClientBase.__exceptionRaised</h4> 297 <h4>DebugClientBase.__exceptionRaised</h4>
298 <b>__exceptionRaised</b>(<i></i>) 298 <b>__exceptionRaised</b>(<i></i>)
299 <p> 299 <p>
300 Private method called in the case of an exception 300 Private method called in the case of an exception.
301 </p><p> 301 </p><p>
302 It ensures that the debug server is informed of the raised exception. 302 It ensures that the debug server is informed of the raised exception.
303 </p><a NAME="DebugClientBase.__formatQt4Variable" ID="DebugClientBase.__formatQt4Variable"></a> 303 </p><a NAME="DebugClientBase.__formatQt4Variable" ID="DebugClientBase.__formatQt4Variable"></a>
304 <h4>DebugClientBase.__formatQt4Variable</h4> 304 <h4>DebugClientBase.__formatQt4Variable</h4>
305 <b>__formatQt4Variable</b>(<i>value, vtype</i>) 305 <b>__formatQt4Variable</b>(<i>value, vtype</i>)
476 </dd><dt><i>mainThread</i></dt> 476 </dd><dt><i>mainThread</i></dt>
477 <dd> 477 <dd>
478 True, if we are attaching to the already 478 True, if we are attaching to the already
479 started mainthread of the app 479 started mainthread of the app
480 </dd> 480 </dd>
481 </dl><dl>
482 <dt>Returns:</dt>
483 <dd>
484 The identifier of the created thread
485 </dd>
486 </dl><a NAME="DebugClientBase.close" ID="DebugClientBase.close"></a> 481 </dl><a NAME="DebugClientBase.close" ID="DebugClientBase.close"></a>
487 <h4>DebugClientBase.close</h4> 482 <h4>DebugClientBase.close</h4>
488 <b>close</b>(<i>fd</i>) 483 <b>close</b>(<i>fd</i>)
489 <p> 484 <p>
490 Private method implementing a close method as a replacement for os.close(). 485 Private method implementing a close method as a replacement for os.close().
533 Public method to poll for events like 'set break point'. 528 Public method to poll for events like 'set break point'.
534 </p><a NAME="DebugClientBase.fork" ID="DebugClientBase.fork"></a> 529 </p><a NAME="DebugClientBase.fork" ID="DebugClientBase.fork"></a>
535 <h4>DebugClientBase.fork</h4> 530 <h4>DebugClientBase.fork</h4>
536 <b>fork</b>(<i></i>) 531 <b>fork</b>(<i></i>)
537 <p> 532 <p>
538 Public method implementing a fork routine deciding which branch to follow. 533 Public method implementing a fork routine deciding which branch
539 </p><a NAME="DebugClientBase.getCoding" ID="DebugClientBase.getCoding"></a> 534 to follow.
535 </p><dl>
536 <dt>Returns:</dt>
537 <dd>
538 process ID (integer)
539 </dd>
540 </dl><a NAME="DebugClientBase.getCoding" ID="DebugClientBase.getCoding"></a>
540 <h4>DebugClientBase.getCoding</h4> 541 <h4>DebugClientBase.getCoding</h4>
541 <b>getCoding</b>(<i></i>) 542 <b>getCoding</b>(<i></i>)
542 <p> 543 <p>
543 Public method to return the current coding. 544 Public method to return the current coding.
544 </p><dl> 545 </p><dl>
549 </dl><a NAME="DebugClientBase.getRunning" ID="DebugClientBase.getRunning"></a> 550 </dl><a NAME="DebugClientBase.getRunning" ID="DebugClientBase.getRunning"></a>
550 <h4>DebugClientBase.getRunning</h4> 551 <h4>DebugClientBase.getRunning</h4>
551 <b>getRunning</b>(<i></i>) 552 <b>getRunning</b>(<i></i>)
552 <p> 553 <p>
553 Public method to return the main script we are currently running. 554 Public method to return the main script we are currently running.
554 </p><a NAME="DebugClientBase.handleLine" ID="DebugClientBase.handleLine"></a> 555 </p><dl>
556 <dt>Returns:</dt>
557 <dd>
558 flag indicating a running debug session (boolean)
559 </dd>
560 </dl><a NAME="DebugClientBase.handleLine" ID="DebugClientBase.handleLine"></a>
555 <h4>DebugClientBase.handleLine</h4> 561 <h4>DebugClientBase.handleLine</h4>
556 <b>handleLine</b>(<i>line</i>) 562 <b>handleLine</b>(<i>line</i>)
557 <p> 563 <p>
558 Public method to handle the receipt of a complete line. 564 Public method to handle the receipt of a complete line.
559 </p><p> 565 </p><p>
729 <a NAME="DebugClientFork" ID="DebugClientFork"></a> 735 <a NAME="DebugClientFork" ID="DebugClientFork"></a>
730 <h2>DebugClientFork</h2> 736 <h2>DebugClientFork</h2>
731 <b>DebugClientFork</b>(<i></i>) 737 <b>DebugClientFork</b>(<i></i>)
732 <p> 738 <p>
733 Replacement for the standard os.fork(). 739 Replacement for the standard os.fork().
734 </p> 740 </p><dl>
741 <dt>Returns:</dt>
742 <dd>
743 result of the fork() call
744 </dd>
745 </dl>
735 <div align="right"><a href="#top">Up</a></div> 746 <div align="right"><a href="#top">Up</a></div>
736 <hr /><hr /> 747 <hr /><hr />
737 <a NAME="DebugClientInput" ID="DebugClientInput"></a> 748 <a NAME="DebugClientInput" ID="DebugClientInput"></a>
738 <h2>DebugClientInput</h2> 749 <h2>DebugClientInput</h2>
739 <b>DebugClientInput</b>(<i>prompt="", echo=True</i>) 750 <b>DebugClientInput</b>(<i>prompt="", echo=True</i>)
742 </p><p> 753 </p><p>
743 This function works with the split debugger. 754 This function works with the split debugger.
744 </p><dl> 755 </p><dl>
745 <dt><i>prompt</i></dt> 756 <dt><i>prompt</i></dt>
746 <dd> 757 <dd>
747 The prompt to be shown. (string) 758 prompt to be shown (string)
759 </dd><dt><i>echo</i></dt>
760 <dd>
761 flag indicating to echo the output (boolean)
762 </dd>
763 </dl><dl>
764 <dt>Returns:</dt>
765 <dd>
766 result of the input() call
748 </dd> 767 </dd>
749 </dl> 768 </dl>
750 <div align="right"><a href="#top">Up</a></div> 769 <div align="right"><a href="#top">Up</a></div>
751 <hr /><hr /> 770 <hr /><hr />
752 <a NAME="DebugClientSetRecursionLimit" ID="DebugClientSetRecursionLimit"></a> 771 <a NAME="DebugClientSetRecursionLimit" ID="DebugClientSetRecursionLimit"></a>

eric ide

mercurial