136 <td>Private slot to calculate a path list including the PYTHONPATH environment variable.</td> |
136 <td>Private slot to calculate a path list including the PYTHONPATH environment variable.</td> |
137 </tr><tr> |
137 </tr><tr> |
138 <td><a href="#DebugClientBase.__interact">__interact</a></td> |
138 <td><a href="#DebugClientBase.__interact">__interact</a></td> |
139 <td>Private method to Interact with the debugger.</td> |
139 <td>Private method to Interact with the debugger.</td> |
140 </tr><tr> |
140 </tr><tr> |
|
141 <td><a href="#DebugClientBase.__interceptSignals">__interceptSignals</a></td> |
|
142 <td>Private method to intercept common signals.</td> |
|
143 </tr><tr> |
141 <td><a href="#DebugClientBase.__resolveHost">__resolveHost</a></td> |
144 <td><a href="#DebugClientBase.__resolveHost">__resolveHost</a></td> |
142 <td>Private method to resolve a hostname to an IP address.</td> |
145 <td>Private method to resolve a hostname to an IP address.</td> |
143 </tr><tr> |
146 </tr><tr> |
144 <td><a href="#DebugClientBase.__setCoding">__setCoding</a></td> |
147 <td><a href="#DebugClientBase.__setCoding">__setCoding</a></td> |
145 <td>Private method to set the coding used by a python file.</td> |
148 <td>Private method to set the coding used by a python file.</td> |
|
149 </tr><tr> |
|
150 <td><a href="#DebugClientBase.__signalHandler">__signalHandler</a></td> |
|
151 <td>Private method to handle signals.</td> |
146 </tr><tr> |
152 </tr><tr> |
147 <td><a href="#DebugClientBase.__unhandled_exception">__unhandled_exception</a></td> |
153 <td><a href="#DebugClientBase.__unhandled_exception">__unhandled_exception</a></td> |
148 <td>Private method called to report an uncaught exception.</td> |
154 <td>Private method called to report an uncaught exception.</td> |
149 </tr><tr> |
155 </tr><tr> |
150 <td><a href="#DebugClientBase.absPath">absPath</a></td> |
156 <td><a href="#DebugClientBase.absPath">absPath</a></td> |
399 </dl><a NAME="DebugClientBase.__interact" ID="DebugClientBase.__interact"></a> |
405 </dl><a NAME="DebugClientBase.__interact" ID="DebugClientBase.__interact"></a> |
400 <h4>DebugClientBase.__interact</h4> |
406 <h4>DebugClientBase.__interact</h4> |
401 <b>__interact</b>(<i></i>) |
407 <b>__interact</b>(<i></i>) |
402 <p> |
408 <p> |
403 Private method to Interact with the debugger. |
409 Private method to Interact with the debugger. |
|
410 </p><a NAME="DebugClientBase.__interceptSignals" ID="DebugClientBase.__interceptSignals"></a> |
|
411 <h4>DebugClientBase.__interceptSignals</h4> |
|
412 <b>__interceptSignals</b>(<i></i>) |
|
413 <p> |
|
414 Private method to intercept common signals. |
404 </p><a NAME="DebugClientBase.__resolveHost" ID="DebugClientBase.__resolveHost"></a> |
415 </p><a NAME="DebugClientBase.__resolveHost" ID="DebugClientBase.__resolveHost"></a> |
405 <h4>DebugClientBase.__resolveHost</h4> |
416 <h4>DebugClientBase.__resolveHost</h4> |
406 <b>__resolveHost</b>(<i>host</i>) |
417 <b>__resolveHost</b>(<i>host</i>) |
407 <p> |
418 <p> |
408 Private method to resolve a hostname to an IP address. |
419 Private method to resolve a hostname to an IP address. |
423 Private method to set the coding used by a python file. |
434 Private method to set the coding used by a python file. |
424 </p><dl> |
435 </p><dl> |
425 <dt><i>filename</i></dt> |
436 <dt><i>filename</i></dt> |
426 <dd> |
437 <dd> |
427 name of the file to inspect (string) |
438 name of the file to inspect (string) |
|
439 </dd> |
|
440 </dl><a NAME="DebugClientBase.__signalHandler" ID="DebugClientBase.__signalHandler"></a> |
|
441 <h4>DebugClientBase.__signalHandler</h4> |
|
442 <b>__signalHandler</b>(<i>signalNumber, stackFrame</i>) |
|
443 <p> |
|
444 Private method to handle signals. |
|
445 </p><dl> |
|
446 <dt><i>signalNumber</i> (int)</dt> |
|
447 <dd> |
|
448 number of the signal to be handled |
|
449 </dd><dt><i>stack</i> (frame object)</dt> |
|
450 <dd> |
|
451 frame current stack frame |
428 </dd> |
452 </dd> |
429 </dl><a NAME="DebugClientBase.__unhandled_exception" ID="DebugClientBase.__unhandled_exception"></a> |
453 </dl><a NAME="DebugClientBase.__unhandled_exception" ID="DebugClientBase.__unhandled_exception"></a> |
430 <h4>DebugClientBase.__unhandled_exception</h4> |
454 <h4>DebugClientBase.__unhandled_exception</h4> |
431 <b>__unhandled_exception</b>(<i>exctype, excval, exctb</i>) |
455 <b>__unhandled_exception</b>(<i>exctype, excval, exctb</i>) |
432 <p> |
456 <p> |
602 <b>main</b>(<i></i>) |
626 <b>main</b>(<i></i>) |
603 <p> |
627 <p> |
604 Public method implementing the main method. |
628 Public method implementing the main method. |
605 </p><a NAME="DebugClientBase.progTerminated" ID="DebugClientBase.progTerminated"></a> |
629 </p><a NAME="DebugClientBase.progTerminated" ID="DebugClientBase.progTerminated"></a> |
606 <h4>DebugClientBase.progTerminated</h4> |
630 <h4>DebugClientBase.progTerminated</h4> |
607 <b>progTerminated</b>(<i>status</i>) |
631 <b>progTerminated</b>(<i>status, exit=False</i>) |
608 <p> |
632 <p> |
609 Public method to tell the debugger that the program has terminated. |
633 Public method to tell the debugger that the program has terminated. |
610 </p><dl> |
634 </p><dl> |
611 <dt><i>status</i></dt> |
635 <dt><i>status</i></dt> |
612 <dd> |
636 <dd> |
613 the return status |
637 return status |
|
638 </dd><dt><i>exit</i> (bool)</dt> |
|
639 <dd> |
|
640 flag indicating to perform a sys.exit() |
614 </dd> |
641 </dd> |
615 </dl><a NAME="DebugClientBase.run_call" ID="DebugClientBase.run_call"></a> |
642 </dl><a NAME="DebugClientBase.run_call" ID="DebugClientBase.run_call"></a> |
616 <h4>DebugClientBase.run_call</h4> |
643 <h4>DebugClientBase.run_call</h4> |
617 <b>run_call</b>(<i>scriptname, func, *args</i>) |
644 <b>run_call</b>(<i>scriptname, func, *args</i>) |
618 <p> |
645 <p> |