113 <tr> |
113 <tr> |
114 <td><a href="#DebugBase._set_stopinfo">_set_stopinfo</a></td> |
114 <td><a href="#DebugBase._set_stopinfo">_set_stopinfo</a></td> |
115 <td>Protected method to update the frame pointers.</td> |
115 <td>Protected method to update the frame pointers.</td> |
116 </tr> |
116 </tr> |
117 <tr> |
117 <tr> |
|
118 <td><a href="#DebugBase._set_trace_opcodes">_set_trace_opcodes</a></td> |
|
119 <td>Protected method to set tracing on opcode level enabled or disabled.</td> |
|
120 </tr> |
|
121 <tr> |
118 <td><a href="#DebugBase.bootstrap">bootstrap</a></td> |
122 <td><a href="#DebugBase.bootstrap">bootstrap</a></td> |
119 <td>Public method to bootstrap a thread.</td> |
123 <td>Public method to bootstrap a thread.</td> |
120 </tr> |
124 </tr> |
121 <tr> |
125 <tr> |
122 <td><a href="#DebugBase.break_here">break_here</a></td> |
126 <td><a href="#DebugBase.break_here">break_here</a></td> |
179 <td>Public method to stop when returning from the given frame.</td> |
183 <td>Public method to stop when returning from the given frame.</td> |
180 </tr> |
184 </tr> |
181 <tr> |
185 <tr> |
182 <td><a href="#DebugBase.set_step">set_step</a></td> |
186 <td><a href="#DebugBase.set_step">set_step</a></td> |
183 <td>Public method to stop after one line of code.</td> |
187 <td>Public method to stop after one line of code.</td> |
|
188 </tr> |
|
189 <tr> |
|
190 <td><a href="#DebugBase.set_stepinstr">set_stepinstr</a></td> |
|
191 <td>Public method to stop before the next instruction.</td> |
184 </tr> |
192 </tr> |
185 <tr> |
193 <tr> |
186 <td><a href="#DebugBase.set_trace">set_trace</a></td> |
194 <td><a href="#DebugBase.set_trace">set_trace</a></td> |
187 <td>Public method to start debugging from 'frame'.</td> |
195 <td>Public method to start debugging from 'frame'.</td> |
188 </tr> |
196 </tr> |
467 bool |
475 bool |
468 </dd> |
476 </dd> |
469 </dl> |
477 </dl> |
470 <a NAME="DebugBase._set_stopinfo" ID="DebugBase._set_stopinfo"></a> |
478 <a NAME="DebugBase._set_stopinfo" ID="DebugBase._set_stopinfo"></a> |
471 <h4>DebugBase._set_stopinfo</h4> |
479 <h4>DebugBase._set_stopinfo</h4> |
472 <b>_set_stopinfo</b>(<i>stopframe, returnframe, stoplineno=0</i>) |
480 <b>_set_stopinfo</b>(<i>stopframe, returnframe, stoplineno=0, traceOpcodes=False</i>) |
473 <p> |
481 <p> |
474 Protected method to update the frame pointers. |
482 Protected method to update the frame pointers. |
475 </p> |
483 </p> |
476 |
484 |
477 <dl> |
485 <dl> |
482 </dd> |
490 </dd> |
483 <dt><i>returnframe</i> (frame object)</dt> |
491 <dt><i>returnframe</i> (frame object)</dt> |
484 <dd> |
492 <dd> |
485 the frame object where to stop on a function return |
493 the frame object where to stop on a function return |
486 </dd> |
494 </dd> |
487 <dt><i>stoplineno</i> (int)</dt> |
495 <dt><i>stoplineno</i> (int (optional))</dt> |
488 <dd> |
496 <dd> |
489 line number to stop at. If stoplineno is greater than |
497 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 |
498 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. |
499 stopline. If stoplineno is -1, then don't stop at all. (defaults to 0) |
|
500 </dd> |
|
501 <dt><i>traceOpcodes</i> (bool (optional))</dt> |
|
502 <dd> |
|
503 opcode tracing state (defaults to False) |
|
504 </dd> |
|
505 </dl> |
|
506 <a NAME="DebugBase._set_trace_opcodes" ID="DebugBase._set_trace_opcodes"></a> |
|
507 <h4>DebugBase._set_trace_opcodes</h4> |
|
508 <b>_set_trace_opcodes</b>(<i>traceOpcodes</i>) |
|
509 <p> |
|
510 Protected method to set tracing on opcode level enabled or disabled. |
|
511 </p> |
|
512 |
|
513 <dl> |
|
514 |
|
515 <dt><i>traceOpcodes</i> (bool)</dt> |
|
516 <dd> |
|
517 opcode tracing state |
492 </dd> |
518 </dd> |
493 </dl> |
519 </dl> |
494 <a NAME="DebugBase.bootstrap" ID="DebugBase.bootstrap"></a> |
520 <a NAME="DebugBase.bootstrap" ID="DebugBase.bootstrap"></a> |
495 <h4>DebugBase.bootstrap</h4> |
521 <h4>DebugBase.bootstrap</h4> |
496 <b>bootstrap</b>(<i>target, args, kwargs</i>) |
522 <b>bootstrap</b>(<i>target, args, kwargs</i>) |
869 <b>set_step</b>(<i></i>) |
895 <b>set_step</b>(<i></i>) |
870 <p> |
896 <p> |
871 Public method to stop after one line of code. |
897 Public method to stop after one line of code. |
872 </p> |
898 </p> |
873 |
899 |
|
900 <a NAME="DebugBase.set_stepinstr" ID="DebugBase.set_stepinstr"></a> |
|
901 <h4>DebugBase.set_stepinstr</h4> |
|
902 <b>set_stepinstr</b>(<i></i>) |
|
903 <p> |
|
904 Public method to stop before the next instruction. |
|
905 </p> |
|
906 |
874 <a NAME="DebugBase.set_trace" ID="DebugBase.set_trace"></a> |
907 <a NAME="DebugBase.set_trace" ID="DebugBase.set_trace"></a> |
875 <h4>DebugBase.set_trace</h4> |
908 <h4>DebugBase.set_trace</h4> |
876 <b>set_trace</b>(<i>frame=None</i>) |
909 <b>set_trace</b>(<i>frame=None</i>) |
877 <p> |
910 <p> |
878 Public method to start debugging from 'frame'. |
911 Public method to start debugging from 'frame'. |