src/eric7/Documentation/Source/eric7.DebugClients.Python.DebugClientBase.html

branch
eric7
changeset 10479
856476537696
parent 10423
299802979277
child 10553
c5ef3ec68b75
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.DebugClients.Python.DebugClientBase</h1> 9 <h1>eric7.DebugClients.Python.DebugClientBase</h1>
10
11 <p> 10 <p>
12 Module implementing a debug client base class. 11 Module implementing a debug client base class.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>DebugClientInstance</td></tr> 16 <tr><td>DebugClientInstance</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20
21 <table> 20 <table>
22
23 <tr> 21 <tr>
24 <td><a href="#DebugClientBase">DebugClientBase</a></td> 22 <td><a href="#DebugClientBase">DebugClientBase</a></td>
25 <td>Class implementing the client side of the debugger.</td> 23 <td>Class implementing the client side of the debugger.</td>
26 </tr> 24 </tr>
27 </table> 25 </table>
26
28 <h3>Functions</h3> 27 <h3>Functions</h3>
29
30 <table> 28 <table>
31
32 <tr> 29 <tr>
33 <td><a href="#DebugClientClose">DebugClientClose</a></td> 30 <td><a href="#DebugClientClose">DebugClientClose</a></td>
34 <td>Replacement for the standard os.close(fd).</td> 31 <td>Replacement for the standard os.close(fd).</td>
35 </tr> 32 </tr>
36 <tr> 33 <tr>
40 <tr> 37 <tr>
41 <td><a href="#DebugClientSetRecursionLimit">DebugClientSetRecursionLimit</a></td> 38 <td><a href="#DebugClientSetRecursionLimit">DebugClientSetRecursionLimit</a></td>
42 <td>Replacement for the standard sys.setrecursionlimit(limit).</td> 39 <td>Replacement for the standard sys.setrecursionlimit(limit).</td>
43 </tr> 40 </tr>
44 </table> 41 </table>
42
45 <hr /> 43 <hr />
46 <hr /> 44 <hr />
47 <a NAME="DebugClientBase" ID="DebugClientBase"></a> 45 <a NAME="DebugClientBase" ID="DebugClientBase"></a>
48 <h2>DebugClientBase</h2> 46 <h2>DebugClientBase</h2>
49
50 <p> 47 <p>
51 Class implementing the client side of the debugger. 48 Class implementing the client side of the debugger.
52 </p> 49 </p>
53 <p> 50 <p>
54 It provides access to the Python interpeter from a debugger running in 51 It provides access to the Python interpeter from a debugger running in
66 </p> 63 </p>
67 <p> 64 <p>
68 <b>Note</b>: This class is meant to be subclassed by individual 65 <b>Note</b>: This class is meant to be subclassed by individual
69 DebugClient classes. Do not instantiate it directly. 66 DebugClient classes. Do not instantiate it directly.
70 </p> 67 </p>
68
71 <h3>Derived from</h3> 69 <h3>Derived from</h3>
72 None 70 None
73 <h3>Class Attributes</h3> 71 <h3>Class Attributes</h3>
74
75 <table> 72 <table>
76 <tr><td>Type2Indicators</td></tr><tr><td>clientCapabilities</td></tr> 73 <tr><td>Type2Indicators</td></tr>
74 <tr><td>clientCapabilities</td></tr>
77 </table> 75 </table>
76
78 <h3>Class Methods</h3> 77 <h3>Class Methods</h3>
79
80 <table> 78 <table>
81 <tr><td>None</td></tr> 79 <tr><td>None</td></tr>
82 </table> 80 </table>
81
83 <h3>Methods</h3> 82 <h3>Methods</h3>
84
85 <table> 83 <table>
86
87 <tr> 84 <tr>
88 <td><a href="#DebugClientBase.__init__">DebugClientBase</a></td> 85 <td><a href="#DebugClientBase.__init__">DebugClientBase</a></td>
89 <td>Constructor</td> 86 <td>Constructor</td>
90 </tr> 87 </tr>
91 <tr> 88 <tr>
263 <tr> 260 <tr>
264 <td><a href="#DebugClientBase.writeReady">writeReady</a></td> 261 <td><a href="#DebugClientBase.writeReady">writeReady</a></td>
265 <td>Public method called when we are ready to write data.</td> 262 <td>Public method called when we are ready to write data.</td>
266 </tr> 263 </tr>
267 </table> 264 </table>
265
268 <h3>Static Methods</h3> 266 <h3>Static Methods</h3>
269
270 <table> 267 <table>
271 <tr><td>None</td></tr> 268 <tr><td>None</td></tr>
272 </table> 269 </table>
273 270
271
274 <a NAME="DebugClientBase.__init__" ID="DebugClientBase.__init__"></a> 272 <a NAME="DebugClientBase.__init__" ID="DebugClientBase.__init__"></a>
275 <h4>DebugClientBase (Constructor)</h4> 273 <h4>DebugClientBase (Constructor)</h4>
276 <b>DebugClientBase</b>(<i></i>) 274 <b>DebugClientBase</b>(<i></i>)
277
278 <p> 275 <p>
279 Constructor 276 Constructor
280 </p> 277 </p>
278
281 <a NAME="DebugClientBase.__clientCapabilities" ID="DebugClientBase.__clientCapabilities"></a> 279 <a NAME="DebugClientBase.__clientCapabilities" ID="DebugClientBase.__clientCapabilities"></a>
282 <h4>DebugClientBase.__clientCapabilities</h4> 280 <h4>DebugClientBase.__clientCapabilities</h4>
283 <b>__clientCapabilities</b>(<i></i>) 281 <b>__clientCapabilities</b>(<i></i>)
284
285 <p> 282 <p>
286 Private method to determine the clients capabilities. 283 Private method to determine the clients capabilities.
287 </p> 284 </p>
285
288 <dl> 286 <dl>
289 <dt>Return:</dt> 287 <dt>Return:</dt>
290 <dd> 288 <dd>
291 client capabilities 289 client capabilities
292 </dd> 290 </dd>
298 </dd> 296 </dd>
299 </dl> 297 </dl>
300 <a NAME="DebugClientBase.__compileCommand" ID="DebugClientBase.__compileCommand"></a> 298 <a NAME="DebugClientBase.__compileCommand" ID="DebugClientBase.__compileCommand"></a>
301 <h4>DebugClientBase.__compileCommand</h4> 299 <h4>DebugClientBase.__compileCommand</h4>
302 <b>__compileCommand</b>(<i>statement, filename="<string>", mode="exec"</i>) 300 <b>__compileCommand</b>(<i>statement, filename="<string>", mode="exec"</i>)
303
304 <p> 301 <p>
305 Private method to compile source code. 302 Private method to compile source code.
306 </p> 303 </p>
304
307 <dl> 305 <dl>
308 306
309 <dt><i>statement</i> (str)</dt> 307 <dt><i>statement</i> (str)</dt>
310 <dd> 308 <dd>
311 source code string to be compiled 309 source code string to be compiled
332 </dd> 330 </dd>
333 </dl> 331 </dl>
334 <a NAME="DebugClientBase.__compileFileSource" ID="DebugClientBase.__compileFileSource"></a> 332 <a NAME="DebugClientBase.__compileFileSource" ID="DebugClientBase.__compileFileSource"></a>
335 <h4>DebugClientBase.__compileFileSource</h4> 333 <h4>DebugClientBase.__compileFileSource</h4>
336 <b>__compileFileSource</b>(<i>filename, mode="exec"</i>) 334 <b>__compileFileSource</b>(<i>filename, mode="exec"</i>)
337
338 <p> 335 <p>
339 Private method to compile source code read from a file. 336 Private method to compile source code read from a file.
340 </p> 337 </p>
338
341 <dl> 339 <dl>
342 340
343 <dt><i>filename</i> (str)</dt> 341 <dt><i>filename</i> (str)</dt>
344 <dd> 342 <dd>
345 name of the source file 343 name of the source file
362 </dd> 360 </dd>
363 </dl> 361 </dl>
364 <a NAME="DebugClientBase.__completionList" ID="DebugClientBase.__completionList"></a> 362 <a NAME="DebugClientBase.__completionList" ID="DebugClientBase.__completionList"></a>
365 <h4>DebugClientBase.__completionList</h4> 363 <h4>DebugClientBase.__completionList</h4>
366 <b>__completionList</b>(<i>text</i>) 364 <b>__completionList</b>(<i>text</i>)
367
368 <p> 365 <p>
369 Private slot to handle the request for a commandline completion list. 366 Private slot to handle the request for a commandline completion list.
370 </p> 367 </p>
368
371 <dl> 369 <dl>
372 370
373 <dt><i>text</i> (str)</dt> 371 <dt><i>text</i> (str)</dt>
374 <dd> 372 <dd>
375 the text to be completed 373 the text to be completed
376 </dd> 374 </dd>
377 </dl> 375 </dl>
378 <a NAME="DebugClientBase.__dumpVariable" ID="DebugClientBase.__dumpVariable"></a> 376 <a NAME="DebugClientBase.__dumpVariable" ID="DebugClientBase.__dumpVariable"></a>
379 <h4>DebugClientBase.__dumpVariable</h4> 377 <h4>DebugClientBase.__dumpVariable</h4>
380 <b>__dumpVariable</b>(<i>var, frmnr, scope, filterList</i>) 378 <b>__dumpVariable</b>(<i>var, frmnr, scope, filterList</i>)
381
382 <p> 379 <p>
383 Private method to return the variables of a frame to the debug server. 380 Private method to return the variables of a frame to the debug server.
384 </p> 381 </p>
382
385 <dl> 383 <dl>
386 384
387 <dt><i>var</i> (list of str and int)</dt> 385 <dt><i>var</i> (list of str and int)</dt>
388 <dd> 386 <dd>
389 list encoded name of the requested variable 387 list encoded name of the requested variable
402 </dd> 400 </dd>
403 </dl> 401 </dl>
404 <a NAME="DebugClientBase.__dumpVariables" ID="DebugClientBase.__dumpVariables"></a> 402 <a NAME="DebugClientBase.__dumpVariables" ID="DebugClientBase.__dumpVariables"></a>
405 <h4>DebugClientBase.__dumpVariables</h4> 403 <h4>DebugClientBase.__dumpVariables</h4>
406 <b>__dumpVariables</b>(<i>frmnr, scope, filterList</i>) 404 <b>__dumpVariables</b>(<i>frmnr, scope, filterList</i>)
407
408 <p> 405 <p>
409 Private method to return the variables of a frame to the debug server. 406 Private method to return the variables of a frame to the debug server.
410 </p> 407 </p>
408
411 <dl> 409 <dl>
412 410
413 <dt><i>frmnr</i> (int)</dt> 411 <dt><i>frmnr</i> (int)</dt>
414 <dd> 412 <dd>
415 distance of frame reported on. 0 is the current frame 413 distance of frame reported on. 0 is the current frame
424 </dd> 422 </dd>
425 </dl> 423 </dl>
426 <a NAME="DebugClientBase.__formatVariablesList" ID="DebugClientBase.__formatVariablesList"></a> 424 <a NAME="DebugClientBase.__formatVariablesList" ID="DebugClientBase.__formatVariablesList"></a>
427 <h4>DebugClientBase.__formatVariablesList</h4> 425 <h4>DebugClientBase.__formatVariablesList</h4>
428 <b>__formatVariablesList</b>(<i>variables, scope, filterList=None, var=None</i>) 426 <b>__formatVariablesList</b>(<i>variables, scope, filterList=None, var=None</i>)
429
430 <p> 427 <p>
431 Private method to produce a formated variables list. 428 Private method to produce a formated variables list.
432 </p> 429 </p>
433 <p> 430 <p>
434 The dictionary passed in to it is scanned. Variables are 431 The dictionary passed in to it is scanned. Variables are
435 only added to the list, if their type is not contained 432 only added to the list, if their type is not contained
436 in the filter list and their name doesn't match any of the filter 433 in the filter list and their name doesn't match any of the filter
437 expressions. The formated variables list (a list of tuples of 3 434 expressions. The formated variables list (a list of tuples of 3
438 values) is returned. 435 values) is returned.
439 </p> 436 </p>
437
440 <dl> 438 <dl>
441 439
442 <dt><i>variables</i> (list of tuple of (str, Any) or (str, str, Any))</dt> 440 <dt><i>variables</i> (list of tuple of (str, Any) or (str, str, Any))</dt>
443 <dd> 441 <dd>
444 variables list to be processed 442 variables list to be processed
477 </dd> 475 </dd>
478 </dl> 476 </dl>
479 <a NAME="DebugClientBase.__generateFilterObjects" ID="DebugClientBase.__generateFilterObjects"></a> 477 <a NAME="DebugClientBase.__generateFilterObjects" ID="DebugClientBase.__generateFilterObjects"></a>
480 <h4>DebugClientBase.__generateFilterObjects</h4> 478 <h4>DebugClientBase.__generateFilterObjects</h4>
481 <b>__generateFilterObjects</b>(<i>scope, filterString</i>) 479 <b>__generateFilterObjects</b>(<i>scope, filterString</i>)
482
483 <p> 480 <p>
484 Private slot to convert a filter string to a list of filter objects. 481 Private slot to convert a filter string to a list of filter objects.
485 </p> 482 </p>
483
486 <dl> 484 <dl>
487 485
488 <dt><i>scope</i> (int)</dt> 486 <dt><i>scope</i> (int)</dt>
489 <dd> 487 <dd>
490 1 to generate filter for global variables, 0 for local 488 1 to generate filter for global variables, 0 for local
496 </dd> 494 </dd>
497 </dl> 495 </dl>
498 <a NAME="DebugClientBase.__getCompletionList" ID="DebugClientBase.__getCompletionList"></a> 496 <a NAME="DebugClientBase.__getCompletionList" ID="DebugClientBase.__getCompletionList"></a>
499 <h4>DebugClientBase.__getCompletionList</h4> 497 <h4>DebugClientBase.__getCompletionList</h4>
500 <b>__getCompletionList</b>(<i>text, completer, completions</i>) 498 <b>__getCompletionList</b>(<i>text, completer, completions</i>)
501
502 <p> 499 <p>
503 Private method to create a completions list. 500 Private method to create a completions list.
504 </p> 501 </p>
502
505 <dl> 503 <dl>
506 504
507 <dt><i>text</i> (str)</dt> 505 <dt><i>text</i> (str)</dt>
508 <dd> 506 <dd>
509 text to complete 507 text to complete
518 </dd> 516 </dd>
519 </dl> 517 </dl>
520 <a NAME="DebugClientBase.__getSysPath" ID="DebugClientBase.__getSysPath"></a> 518 <a NAME="DebugClientBase.__getSysPath" ID="DebugClientBase.__getSysPath"></a>
521 <h4>DebugClientBase.__getSysPath</h4> 519 <h4>DebugClientBase.__getSysPath</h4>
522 <b>__getSysPath</b>(<i>firstEntry</i>) 520 <b>__getSysPath</b>(<i>firstEntry</i>)
523
524 <p> 521 <p>
525 Private slot to calculate a path list including the PYTHONPATH 522 Private slot to calculate a path list including the PYTHONPATH
526 environment variable. 523 environment variable.
527 </p> 524 </p>
525
528 <dl> 526 <dl>
529 527
530 <dt><i>firstEntry</i> (str)</dt> 528 <dt><i>firstEntry</i> (str)</dt>
531 <dd> 529 <dd>
532 entry to be put first in sys.path 530 entry to be put first in sys.path
545 </dd> 543 </dd>
546 </dl> 544 </dl>
547 <a NAME="DebugClientBase.__interact" ID="DebugClientBase.__interact"></a> 545 <a NAME="DebugClientBase.__interact" ID="DebugClientBase.__interact"></a>
548 <h4>DebugClientBase.__interact</h4> 546 <h4>DebugClientBase.__interact</h4>
549 <b>__interact</b>(<i></i>) 547 <b>__interact</b>(<i></i>)
550
551 <p> 548 <p>
552 Private method to interact with the debugger. 549 Private method to interact with the debugger.
553 </p> 550 </p>
551
554 <a NAME="DebugClientBase.__interceptSignals" ID="DebugClientBase.__interceptSignals"></a> 552 <a NAME="DebugClientBase.__interceptSignals" ID="DebugClientBase.__interceptSignals"></a>
555 <h4>DebugClientBase.__interceptSignals</h4> 553 <h4>DebugClientBase.__interceptSignals</h4>
556 <b>__interceptSignals</b>(<i></i>) 554 <b>__interceptSignals</b>(<i></i>)
557
558 <p> 555 <p>
559 Private method to intercept common signals. 556 Private method to intercept common signals.
560 </p> 557 </p>
558
561 <a NAME="DebugClientBase.__resolveHost" ID="DebugClientBase.__resolveHost"></a> 559 <a NAME="DebugClientBase.__resolveHost" ID="DebugClientBase.__resolveHost"></a>
562 <h4>DebugClientBase.__resolveHost</h4> 560 <h4>DebugClientBase.__resolveHost</h4>
563 <b>__resolveHost</b>(<i>host</i>) 561 <b>__resolveHost</b>(<i>host</i>)
564
565 <p> 562 <p>
566 Private method to resolve a hostname to an IP address. 563 Private method to resolve a hostname to an IP address.
567 </p> 564 </p>
565
568 <dl> 566 <dl>
569 567
570 <dt><i>host</i> (str)</dt> 568 <dt><i>host</i> (str)</dt>
571 <dd> 569 <dd>
572 hostname of the debug server 570 hostname of the debug server
585 </dd> 583 </dd>
586 </dl> 584 </dl>
587 <a NAME="DebugClientBase.__setCoding" ID="DebugClientBase.__setCoding"></a> 585 <a NAME="DebugClientBase.__setCoding" ID="DebugClientBase.__setCoding"></a>
588 <h4>DebugClientBase.__setCoding</h4> 586 <h4>DebugClientBase.__setCoding</h4>
589 <b>__setCoding</b>(<i>filename</i>) 587 <b>__setCoding</b>(<i>filename</i>)
590
591 <p> 588 <p>
592 Private method to set the coding used by a python file. 589 Private method to set the coding used by a python file.
593 </p> 590 </p>
591
594 <dl> 592 <dl>
595 593
596 <dt><i>filename</i> (str)</dt> 594 <dt><i>filename</i> (str)</dt>
597 <dd> 595 <dd>
598 name of the file to inspect 596 name of the file to inspect
599 </dd> 597 </dd>
600 </dl> 598 </dl>
601 <a NAME="DebugClientBase.__signalHandler" ID="DebugClientBase.__signalHandler"></a> 599 <a NAME="DebugClientBase.__signalHandler" ID="DebugClientBase.__signalHandler"></a>
602 <h4>DebugClientBase.__signalHandler</h4> 600 <h4>DebugClientBase.__signalHandler</h4>
603 <b>__signalHandler</b>(<i>signalNumber, stackFrame</i>) 601 <b>__signalHandler</b>(<i>signalNumber, stackFrame</i>)
604
605 <p> 602 <p>
606 Private method to handle signals. 603 Private method to handle signals.
607 </p> 604 </p>
605
608 <dl> 606 <dl>
609 607
610 <dt><i>signalNumber</i> (int)</dt> 608 <dt><i>signalNumber</i> (int)</dt>
611 <dd> 609 <dd>
612 number of the signal to be handled 610 number of the signal to be handled
617 </dd> 615 </dd>
618 </dl> 616 </dl>
619 <a NAME="DebugClientBase.__unhandled_exception" ID="DebugClientBase.__unhandled_exception"></a> 617 <a NAME="DebugClientBase.__unhandled_exception" ID="DebugClientBase.__unhandled_exception"></a>
620 <h4>DebugClientBase.__unhandled_exception</h4> 618 <h4>DebugClientBase.__unhandled_exception</h4>
621 <b>__unhandled_exception</b>(<i>exctype, excval, exctb</i>) 619 <b>__unhandled_exception</b>(<i>exctype, excval, exctb</i>)
622
623 <p> 620 <p>
624 Private method called to report an uncaught exception. 621 Private method called to report an uncaught exception.
625 </p> 622 </p>
623
626 <dl> 624 <dl>
627 625
628 <dt><i>exctype</i> (type)</dt> 626 <dt><i>exctype</i> (type)</dt>
629 <dd> 627 <dd>
630 class of the exception 628 class of the exception
639 </dd> 637 </dd>
640 </dl> 638 </dl>
641 <a NAME="DebugClientBase.absPath" ID="DebugClientBase.absPath"></a> 639 <a NAME="DebugClientBase.absPath" ID="DebugClientBase.absPath"></a>
642 <h4>DebugClientBase.absPath</h4> 640 <h4>DebugClientBase.absPath</h4>
643 <b>absPath</b>(<i>fn</i>) 641 <b>absPath</b>(<i>fn</i>)
644
645 <p> 642 <p>
646 Public method to convert a filename to an absolute name. 643 Public method to convert a filename to an absolute name.
647 </p> 644 </p>
648 <p> 645 <p>
649 sys.path is used as a set of possible prefixes. The name stays 646 sys.path is used as a set of possible prefixes. The name stays
650 relative if a file could not be found. 647 relative if a file could not be found.
651 </p> 648 </p>
649
652 <dl> 650 <dl>
653 651
654 <dt><i>fn</i> (str)</dt> 652 <dt><i>fn</i> (str)</dt>
655 <dd> 653 <dd>
656 filename 654 filename
669 </dd> 667 </dd>
670 </dl> 668 </dl>
671 <a NAME="DebugClientBase.close" ID="DebugClientBase.close"></a> 669 <a NAME="DebugClientBase.close" ID="DebugClientBase.close"></a>
672 <h4>DebugClientBase.close</h4> 670 <h4>DebugClientBase.close</h4>
673 <b>close</b>(<i>fd</i>) 671 <b>close</b>(<i>fd</i>)
674
675 <p> 672 <p>
676 Public method implementing a close method as a replacement for 673 Public method implementing a close method as a replacement for
677 os.close(). 674 os.close().
678 </p> 675 </p>
679 <p> 676 <p>
680 It prevents the debugger connections from being closed. 677 It prevents the debugger connections from being closed.
681 </p> 678 </p>
679
682 <dl> 680 <dl>
683 681
684 <dt><i>fd</i> (int)</dt> 682 <dt><i>fd</i> (int)</dt>
685 <dd> 683 <dd>
686 file descriptor to be closed 684 file descriptor to be closed
687 </dd> 685 </dd>
688 </dl> 686 </dl>
689 <a NAME="DebugClientBase.connectDebugger" ID="DebugClientBase.connectDebugger"></a> 687 <a NAME="DebugClientBase.connectDebugger" ID="DebugClientBase.connectDebugger"></a>
690 <h4>DebugClientBase.connectDebugger</h4> 688 <h4>DebugClientBase.connectDebugger</h4>
691 <b>connectDebugger</b>(<i>port, remoteAddress=None, redirect=True, name=""</i>) 689 <b>connectDebugger</b>(<i>port, remoteAddress=None, redirect=True, name=""</i>)
692
693 <p> 690 <p>
694 Public method to establish a session with the debugger. 691 Public method to establish a session with the debugger.
695 </p> 692 </p>
696 <p> 693 <p>
697 It opens a network connection to the debugger, connects it to stdin, 694 It opens a network connection to the debugger, connects it to stdin,
698 stdout and stderr and saves these file objects in case the application 695 stdout and stderr and saves these file objects in case the application
699 being debugged redirects them itself. 696 being debugged redirects them itself.
700 </p> 697 </p>
698
701 <dl> 699 <dl>
702 700
703 <dt><i>port</i> (int)</dt> 701 <dt><i>port</i> (int)</dt>
704 <dd> 702 <dd>
705 the port number to connect to 703 the port number to connect to
719 </dd> 717 </dd>
720 </dl> 718 </dl>
721 <a NAME="DebugClientBase.eventLoop" ID="DebugClientBase.eventLoop"></a> 719 <a NAME="DebugClientBase.eventLoop" ID="DebugClientBase.eventLoop"></a>
722 <h4>DebugClientBase.eventLoop</h4> 720 <h4>DebugClientBase.eventLoop</h4>
723 <b>eventLoop</b>(<i>disablePolling=False</i>) 721 <b>eventLoop</b>(<i>disablePolling=False</i>)
724
725 <p> 722 <p>
726 Public method implementing our event loop. 723 Public method implementing our event loop.
727 </p> 724 </p>
725
728 <dl> 726 <dl>
729 727
730 <dt><i>disablePolling</i> (bool)</dt> 728 <dt><i>disablePolling</i> (bool)</dt>
731 <dd> 729 <dd>
732 flag indicating to enter an event loop with 730 flag indicating to enter an event loop with
734 </dd> 732 </dd>
735 </dl> 733 </dl>
736 <a NAME="DebugClientBase.eventPoll" ID="DebugClientBase.eventPoll"></a> 734 <a NAME="DebugClientBase.eventPoll" ID="DebugClientBase.eventPoll"></a>
737 <h4>DebugClientBase.eventPoll</h4> 735 <h4>DebugClientBase.eventPoll</h4>
738 <b>eventPoll</b>(<i></i>) 736 <b>eventPoll</b>(<i></i>)
739
740 <p> 737 <p>
741 Public method to poll for events like 'set break point'. 738 Public method to poll for events like 'set break point'.
742 </p> 739 </p>
740
743 <a NAME="DebugClientBase.getCoding" ID="DebugClientBase.getCoding"></a> 741 <a NAME="DebugClientBase.getCoding" ID="DebugClientBase.getCoding"></a>
744 <h4>DebugClientBase.getCoding</h4> 742 <h4>DebugClientBase.getCoding</h4>
745 <b>getCoding</b>(<i></i>) 743 <b>getCoding</b>(<i></i>)
746
747 <p> 744 <p>
748 Public method to return the current coding. 745 Public method to return the current coding.
749 </p> 746 </p>
747
750 <dl> 748 <dl>
751 <dt>Return:</dt> 749 <dt>Return:</dt>
752 <dd> 750 <dd>
753 codec name 751 codec name
754 </dd> 752 </dd>
760 </dd> 758 </dd>
761 </dl> 759 </dl>
762 <a NAME="DebugClientBase.getRunning" ID="DebugClientBase.getRunning"></a> 760 <a NAME="DebugClientBase.getRunning" ID="DebugClientBase.getRunning"></a>
763 <h4>DebugClientBase.getRunning</h4> 761 <h4>DebugClientBase.getRunning</h4>
764 <b>getRunning</b>(<i></i>) 762 <b>getRunning</b>(<i></i>)
765
766 <p> 763 <p>
767 Public method to return the main script we are currently running. 764 Public method to return the main script we are currently running.
768 </p> 765 </p>
766
769 <dl> 767 <dl>
770 <dt>Return:</dt> 768 <dt>Return:</dt>
771 <dd> 769 <dd>
772 flag indicating a running debug session 770 flag indicating a running debug session
773 </dd> 771 </dd>
779 </dd> 777 </dd>
780 </dl> 778 </dl>
781 <a NAME="DebugClientBase.handleJsonCommand" ID="DebugClientBase.handleJsonCommand"></a> 779 <a NAME="DebugClientBase.handleJsonCommand" ID="DebugClientBase.handleJsonCommand"></a>
782 <h4>DebugClientBase.handleJsonCommand</h4> 780 <h4>DebugClientBase.handleJsonCommand</h4>
783 <b>handleJsonCommand</b>(<i>jsonStr</i>) 781 <b>handleJsonCommand</b>(<i>jsonStr</i>)
784
785 <p> 782 <p>
786 Public method to handle a command serialized as a JSON string. 783 Public method to handle a command serialized as a JSON string.
787 </p> 784 </p>
785
788 <dl> 786 <dl>
789 787
790 <dt><i>jsonStr</i> (str)</dt> 788 <dt><i>jsonStr</i> (str)</dt>
791 <dd> 789 <dd>
792 string containing the command received from the IDE 790 string containing the command received from the IDE
793 </dd> 791 </dd>
794 </dl> 792 </dl>
795 <a NAME="DebugClientBase.input" ID="DebugClientBase.input"></a> 793 <a NAME="DebugClientBase.input" ID="DebugClientBase.input"></a>
796 <h4>DebugClientBase.input</h4> 794 <h4>DebugClientBase.input</h4>
797 <b>input</b>(<i>prompt, echo=True</i>) 795 <b>input</b>(<i>prompt, echo=True</i>)
798
799 <p> 796 <p>
800 Public method to implement input() using the event loop. 797 Public method to implement input() using the event loop.
801 </p> 798 </p>
799
802 <dl> 800 <dl>
803 801
804 <dt><i>prompt</i> (str)</dt> 802 <dt><i>prompt</i> (str)</dt>
805 <dd> 803 <dd>
806 prompt to be shown 804 prompt to be shown
823 </dd> 821 </dd>
824 </dl> 822 </dl>
825 <a NAME="DebugClientBase.main" ID="DebugClientBase.main"></a> 823 <a NAME="DebugClientBase.main" ID="DebugClientBase.main"></a>
826 <h4>DebugClientBase.main</h4> 824 <h4>DebugClientBase.main</h4>
827 <b>main</b>(<i></i>) 825 <b>main</b>(<i></i>)
828
829 <p> 826 <p>
830 Public method implementing the main method. 827 Public method implementing the main method.
831 </p> 828 </p>
829
832 <a NAME="DebugClientBase.progTerminated" ID="DebugClientBase.progTerminated"></a> 830 <a NAME="DebugClientBase.progTerminated" ID="DebugClientBase.progTerminated"></a>
833 <h4>DebugClientBase.progTerminated</h4> 831 <h4>DebugClientBase.progTerminated</h4>
834 <b>progTerminated</b>(<i>status, message="", closeSession=True</i>) 832 <b>progTerminated</b>(<i>status, message="", closeSession=True</i>)
835
836 <p> 833 <p>
837 Public method to tell the debugger that the program has terminated. 834 Public method to tell the debugger that the program has terminated.
838 </p> 835 </p>
836
839 <dl> 837 <dl>
840 838
841 <dt><i>status</i> (int)</dt> 839 <dt><i>status</i> (int)</dt>
842 <dd> 840 <dd>
843 return status 841 return status
852 </dd> 850 </dd>
853 </dl> 851 </dl>
854 <a NAME="DebugClientBase.readReady" ID="DebugClientBase.readReady"></a> 852 <a NAME="DebugClientBase.readReady" ID="DebugClientBase.readReady"></a>
855 <h4>DebugClientBase.readReady</h4> 853 <h4>DebugClientBase.readReady</h4>
856 <b>readReady</b>(<i>stream</i>) 854 <b>readReady</b>(<i>stream</i>)
857
858 <p> 855 <p>
859 Public method called when there is data ready to be read. 856 Public method called when there is data ready to be read.
860 </p> 857 </p>
858
861 <dl> 859 <dl>
862 860
863 <dt><i>stream</i> (file like)</dt> 861 <dt><i>stream</i> (file like)</dt>
864 <dd> 862 <dd>
865 file like object that has data to be read 863 file like object that has data to be read
878 </dd> 876 </dd>
879 </dl> 877 </dl>
880 <a NAME="DebugClientBase.run_call" ID="DebugClientBase.run_call"></a> 878 <a NAME="DebugClientBase.run_call" ID="DebugClientBase.run_call"></a>
881 <h4>DebugClientBase.run_call</h4> 879 <h4>DebugClientBase.run_call</h4>
882 <b>run_call</b>(<i>scriptname, func, *args</i>) 880 <b>run_call</b>(<i>scriptname, func, *args</i>)
883
884 <p> 881 <p>
885 Public method used to start the remote debugger and call a function. 882 Public method used to start the remote debugger and call a function.
886 </p> 883 </p>
884
887 <dl> 885 <dl>
888 886
889 <dt><i>scriptname</i> (str)</dt> 887 <dt><i>scriptname</i> (str)</dt>
890 <dd> 888 <dd>
891 name of the script to be debugged 889 name of the script to be debugged
912 </dd> 910 </dd>
913 </dl> 911 </dl>
914 <a NAME="DebugClientBase.sendCallTrace" ID="DebugClientBase.sendCallTrace"></a> 912 <a NAME="DebugClientBase.sendCallTrace" ID="DebugClientBase.sendCallTrace"></a>
915 <h4>DebugClientBase.sendCallTrace</h4> 913 <h4>DebugClientBase.sendCallTrace</h4>
916 <b>sendCallTrace</b>(<i>event, fromInfo, toInfo</i>) 914 <b>sendCallTrace</b>(<i>event, fromInfo, toInfo</i>)
917
918 <p> 915 <p>
919 Public method to send a call trace entry. 916 Public method to send a call trace entry.
920 </p> 917 </p>
918
921 <dl> 919 <dl>
922 920
923 <dt><i>event</i> (str)</dt> 921 <dt><i>event</i> (str)</dt>
924 <dd> 922 <dd>
925 trace event (call or return) 923 trace event (call or return)
936 </dd> 934 </dd>
937 </dl> 935 </dl>
938 <a NAME="DebugClientBase.sendClearTemporaryBreakpoint" ID="DebugClientBase.sendClearTemporaryBreakpoint"></a> 936 <a NAME="DebugClientBase.sendClearTemporaryBreakpoint" ID="DebugClientBase.sendClearTemporaryBreakpoint"></a>
939 <h4>DebugClientBase.sendClearTemporaryBreakpoint</h4> 937 <h4>DebugClientBase.sendClearTemporaryBreakpoint</h4>
940 <b>sendClearTemporaryBreakpoint</b>(<i>filename, lineno</i>) 938 <b>sendClearTemporaryBreakpoint</b>(<i>filename, lineno</i>)
941
942 <p> 939 <p>
943 Public method to signal the deletion of a temporary breakpoint. 940 Public method to signal the deletion of a temporary breakpoint.
944 </p> 941 </p>
942
945 <dl> 943 <dl>
946 944
947 <dt><i>filename</i> (str)</dt> 945 <dt><i>filename</i> (str)</dt>
948 <dd> 946 <dd>
949 name of the file the bp belongs to 947 name of the file the bp belongs to
954 </dd> 952 </dd>
955 </dl> 953 </dl>
956 <a NAME="DebugClientBase.sendClearTemporaryWatch" ID="DebugClientBase.sendClearTemporaryWatch"></a> 954 <a NAME="DebugClientBase.sendClearTemporaryWatch" ID="DebugClientBase.sendClearTemporaryWatch"></a>
957 <h4>DebugClientBase.sendClearTemporaryWatch</h4> 955 <h4>DebugClientBase.sendClearTemporaryWatch</h4>
958 <b>sendClearTemporaryWatch</b>(<i>condition</i>) 956 <b>sendClearTemporaryWatch</b>(<i>condition</i>)
959
960 <p> 957 <p>
961 Public method to signal the deletion of a temporary watch expression. 958 Public method to signal the deletion of a temporary watch expression.
962 </p> 959 </p>
960
963 <dl> 961 <dl>
964 962
965 <dt><i>condition</i> (str)</dt> 963 <dt><i>condition</i> (str)</dt>
966 <dd> 964 <dd>
967 condition of the watch expression to be cleared 965 condition of the watch expression to be cleared
968 </dd> 966 </dd>
969 </dl> 967 </dl>
970 <a NAME="DebugClientBase.sendDebuggerId" ID="DebugClientBase.sendDebuggerId"></a> 968 <a NAME="DebugClientBase.sendDebuggerId" ID="DebugClientBase.sendDebuggerId"></a>
971 <h4>DebugClientBase.sendDebuggerId</h4> 969 <h4>DebugClientBase.sendDebuggerId</h4>
972 <b>sendDebuggerId</b>(<i></i>) 970 <b>sendDebuggerId</b>(<i></i>)
973
974 <p> 971 <p>
975 Public method to send the debug client id. 972 Public method to send the debug client id.
976 </p> 973 </p>
974
977 <a NAME="DebugClientBase.sendException" ID="DebugClientBase.sendException"></a> 975 <a NAME="DebugClientBase.sendException" ID="DebugClientBase.sendException"></a>
978 <h4>DebugClientBase.sendException</h4> 976 <h4>DebugClientBase.sendException</h4>
979 <b>sendException</b>(<i>exceptionType, exceptionMessage, stack, threadName</i>) 977 <b>sendException</b>(<i>exceptionType, exceptionMessage, stack, threadName</i>)
980
981 <p> 978 <p>
982 Public method to send information for an exception. 979 Public method to send information for an exception.
983 </p> 980 </p>
981
984 <dl> 982 <dl>
985 983
986 <dt><i>exceptionType</i> (str)</dt> 984 <dt><i>exceptionType</i> (str)</dt>
987 <dd> 985 <dd>
988 type of exception raised 986 type of exception raised
1001 </dd> 999 </dd>
1002 </dl> 1000 </dl>
1003 <a NAME="DebugClientBase.sendJsonCommand" ID="DebugClientBase.sendJsonCommand"></a> 1001 <a NAME="DebugClientBase.sendJsonCommand" ID="DebugClientBase.sendJsonCommand"></a>
1004 <h4>DebugClientBase.sendJsonCommand</h4> 1002 <h4>DebugClientBase.sendJsonCommand</h4>
1005 <b>sendJsonCommand</b>(<i>method, params</i>) 1003 <b>sendJsonCommand</b>(<i>method, params</i>)
1006
1007 <p> 1004 <p>
1008 Public method to send a single command or response to the IDE. 1005 Public method to send a single command or response to the IDE.
1009 </p> 1006 </p>
1007
1010 <dl> 1008 <dl>
1011 1009
1012 <dt><i>method</i> (str)</dt> 1010 <dt><i>method</i> (str)</dt>
1013 <dd> 1011 <dd>
1014 command or response command name to be sent 1012 command or response command name to be sent
1020 </dd> 1018 </dd>
1021 </dl> 1019 </dl>
1022 <a NAME="DebugClientBase.sendPassiveStartup" ID="DebugClientBase.sendPassiveStartup"></a> 1020 <a NAME="DebugClientBase.sendPassiveStartup" ID="DebugClientBase.sendPassiveStartup"></a>
1023 <h4>DebugClientBase.sendPassiveStartup</h4> 1021 <h4>DebugClientBase.sendPassiveStartup</h4>
1024 <b>sendPassiveStartup</b>(<i>filename, reportAllExceptions</i>) 1022 <b>sendPassiveStartup</b>(<i>filename, reportAllExceptions</i>)
1025
1026 <p> 1023 <p>
1027 Public method to send the passive start information. 1024 Public method to send the passive start information.
1028 </p> 1025 </p>
1026
1029 <dl> 1027 <dl>
1030 1028
1031 <dt><i>filename</i> (str)</dt> 1029 <dt><i>filename</i> (str)</dt>
1032 <dd> 1030 <dd>
1033 name of the script 1031 name of the script
1038 </dd> 1036 </dd>
1039 </dl> 1037 </dl>
1040 <a NAME="DebugClientBase.sendResponseLine" ID="DebugClientBase.sendResponseLine"></a> 1038 <a NAME="DebugClientBase.sendResponseLine" ID="DebugClientBase.sendResponseLine"></a>
1041 <h4>DebugClientBase.sendResponseLine</h4> 1039 <h4>DebugClientBase.sendResponseLine</h4>
1042 <b>sendResponseLine</b>(<i>stack, threadName</i>) 1040 <b>sendResponseLine</b>(<i>stack, threadName</i>)
1043
1044 <p> 1041 <p>
1045 Public method to send the current call stack. 1042 Public method to send the current call stack.
1046 </p> 1043 </p>
1044
1047 <dl> 1045 <dl>
1048 1046
1049 <dt><i>stack</i> (list)</dt> 1047 <dt><i>stack</i> (list)</dt>
1050 <dd> 1048 <dd>
1051 call stack 1049 call stack
1056 </dd> 1054 </dd>
1057 </dl> 1055 </dl>
1058 <a NAME="DebugClientBase.sendSyntaxError" ID="DebugClientBase.sendSyntaxError"></a> 1056 <a NAME="DebugClientBase.sendSyntaxError" ID="DebugClientBase.sendSyntaxError"></a>
1059 <h4>DebugClientBase.sendSyntaxError</h4> 1057 <h4>DebugClientBase.sendSyntaxError</h4>
1060 <b>sendSyntaxError</b>(<i>message, filename, lineno, charno, threadName</i>) 1058 <b>sendSyntaxError</b>(<i>message, filename, lineno, charno, threadName</i>)
1061
1062 <p> 1059 <p>
1063 Public method to send information for a syntax error. 1060 Public method to send information for a syntax error.
1064 </p> 1061 </p>
1062
1065 <dl> 1063 <dl>
1066 1064
1067 <dt><i>message</i> (str)</dt> 1065 <dt><i>message</i> (str)</dt>
1068 <dd> 1066 <dd>
1069 syntax error message 1067 syntax error message
1086 </dd> 1084 </dd>
1087 </dl> 1085 </dl>
1088 <a NAME="DebugClientBase.sessionClose" ID="DebugClientBase.sessionClose"></a> 1086 <a NAME="DebugClientBase.sessionClose" ID="DebugClientBase.sessionClose"></a>
1089 <h4>DebugClientBase.sessionClose</h4> 1087 <h4>DebugClientBase.sessionClose</h4>
1090 <b>sessionClose</b>(<i>terminate=True</i>) 1088 <b>sessionClose</b>(<i>terminate=True</i>)
1091
1092 <p> 1089 <p>
1093 Public method to close the session with the debugger and optionally 1090 Public method to close the session with the debugger and optionally
1094 terminate. 1091 terminate.
1095 </p> 1092 </p>
1093
1096 <dl> 1094 <dl>
1097 1095
1098 <dt><i>terminate</i> (bool)</dt> 1096 <dt><i>terminate</i> (bool)</dt>
1099 <dd> 1097 <dd>
1100 flag indicating to terminate 1098 flag indicating to terminate
1101 </dd> 1099 </dd>
1102 </dl> 1100 </dl>
1103 <a NAME="DebugClientBase.setDisassembly" ID="DebugClientBase.setDisassembly"></a> 1101 <a NAME="DebugClientBase.setDisassembly" ID="DebugClientBase.setDisassembly"></a>
1104 <h4>DebugClientBase.setDisassembly</h4> 1102 <h4>DebugClientBase.setDisassembly</h4>
1105 <b>setDisassembly</b>(<i>disassembly</i>) 1103 <b>setDisassembly</b>(<i>disassembly</i>)
1106
1107 <p> 1104 <p>
1108 Public method to store a disassembly of the code object raising an 1105 Public method to store a disassembly of the code object raising an
1109 exception. 1106 exception.
1110 </p> 1107 </p>
1108
1111 <dl> 1109 <dl>
1112 1110
1113 <dt><i>disassembly</i> (dict)</dt> 1111 <dt><i>disassembly</i> (dict)</dt>
1114 <dd> 1112 <dd>
1115 dictionary containing the disassembly information 1113 dictionary containing the disassembly information
1116 </dd> 1114 </dd>
1117 </dl> 1115 </dl>
1118 <a NAME="DebugClientBase.skipMultiProcessDebugging" ID="DebugClientBase.skipMultiProcessDebugging"></a> 1116 <a NAME="DebugClientBase.skipMultiProcessDebugging" ID="DebugClientBase.skipMultiProcessDebugging"></a>
1119 <h4>DebugClientBase.skipMultiProcessDebugging</h4> 1117 <h4>DebugClientBase.skipMultiProcessDebugging</h4>
1120 <b>skipMultiProcessDebugging</b>(<i>scriptName</i>) 1118 <b>skipMultiProcessDebugging</b>(<i>scriptName</i>)
1121
1122 <p> 1119 <p>
1123 Public method to check, if the given script is eligible for debugging. 1120 Public method to check, if the given script is eligible for debugging.
1124 </p> 1121 </p>
1122
1125 <dl> 1123 <dl>
1126 1124
1127 <dt><i>scriptName</i> (str)</dt> 1125 <dt><i>scriptName</i> (str)</dt>
1128 <dd> 1126 <dd>
1129 name of the script to check 1127 name of the script to check
1142 </dd> 1140 </dd>
1143 </dl> 1141 </dl>
1144 <a NAME="DebugClientBase.startDebugger" ID="DebugClientBase.startDebugger"></a> 1142 <a NAME="DebugClientBase.startDebugger" ID="DebugClientBase.startDebugger"></a>
1145 <h4>DebugClientBase.startDebugger</h4> 1143 <h4>DebugClientBase.startDebugger</h4>
1146 <b>startDebugger</b>(<i>filename=None, host=None, port=None, enableTrace=True, reportAllExceptions=False, tracePython=False, redirect=True, passive=True, multiprocessSupport=False, </i>) 1144 <b>startDebugger</b>(<i>filename=None, host=None, port=None, enableTrace=True, reportAllExceptions=False, tracePython=False, redirect=True, passive=True, multiprocessSupport=False, </i>)
1147
1148 <p> 1145 <p>
1149 Public method used to start the remote debugger. 1146 Public method used to start the remote debugger.
1150 </p> 1147 </p>
1148
1151 <dl> 1149 <dl>
1152 1150
1153 <dt><i>filename</i> (str)</dt> 1151 <dt><i>filename</i> (str)</dt>
1154 <dd> 1152 <dd>
1155 the program to be debugged 1153 the program to be debugged
1191 </dd> 1189 </dd>
1192 </dl> 1190 </dl>
1193 <a NAME="DebugClientBase.startProgInDebugger" ID="DebugClientBase.startProgInDebugger"></a> 1191 <a NAME="DebugClientBase.startProgInDebugger" ID="DebugClientBase.startProgInDebugger"></a>
1194 <h4>DebugClientBase.startProgInDebugger</h4> 1192 <h4>DebugClientBase.startProgInDebugger</h4>
1195 <b>startProgInDebugger</b>(<i>progargs, wd="", host=None, port=None, tracePython=False, redirect=True, passive=True, multiprocessSupport=False, reportAllExceptions=False, callTraceOptimization=False, codeStr="", scriptModule="", </i>) 1193 <b>startProgInDebugger</b>(<i>progargs, wd="", host=None, port=None, tracePython=False, redirect=True, passive=True, multiprocessSupport=False, reportAllExceptions=False, callTraceOptimization=False, codeStr="", scriptModule="", </i>)
1196
1197 <p> 1194 <p>
1198 Public method used to start the remote debugger. 1195 Public method used to start the remote debugger.
1199 </p> 1196 </p>
1197
1200 <dl> 1198 <dl>
1201 1199
1202 <dt><i>progargs</i> (list of str)</dt> 1200 <dt><i>progargs</i> (list of str)</dt>
1203 <dd> 1201 <dd>
1204 commandline for the program to be debugged 1202 commandline for the program to be debugged
1265 </dd> 1263 </dd>
1266 </dl> 1264 </dl>
1267 <a NAME="DebugClientBase.writeReady" ID="DebugClientBase.writeReady"></a> 1265 <a NAME="DebugClientBase.writeReady" ID="DebugClientBase.writeReady"></a>
1268 <h4>DebugClientBase.writeReady</h4> 1266 <h4>DebugClientBase.writeReady</h4>
1269 <b>writeReady</b>(<i>stream</i>) 1267 <b>writeReady</b>(<i>stream</i>)
1270
1271 <p> 1268 <p>
1272 Public method called when we are ready to write data. 1269 Public method called when we are ready to write data.
1273 </p> 1270 </p>
1271
1274 <dl> 1272 <dl>
1275 1273
1276 <dt><i>stream</i> (file like)</dt> 1274 <dt><i>stream</i> (file like)</dt>
1277 <dd> 1275 <dd>
1278 file like object that has data to be written 1276 file like object that has data to be written
1282 <hr /> 1280 <hr />
1283 <hr /> 1281 <hr />
1284 <a NAME="DebugClientClose" ID="DebugClientClose"></a> 1282 <a NAME="DebugClientClose" ID="DebugClientClose"></a>
1285 <h2>DebugClientClose</h2> 1283 <h2>DebugClientClose</h2>
1286 <b>DebugClientClose</b>(<i>fd</i>) 1284 <b>DebugClientClose</b>(<i>fd</i>)
1287
1288 <p> 1285 <p>
1289 Replacement for the standard os.close(fd). 1286 Replacement for the standard os.close(fd).
1290 </p> 1287 </p>
1288
1291 <dl> 1289 <dl>
1292 1290
1293 <dt><i>fd</i> (int)</dt> 1291 <dt><i>fd</i> (int)</dt>
1294 <dd> 1292 <dd>
1295 open file descriptor to be closed 1293 open file descriptor to be closed
1299 <hr /> 1297 <hr />
1300 <hr /> 1298 <hr />
1301 <a NAME="DebugClientInput" ID="DebugClientInput"></a> 1299 <a NAME="DebugClientInput" ID="DebugClientInput"></a>
1302 <h2>DebugClientInput</h2> 1300 <h2>DebugClientInput</h2>
1303 <b>DebugClientInput</b>(<i>prompt="", echo=True</i>) 1301 <b>DebugClientInput</b>(<i>prompt="", echo=True</i>)
1304
1305 <p> 1302 <p>
1306 Replacement for the standard input() builtin. 1303 Replacement for the standard input() builtin.
1307 </p> 1304 </p>
1308 <p> 1305 <p>
1309 This function works with the split debugger. 1306 This function works with the split debugger.
1310 </p> 1307 </p>
1308
1311 <dl> 1309 <dl>
1312 1310
1313 <dt><i>prompt</i> (str)</dt> 1311 <dt><i>prompt</i> (str)</dt>
1314 <dd> 1312 <dd>
1315 prompt to be shown 1313 prompt to be shown
1335 <hr /> 1333 <hr />
1336 <hr /> 1334 <hr />
1337 <a NAME="DebugClientSetRecursionLimit" ID="DebugClientSetRecursionLimit"></a> 1335 <a NAME="DebugClientSetRecursionLimit" ID="DebugClientSetRecursionLimit"></a>
1338 <h2>DebugClientSetRecursionLimit</h2> 1336 <h2>DebugClientSetRecursionLimit</h2>
1339 <b>DebugClientSetRecursionLimit</b>(<i>limit</i>) 1337 <b>DebugClientSetRecursionLimit</b>(<i>limit</i>)
1340
1341 <p> 1338 <p>
1342 Replacement for the standard sys.setrecursionlimit(limit). 1339 Replacement for the standard sys.setrecursionlimit(limit).
1343 </p> 1340 </p>
1341
1344 <dl> 1342 <dl>
1345 1343
1346 <dt><i>limit</i> (int)</dt> 1344 <dt><i>limit</i> (int)</dt>
1347 <dd> 1345 <dd>
1348 recursion limit 1346 recursion limit

eric ide

mercurial