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> |
384 </dl><a NAME="DebugClientBase.__interact" ID="DebugClientBase.__interact"></a> |
390 </dl><a NAME="DebugClientBase.__interact" ID="DebugClientBase.__interact"></a> |
385 <h4>DebugClientBase.__interact</h4> |
391 <h4>DebugClientBase.__interact</h4> |
386 <b>__interact</b>(<i></i>) |
392 <b>__interact</b>(<i></i>) |
387 <p> |
393 <p> |
388 Private method to Interact with the debugger. |
394 Private method to Interact with the debugger. |
|
395 </p><a NAME="DebugClientBase.__interceptSignals" ID="DebugClientBase.__interceptSignals"></a> |
|
396 <h4>DebugClientBase.__interceptSignals</h4> |
|
397 <b>__interceptSignals</b>(<i></i>) |
|
398 <p> |
|
399 Private method to intercept common signals. |
389 </p><a NAME="DebugClientBase.__resolveHost" ID="DebugClientBase.__resolveHost"></a> |
400 </p><a NAME="DebugClientBase.__resolveHost" ID="DebugClientBase.__resolveHost"></a> |
390 <h4>DebugClientBase.__resolveHost</h4> |
401 <h4>DebugClientBase.__resolveHost</h4> |
391 <b>__resolveHost</b>(<i>host</i>) |
402 <b>__resolveHost</b>(<i>host</i>) |
392 <p> |
403 <p> |
393 Private method to resolve a hostname to an IP address. |
404 Private method to resolve a hostname to an IP address. |
408 Private method to set the coding used by a python file. |
419 Private method to set the coding used by a python file. |
409 </p><dl> |
420 </p><dl> |
410 <dt><i>filename</i></dt> |
421 <dt><i>filename</i></dt> |
411 <dd> |
422 <dd> |
412 name of the file to inspect (string) |
423 name of the file to inspect (string) |
|
424 </dd> |
|
425 </dl><a NAME="DebugClientBase.__signalHandler" ID="DebugClientBase.__signalHandler"></a> |
|
426 <h4>DebugClientBase.__signalHandler</h4> |
|
427 <b>__signalHandler</b>(<i>signalNumber, stackFrame</i>) |
|
428 <p> |
|
429 Private method to handle signals. |
|
430 </p><dl> |
|
431 <dt><i>signalNumber</i> (int)</dt> |
|
432 <dd> |
|
433 number of the signal to be handled |
|
434 </dd><dt><i>stack</i> (frame object)</dt> |
|
435 <dd> |
|
436 frame current stack frame |
413 </dd> |
437 </dd> |
414 </dl><a NAME="DebugClientBase.__unhandled_exception" ID="DebugClientBase.__unhandled_exception"></a> |
438 </dl><a NAME="DebugClientBase.__unhandled_exception" ID="DebugClientBase.__unhandled_exception"></a> |
415 <h4>DebugClientBase.__unhandled_exception</h4> |
439 <h4>DebugClientBase.__unhandled_exception</h4> |
416 <b>__unhandled_exception</b>(<i>exctype, excval, exctb</i>) |
440 <b>__unhandled_exception</b>(<i>exctype, excval, exctb</i>) |
417 <p> |
441 <p> |
587 <b>main</b>(<i></i>) |
611 <b>main</b>(<i></i>) |
588 <p> |
612 <p> |
589 Public method implementing the main method. |
613 Public method implementing the main method. |
590 </p><a NAME="DebugClientBase.progTerminated" ID="DebugClientBase.progTerminated"></a> |
614 </p><a NAME="DebugClientBase.progTerminated" ID="DebugClientBase.progTerminated"></a> |
591 <h4>DebugClientBase.progTerminated</h4> |
615 <h4>DebugClientBase.progTerminated</h4> |
592 <b>progTerminated</b>(<i>status</i>) |
616 <b>progTerminated</b>(<i>status, exit=False</i>) |
593 <p> |
617 <p> |
594 Public method to tell the debugger that the program has terminated. |
618 Public method to tell the debugger that the program has terminated. |
595 </p><dl> |
619 </p><dl> |
596 <dt><i>status</i></dt> |
620 <dt><i>status</i></dt> |
597 <dd> |
621 <dd> |
598 the return status |
622 return status |
|
623 </dd><dt><i>exit</i> (bool)</dt> |
|
624 <dd> |
|
625 flag indicating to perform a sys.exit() |
599 </dd> |
626 </dd> |
600 </dl><a NAME="DebugClientBase.raw_input" ID="DebugClientBase.raw_input"></a> |
627 </dl><a NAME="DebugClientBase.raw_input" ID="DebugClientBase.raw_input"></a> |
601 <h4>DebugClientBase.raw_input</h4> |
628 <h4>DebugClientBase.raw_input</h4> |
602 <b>raw_input</b>(<i>prompt, echo</i>) |
629 <b>raw_input</b>(<i>prompt, echo</i>) |
603 <p> |
630 <p> |