eric6/Documentation/Source/eric6.DebugClients.Python.DebugBase.html

changeset 7898
1bcd6d4df182
parent 7887
c1588f5a83e9
child 7900
72b88fb20261
equal deleted inserted replaced
7897:9acc015ea443 7898:1bcd6d4df182
26 Module implementing the debug base class which based originally on bdb. 26 Module implementing the debug base class which based originally on bdb.
27 </p> 27 </p>
28 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29 29
30 <table> 30 <table>
31 <tr><td>gRecursionLimit</td></tr> 31 <tr><td>GENERATOR_AND_COROUTINE_FLAGS</td></tr><tr><td>gRecursionLimit</td></tr>
32 </table> 32 </table>
33 <h3>Classes</h3> 33 <h3>Classes</h3>
34 34
35 <table> 35 <table>
36 36
198 <tr> 198 <tr>
199 <td><a href="#DebugBase.set_trace">set_trace</a></td> 199 <td><a href="#DebugBase.set_trace">set_trace</a></td>
200 <td>Public method to start debugging from 'frame'.</td> 200 <td>Public method to start debugging from 'frame'.</td>
201 </tr> 201 </tr>
202 <tr> 202 <tr>
203 <td><a href="#DebugBase.set_until">set_until</a></td>
204 <td>Public method to stop when the line with the lineno greater than the current one is reached or when returning from current frame.</td>
205 </tr>
206 <tr>
203 <td><a href="#DebugBase.step">step</a></td> 207 <td><a href="#DebugBase.step">step</a></td>
204 <td>Public method to perform a step operation in this thread.</td> 208 <td>Public method to perform a step operation in this thread.</td>
205 </tr> 209 </tr>
206 <tr> 210 <tr>
207 <td><a href="#DebugBase.stepOut">stepOut</a></td> 211 <td><a href="#DebugBase.stepOut">stepOut</a></td>
463 bool 467 bool
464 </dd> 468 </dd>
465 </dl> 469 </dl>
466 <a NAME="DebugBase._set_stopinfo" ID="DebugBase._set_stopinfo"></a> 470 <a NAME="DebugBase._set_stopinfo" ID="DebugBase._set_stopinfo"></a>
467 <h4>DebugBase._set_stopinfo</h4> 471 <h4>DebugBase._set_stopinfo</h4>
468 <b>_set_stopinfo</b>(<i>stopframe, returnframe</i>) 472 <b>_set_stopinfo</b>(<i>stopframe, returnframe, stoplineno=0</i>)
469 473
470 <p> 474 <p>
471 Protected method to update the frame pointers. 475 Protected method to update the frame pointers.
472 </p> 476 </p>
473 <dl> 477 <dl>
477 the frame object where to stop 481 the frame object where to stop
478 </dd> 482 </dd>
479 <dt><i>returnframe</i> (frame object)</dt> 483 <dt><i>returnframe</i> (frame object)</dt>
480 <dd> 484 <dd>
481 the frame object where to stop on a function return 485 the frame object where to stop on a function return
486 </dd>
487 <dt><i>stoplineno</i> (int)</dt>
488 <dd>
489 line number to stop at. If stoplineno is greater than
490 or equal to 0, then stop at line greater than or equal to the
491 stopline. If stoplineno is -1, then don't stop at all.
482 </dd> 492 </dd>
483 </dl> 493 </dl>
484 <a NAME="DebugBase.bootstrap" ID="DebugBase.bootstrap"></a> 494 <a NAME="DebugBase.bootstrap" ID="DebugBase.bootstrap"></a>
485 <h4>DebugBase.bootstrap</h4> 495 <h4>DebugBase.bootstrap</h4>
486 <b>bootstrap</b>(<i>target, args, kwargs</i>) 496 <b>bootstrap</b>(<i>target, args, kwargs</i>)
853 <dt><i>frame=</i> (frame object)</dt> 863 <dt><i>frame=</i> (frame object)</dt>
854 <dd> 864 <dd>
855 frame to start debugging from 865 frame to start debugging from
856 </dd> 866 </dd>
857 </dl> 867 </dl>
868 <a NAME="DebugBase.set_until" ID="DebugBase.set_until"></a>
869 <h4>DebugBase.set_until</h4>
870 <b>set_until</b>(<i>frame=None, lineno=None</i>)
871
872 <p>
873 Public method to stop when the line with the lineno greater than the
874 current one is reached or when returning from current frame.
875 </p>
876 <dl>
877
878 <dt><i>frame</i> (frame object)</dt>
879 <dd>
880 reference to the frame object
881 </dd>
882 <dt><i>lineno</i> (int)</dt>
883 <dd>
884 line number to continue to
885 </dd>
886 </dl>
858 <a NAME="DebugBase.step" ID="DebugBase.step"></a> 887 <a NAME="DebugBase.step" ID="DebugBase.step"></a>
859 <h4>DebugBase.step</h4> 888 <h4>DebugBase.step</h4>
860 <b>step</b>(<i>traceMode</i>) 889 <b>step</b>(<i>traceMode</i>)
861 890
862 <p> 891 <p>

eric ide

mercurial