eric6/Documentation/Source/eric6.Debugger.DebugUI.html

branch
maintenance
changeset 8043
0acf98cd089a
parent 8008
ae9ab1e150dc
child 8163
29fb6d420a25
equal deleted inserted replaced
7991:866adc8c315b 8043:0acf98cd089a
58 <dt>appendStdout(msg)</dt> 58 <dt>appendStdout(msg)</dt>
59 <dd> 59 <dd>
60 emitted when the client program has terminated 60 emitted when the client program has terminated
61 and the display of the termination dialog is suppressed 61 and the display of the termination dialog is suppressed
62 </dd> 62 </dd>
63 <dt>clientStack(stack)</dt> 63 <dt>clientStack(stack, debuggerId)</dt>
64 <dd> 64 <dd>
65 emitted at breaking after a reported exception 65 emitted at breaking after a reported
66 exception
66 </dd> 67 </dd>
67 <dt>compileForms()</dt> 68 <dt>compileForms()</dt>
68 <dd> 69 <dd>
69 emitted if changed project forms should be compiled 70 emitted if changed project forms should be compiled
70 </dd> 71 </dd>
86 <dt>executeMake()</dt> 87 <dt>executeMake()</dt>
87 <dd> 88 <dd>
88 emitted if a project specific make run should be 89 emitted if a project specific make run should be
89 performed 90 performed
90 </dd> 91 </dd>
91 <dt>resetUI()</dt> 92 <dt>resetUI(full)</dt>
92 <dd> 93 <dd>
93 emitted to reset the UI 94 emitted to reset the UI partially or fully
94 </dd> 95 </dd>
95 </dl> 96 </dl>
96 <h3>Derived from</h3> 97 <h3>Derived from</h3>
97 QObject 98 QObject
98 <h3>Class Attributes</h3> 99 <h3>Class Attributes</h3>
128 <tr> 129 <tr>
129 <td><a href="#DebugUI.__clientBreakConditionError">__clientBreakConditionError</a></td> 130 <td><a href="#DebugUI.__clientBreakConditionError">__clientBreakConditionError</a></td>
130 <td>Private method to handle a condition error of a breakpoint.</td> 131 <td>Private method to handle a condition error of a breakpoint.</td>
131 </tr> 132 </tr>
132 <tr> 133 <tr>
134 <td><a href="#DebugUI.__clientDebuggerId">__clientDebuggerId</a></td>
135 <td>Private slot to track the list of connected debuggers.</td>
136 </tr>
137 <tr>
138 <td><a href="#DebugUI.__clientDisconnected">__clientDisconnected</a></td>
139 <td>Private slot to handle a debug client disconnecting its control socket.</td>
140 </tr>
141 <tr>
133 <td><a href="#DebugUI.__clientException">__clientException</a></td> 142 <td><a href="#DebugUI.__clientException">__clientException</a></td>
134 <td>Private method to handle an exception of the debugged program.</td> 143 <td>Private method to handle an exception of the debugged program.</td>
135 </tr> 144 </tr>
136 <tr> 145 <tr>
137 <td><a href="#DebugUI.__clientExit">__clientExit</a></td> 146 <td><a href="#DebugUI.__clientExit">__clientExit</a></td>
138 <td>Private method to handle the debugged program terminating.</td> 147 <td>Private slot to handle the debugged program terminating.</td>
139 </tr> 148 </tr>
140 <tr> 149 <tr>
141 <td><a href="#DebugUI.__clientGone">__clientGone</a></td> 150 <td><a href="#DebugUI.__clientGone">__clientGone</a></td>
142 <td>Private method to handle the disconnection of the debugger client.</td> 151 <td>Private method to handle the disconnection of the debugger client.</td>
143 </tr> 152 </tr>
252 <tr> 261 <tr>
253 <td><a href="#DebugUI.__getThreadList">__getThreadList</a></td> 262 <td><a href="#DebugUI.__getThreadList">__getThreadList</a></td>
254 <td>Private method to get the list of threads from the client.</td> 263 <td>Private method to get the list of threads from the client.</td>
255 </tr> 264 </tr>
256 <tr> 265 <tr>
266 <td><a href="#DebugUI.__lastClientExited">__lastClientExited</a></td>
267 <td>Private slot handling the exit of the last client.</td>
268 </tr>
269 <tr>
257 <td><a href="#DebugUI.__lastEditorClosed">__lastEditorClosed</a></td> 270 <td><a href="#DebugUI.__lastEditorClosed">__lastEditorClosed</a></td>
258 <td>Private slot to handle the closeProgram signal.</td> 271 <td>Private slot to handle the closeProgram signal.</td>
259 </tr> 272 </tr>
260 <tr> 273 <tr>
261 <td><a href="#DebugUI.__moveInstructionPointer">__moveInstructionPointer</a></td> 274 <td><a href="#DebugUI.__moveInstructionPointer">__moveInstructionPointer</a></td>
304 <tr> 317 <tr>
305 <td><a href="#DebugUI.__runToCursor">__runToCursor</a></td> 318 <td><a href="#DebugUI.__runToCursor">__runToCursor</a></td>
306 <td>Private method to handle the Run to Cursor action.</td> 319 <td>Private method to handle the Run to Cursor action.</td>
307 </tr> 320 </tr>
308 <tr> 321 <tr>
322 <td><a href="#DebugUI.__runUntil">__runUntil</a></td>
323 <td>Private method to handle the Run Until action.</td>
324 </tr>
325 <tr>
309 <td><a href="#DebugUI.__showBreakpointsMenu">__showBreakpointsMenu</a></td> 326 <td><a href="#DebugUI.__showBreakpointsMenu">__showBreakpointsMenu</a></td>
310 <td>Private method to handle the show breakpoints menu signal.</td> 327 <td>Private method to handle the show breakpoints menu signal.</td>
311 </tr> 328 </tr>
312 <tr> 329 <tr>
313 <td><a href="#DebugUI.__showDebugMenu">__showDebugMenu</a></td> 330 <td><a href="#DebugUI.__showDebugMenu">__showDebugMenu</a></td>
348 <tr> 365 <tr>
349 <td><a href="#DebugUI.getActions">getActions</a></td> 366 <td><a href="#DebugUI.getActions">getActions</a></td>
350 <td>Public method to get a list of all actions.</td> 367 <td>Public method to get a list of all actions.</td>
351 </tr> 368 </tr>
352 <tr> 369 <tr>
370 <td><a href="#DebugUI.getSelectedDebuggerId">getSelectedDebuggerId</a></td>
371 <td>Public method to get the currently selected debugger ID.</td>
372 </tr>
373 <tr>
353 <td><a href="#DebugUI.initActions">initActions</a></td> 374 <td><a href="#DebugUI.initActions">initActions</a></td>
354 <td>Public method defining the user interface actions.</td> 375 <td>Public method defining the user interface actions.</td>
355 </tr> 376 </tr>
356 <tr> 377 <tr>
357 <td><a href="#DebugUI.initMenus">initMenus</a></td> 378 <td><a href="#DebugUI.initMenus">initMenus</a></td>
372 <tr> 393 <tr>
373 <td><a href="#DebugUI.setAutoContinue">setAutoContinue</a></td> 394 <td><a href="#DebugUI.setAutoContinue">setAutoContinue</a></td>
374 <td>Public slot to initialize the autoContinue flag.</td> 395 <td>Public slot to initialize the autoContinue flag.</td>
375 </tr> 396 </tr>
376 <tr> 397 <tr>
398 <td><a href="#DebugUI.setDebugActionsEnabled">setDebugActionsEnabled</a></td>
399 <td>Public method to set the enabled state of the debug actions.</td>
400 </tr>
401 <tr>
402 <td><a href="#DebugUI.setEnableMultiprocess">setEnableMultiprocess</a></td>
403 <td>Public slot to initialize the enableMultiprocess flag.</td>
404 </tr>
405 <tr>
377 <td><a href="#DebugUI.setEnvHistory">setEnvHistory</a></td> 406 <td><a href="#DebugUI.setEnvHistory">setEnvHistory</a></td>
378 <td>Public slot to initialize the env history.</td> 407 <td>Public slot to initialize the env history.</td>
379 </tr> 408 </tr>
380 <tr> 409 <tr>
381 <td><a href="#DebugUI.setExcIgnoreList">setExcIgnoreList</a></td> 410 <td><a href="#DebugUI.setExcIgnoreList">setExcIgnoreList</a></td>
388 <tr> 417 <tr>
389 <td><a href="#DebugUI.setExceptionReporting">setExceptionReporting</a></td> 418 <td><a href="#DebugUI.setExceptionReporting">setExceptionReporting</a></td>
390 <td>Public slot to initialize the exception reporting flag.</td> 419 <td>Public slot to initialize the exception reporting flag.</td>
391 </tr> 420 </tr>
392 <tr> 421 <tr>
422 <td><a href="#DebugUI.setMultiprocessNoDebugHistory">setMultiprocessNoDebugHistory</a></td>
423 <td>Public slot to initialize the no debug list history.</td>
424 </tr>
425 <tr>
393 <td><a href="#DebugUI.setTracePython">setTracePython</a></td> 426 <td><a href="#DebugUI.setTracePython">setTracePython</a></td>
394 <td>Public slot to initialize the trace Python flag.</td> 427 <td>Public slot to initialize the trace Python flag.</td>
395 </tr> 428 </tr>
396 <tr> 429 <tr>
397 <td><a href="#DebugUI.setWdHistory">setWdHistory</a></td> 430 <td><a href="#DebugUI.setWdHistory">setWdHistory</a></td>
398 <td>Public slot to initialize the wd history.</td> 431 <td>Public slot to initialize the wd history.</td>
432 </tr>
433 <tr>
434 <td><a href="#DebugUI.showNotification">showNotification</a></td>
435 <td>Public method to show some notification message.</td>
399 </tr> 436 </tr>
400 <tr> 437 <tr>
401 <td><a href="#DebugUI.shutdown">shutdown</a></td> 438 <td><a href="#DebugUI.shutdown">shutdown</a></td>
402 <td>Public method to perform shutdown actions.</td> 439 <td>Public method to perform shutdown actions.</td>
403 </tr> 440 </tr>
481 <p> 518 <p>
482 Private slot to handle the 'Clear breakpoints' action. 519 Private slot to handle the 'Clear breakpoints' action.
483 </p> 520 </p>
484 <a NAME="DebugUI.__clientBreakConditionError" ID="DebugUI.__clientBreakConditionError"></a> 521 <a NAME="DebugUI.__clientBreakConditionError" ID="DebugUI.__clientBreakConditionError"></a>
485 <h4>DebugUI.__clientBreakConditionError</h4> 522 <h4>DebugUI.__clientBreakConditionError</h4>
486 <b>__clientBreakConditionError</b>(<i>filename, lineno</i>) 523 <b>__clientBreakConditionError</b>(<i>filename, lineno, debuggerId</i>)
487 524
488 <p> 525 <p>
489 Private method to handle a condition error of a breakpoint. 526 Private method to handle a condition error of a breakpoint.
490 </p> 527 </p>
491 <dl> 528 <dl>
492 529
493 <dt><i>filename</i></dt> 530 <dt><i>filename</i> (str)</dt>
494 <dd> 531 <dd>
495 filename of the breakpoint (string) 532 filename of the breakpoint
496 </dd> 533 </dd>
497 <dt><i>lineno</i></dt> 534 <dt><i>lineno</i> (int)</dt>
498 <dd> 535 <dd>
499 linenumber of the breakpoint (integer) 536 line umber of the breakpoint
537 </dd>
538 <dt><i>debuggerId</i> (str)</dt>
539 <dd>
540 ID of the debugger backend
541 </dd>
542 </dl>
543 <a NAME="DebugUI.__clientDebuggerId" ID="DebugUI.__clientDebuggerId"></a>
544 <h4>DebugUI.__clientDebuggerId</h4>
545 <b>__clientDebuggerId</b>(<i>debuggerId</i>)
546
547 <p>
548 Private slot to track the list of connected debuggers.
549 </p>
550 <dl>
551
552 <dt><i>debuggerId</i> (str)</dt>
553 <dd>
554 ID of the debugger backend
555 </dd>
556 </dl>
557 <a NAME="DebugUI.__clientDisconnected" ID="DebugUI.__clientDisconnected"></a>
558 <h4>DebugUI.__clientDisconnected</h4>
559 <b>__clientDisconnected</b>(<i>debuggerId</i>)
560
561 <p>
562 Private slot to handle a debug client disconnecting its control
563 socket.
564 </p>
565 <dl>
566
567 <dt><i>debuggerId</i> (str)</dt>
568 <dd>
569 ID of the debugger backend
500 </dd> 570 </dd>
501 </dl> 571 </dl>
502 <a NAME="DebugUI.__clientException" ID="DebugUI.__clientException"></a> 572 <a NAME="DebugUI.__clientException" ID="DebugUI.__clientException"></a>
503 <h4>DebugUI.__clientException</h4> 573 <h4>DebugUI.__clientException</h4>
504 <b>__clientException</b>(<i>exceptionType, exceptionMessage, stackTrace</i>) 574 <b>__clientException</b>(<i>exceptionType, exceptionMessage, stackTrace, debuggerId</i>)
505 575
506 <p> 576 <p>
507 Private method to handle an exception of the debugged program. 577 Private method to handle an exception of the debugged program.
508 </p> 578 </p>
509 <dl> 579 <dl>
510 580
511 <dt><i>exceptionType</i></dt> 581 <dt><i>exceptionType</i> (str)</dt>
512 <dd> 582 <dd>
513 type of exception raised (string) 583 type of exception raised
514 </dd> 584 </dd>
515 <dt><i>exceptionMessage</i></dt> 585 <dt><i>exceptionMessage</i> ((str)</dt>
516 <dd> 586 <dd>
517 message given by the exception (string) 587 message given by the exception
518 </dd> 588 </dd>
519 <dt><i>stackTrace</i></dt> 589 <dt><i>stackTrace</i> (list of str)</dt>
520 <dd> 590 <dd>
521 list of stack entries (list of string) 591 list of stack entries
592 </dd>
593 <dt><i>debuggerId</i> (str)</dt>
594 <dd>
595 ID of the debugger backend
522 </dd> 596 </dd>
523 </dl> 597 </dl>
524 <a NAME="DebugUI.__clientExit" ID="DebugUI.__clientExit"></a> 598 <a NAME="DebugUI.__clientExit" ID="DebugUI.__clientExit"></a>
525 <h4>DebugUI.__clientExit</h4> 599 <h4>DebugUI.__clientExit</h4>
526 <b>__clientExit</b>(<i>status, message, quiet</i>) 600 <b>__clientExit</b>(<i>program, status, message, quiet, debuggerId</i>)
527 601
528 <p> 602 <p>
529 Private method to handle the debugged program terminating. 603 Private slot to handle the debugged program terminating.
530 </p> 604 </p>
531 <dl> 605 <dl>
532 606
607 <dt><i>program</i> (str)</dt>
608 <dd>
609 name of the exited program
610 </dd>
533 <dt><i>status</i> (int)</dt> 611 <dt><i>status</i> (int)</dt>
534 <dd> 612 <dd>
535 exit code of the debugged program 613 exit code of the debugged program
536 </dd> 614 </dd>
537 <dt><i>message</i> (str)</dt> 615 <dt><i>message</i> (str)</dt>
539 exit message of the debugged program 617 exit message of the debugged program
540 </dd> 618 </dd>
541 <dt><i>quiet</i> (bool)</dt> 619 <dt><i>quiet</i> (bool)</dt>
542 <dd> 620 <dd>
543 flag indicating to suppress exit info display 621 flag indicating to suppress exit info display
622 </dd>
623 <dt><i>debuggerId</i> (str)</dt>
624 <dd>
625 ID of the debugger backend
544 </dd> 626 </dd>
545 </dl> 627 </dl>
546 <a NAME="DebugUI.__clientGone" ID="DebugUI.__clientGone"></a> 628 <a NAME="DebugUI.__clientGone" ID="DebugUI.__clientGone"></a>
547 <h4>DebugUI.__clientGone</h4> 629 <h4>DebugUI.__clientGone</h4>
548 <b>__clientGone</b>(<i>unplanned</i>) 630 <b>__clientGone</b>(<i>unplanned</i>)
557 True if the client died, False otherwise 639 True if the client died, False otherwise
558 </dd> 640 </dd>
559 </dl> 641 </dl>
560 <a NAME="DebugUI.__clientLine" ID="DebugUI.__clientLine"></a> 642 <a NAME="DebugUI.__clientLine" ID="DebugUI.__clientLine"></a>
561 <h4>DebugUI.__clientLine</h4> 643 <h4>DebugUI.__clientLine</h4>
562 <b>__clientLine</b>(<i>fn, line, forStack</i>) 644 <b>__clientLine</b>(<i>fn, line, debuggerId, threadName, forStack</i>)
563 645
564 <p> 646 <p>
565 Private method to handle a change to the current line. 647 Private method to handle a change to the current line.
566 </p> 648 </p>
567 <dl> 649 <dl>
568 650
569 <dt><i>fn</i></dt> 651 <dt><i>fn</i> (str)</dt>
570 <dd> 652 <dd>
571 filename (string) 653 filename
572 </dd> 654 </dd>
573 <dt><i>line</i></dt> 655 <dt><i>line</i> (int)</dt>
574 <dd> 656 <dd>
575 linenumber (int) 657 linenumber
576 </dd> 658 </dd>
577 <dt><i>forStack</i></dt> 659 <dt><i>debuggerId</i> (str)</dt>
578 <dd> 660 <dd>
579 flag indicating this is for a stack dump (boolean) 661 ID of the debugger backend
662 </dd>
663 <dt><i>threadName</i> (str)</dt>
664 <dd>
665 name of the thread signaling the event
666 </dd>
667 <dt><i>forStack</i> (bool)</dt>
668 <dd>
669 flag indicating this is for a stack dump
580 </dd> 670 </dd>
581 </dl> 671 </dl>
582 <a NAME="DebugUI.__clientSignal" ID="DebugUI.__clientSignal"></a> 672 <a NAME="DebugUI.__clientSignal" ID="DebugUI.__clientSignal"></a>
583 <h4>DebugUI.__clientSignal</h4> 673 <h4>DebugUI.__clientSignal</h4>
584 <b>__clientSignal</b>(<i>message, filename, lineNo, funcName, funcArgs</i>) 674 <b>__clientSignal</b>(<i>message, filename, lineNo, funcName, funcArgs, debuggerId</i>)
585 675
586 <p> 676 <p>
587 Private method to handle a signal generated on the client side. 677 Private method to handle a signal generated on the client side.
588 </p> 678 </p>
589 <dl> 679 <dl>
605 name of the function causing the signal 695 name of the function causing the signal
606 </dd> 696 </dd>
607 <dt><i>funcArgs</i> (str)</dt> 697 <dt><i>funcArgs</i> (str)</dt>
608 <dd> 698 <dd>
609 function arguments 699 function arguments
700 </dd>
701 <dt><i>debuggerId</i> (str)</dt>
702 <dd>
703 ID of the debugger backend
610 </dd> 704 </dd>
611 </dl> 705 </dl>
612 <a NAME="DebugUI.__clientSyntaxError" ID="DebugUI.__clientSyntaxError"></a> 706 <a NAME="DebugUI.__clientSyntaxError" ID="DebugUI.__clientSyntaxError"></a>
613 <h4>DebugUI.__clientSyntaxError</h4> 707 <h4>DebugUI.__clientSyntaxError</h4>
614 <b>__clientSyntaxError</b>(<i>message, filename, lineNo, characterNo</i>) 708 <b>__clientSyntaxError</b>(<i>message, filename, lineNo, characterNo</i>)
637 (integer) 731 (integer)
638 </dd> 732 </dd>
639 </dl> 733 </dl>
640 <a NAME="DebugUI.__clientThreadSet" ID="DebugUI.__clientThreadSet"></a> 734 <a NAME="DebugUI.__clientThreadSet" ID="DebugUI.__clientThreadSet"></a>
641 <h4>DebugUI.__clientThreadSet</h4> 735 <h4>DebugUI.__clientThreadSet</h4>
642 <b>__clientThreadSet</b>(<i></i>) 736 <b>__clientThreadSet</b>(<i>debuggerId</i>)
643 737
644 <p> 738 <p>
645 Private method to handle a change of the client's current thread. 739 Private method to handle a change of the client's current thread.
646 </p> 740 </p>
741 <dl>
742
743 <dt><i>debuggerId</i> (str)</dt>
744 <dd>
745 ID of the debugger backend
746 </dd>
747 </dl>
647 <a NAME="DebugUI.__clientVariable" ID="DebugUI.__clientVariable"></a> 748 <a NAME="DebugUI.__clientVariable" ID="DebugUI.__clientVariable"></a>
648 <h4>DebugUI.__clientVariable</h4> 749 <h4>DebugUI.__clientVariable</h4>
649 <b>__clientVariable</b>(<i>scope, variables</i>) 750 <b>__clientVariable</b>(<i>scope, variables, debuggerId</i>)
650 751
651 <p> 752 <p>
652 Private method to write the contents of a clients classvariable to 753 Private method to write the contents of a clients classvariable to
653 the user interface. 754 the user interface.
654 </p> 755 </p>
655 <dl> 756 <dl>
656 757
657 <dt><i>scope</i></dt> 758 <dt><i>scope</i> (int)</dt>
658 <dd> 759 <dd>
659 scope of the variables (-1 = empty global, 1 = global, 760 scope of the variables (-1 = empty locals, 1 = global,
660 0 = local) 761 0 = local)
661 </dd> 762 </dd>
662 <dt><i>variables</i></dt> 763 <dt><i>variables</i> (list)</dt>
663 <dd> 764 <dd>
664 the list of members of a classvariable from the client 765 the list of variables from the client
766 </dd>
767 <dt><i>debuggerId</i> (str)</dt>
768 <dd>
769 ID of the debugger backend
665 </dd> 770 </dd>
666 </dl> 771 </dl>
667 <a NAME="DebugUI.__clientVariables" ID="DebugUI.__clientVariables"></a> 772 <a NAME="DebugUI.__clientVariables" ID="DebugUI.__clientVariables"></a>
668 <h4>DebugUI.__clientVariables</h4> 773 <h4>DebugUI.__clientVariables</h4>
669 <b>__clientVariables</b>(<i>scope, variables</i>) 774 <b>__clientVariables</b>(<i>scope, variables, debuggerId</i>)
670 775
671 <p> 776 <p>
672 Private method to write the clients variables to the user interface. 777 Private method to write the clients variables to the user interface.
673 </p> 778 </p>
674 <dl> 779 <dl>
675 780
676 <dt><i>scope</i></dt> 781 <dt><i>scope</i> (int)</dt>
677 <dd> 782 <dd>
678 scope of the variables (-1 = empty global, 1 = global, 783 scope of the variables (-1 = empty locals, 1 = global,
679 0 = local) 784 0 = local)
680 </dd> 785 </dd>
681 <dt><i>variables</i></dt> 786 <dt><i>variables</i> (list)</dt>
682 <dd> 787 <dd>
683 the list of variables from the client 788 the list of variables from the client
789 </dd>
790 <dt><i>debuggerId</i> (str)</dt>
791 <dd>
792 ID of the debugger backend
684 </dd> 793 </dd>
685 </dl> 794 </dl>
686 <a NAME="DebugUI.__clientWatchConditionError" ID="DebugUI.__clientWatchConditionError"></a> 795 <a NAME="DebugUI.__clientWatchConditionError" ID="DebugUI.__clientWatchConditionError"></a>
687 <h4>DebugUI.__clientWatchConditionError</h4> 796 <h4>DebugUI.__clientWatchConditionError</h4>
688 <b>__clientWatchConditionError</b>(<i>cond</i>) 797 <b>__clientWatchConditionError</b>(<i>cond, debuggerId</i>)
689 798
690 <p> 799 <p>
691 Private method to handle a expression error of a watch expression. 800 Private method to handle a expression error of a watch expression.
692 </p> 801 </p>
693 <p> 802 <p>
694 Note: This can only happen for normal watch expressions 803 Note: This can only happen for normal watch expressions
695 </p> 804 </p>
696 <dl> 805 <dl>
697 806
698 <dt><i>cond</i></dt> 807 <dt><i>cond</i> (str)</dt>
699 <dd> 808 <dd>
700 expression of the watch expression (string) 809 expression of the watch expression
810 </dd>
811 <dt><i>debuggerId</i> (str)</dt>
812 <dd>
813 ID of the debugger backend
701 </dd> 814 </dd>
702 </dl> 815 </dl>
703 <a NAME="DebugUI.__compileChangedProjectFiles" ID="DebugUI.__compileChangedProjectFiles"></a> 816 <a NAME="DebugUI.__compileChangedProjectFiles" ID="DebugUI.__compileChangedProjectFiles"></a>
704 <h4>DebugUI.__compileChangedProjectFiles</h4> 817 <h4>DebugUI.__compileChangedProjectFiles</h4>
705 <b>__compileChangedProjectFiles</b>(<i></i>) 818 <b>__compileChangedProjectFiles</b>(<i></i>)
729 <p> 842 <p>
730 Private slot for displaying the variables filter configuration dialog. 843 Private slot for displaying the variables filter configuration dialog.
731 </p> 844 </p>
732 <a NAME="DebugUI.__continue" ID="DebugUI.__continue"></a> 845 <a NAME="DebugUI.__continue" ID="DebugUI.__continue"></a>
733 <h4>DebugUI.__continue</h4> 846 <h4>DebugUI.__continue</h4>
734 <b>__continue</b>(<i></i>) 847 <b>__continue</b>(<i>debuggerId=""</i>)
735 848
736 <p> 849 <p>
737 Private method to handle the Continue action. 850 Private method to handle the Continue action.
738 </p> 851 </p>
852 <dl>
853
854 <dt><i>debuggerId</i> (str)</dt>
855 <dd>
856 ID of the debugger backend
857 </dd>
858 </dl>
739 <a NAME="DebugUI.__coverageProject" ID="DebugUI.__coverageProject"></a> 859 <a NAME="DebugUI.__coverageProject" ID="DebugUI.__coverageProject"></a>
740 <h4>DebugUI.__coverageProject</h4> 860 <h4>DebugUI.__coverageProject</h4>
741 <b>__coverageProject</b>(<i></i>) 861 <b>__coverageProject</b>(<i></i>)
742 862
743 <p> 863 <p>
878 This method is called just prior to executing some of 998 This method is called just prior to executing some of
879 the program being debugged. 999 the program being debugged.
880 </p> 1000 </p>
881 <a NAME="DebugUI.__getClientDisassembly" ID="DebugUI.__getClientDisassembly"></a> 1001 <a NAME="DebugUI.__getClientDisassembly" ID="DebugUI.__getClientDisassembly"></a>
882 <h4>DebugUI.__getClientDisassembly</h4> 1002 <h4>DebugUI.__getClientDisassembly</h4>
883 <b>__getClientDisassembly</b>(<i></i>) 1003 <b>__getClientDisassembly</b>(<i>debuggerId</i>)
884 1004
885 <p> 1005 <p>
886 Private method to ask the client for the latest traceback disassembly. 1006 Private method to ask the client for the latest traceback disassembly.
887 </p> 1007 </p>
1008 <dl>
1009
1010 <dt><i>debuggerId</i> (str)</dt>
1011 <dd>
1012 ID of the debugger backend
1013 </dd>
1014 </dl>
888 <a NAME="DebugUI.__getClientVariables" ID="DebugUI.__getClientVariables"></a> 1015 <a NAME="DebugUI.__getClientVariables" ID="DebugUI.__getClientVariables"></a>
889 <h4>DebugUI.__getClientVariables</h4> 1016 <h4>DebugUI.__getClientVariables</h4>
890 <b>__getClientVariables</b>(<i></i>) 1017 <b>__getClientVariables</b>(<i>debuggerId</i>)
891 1018
892 <p> 1019 <p>
893 Private method to request the global and local variables. 1020 Private method to request the global and local variables.
894 </p> 1021 </p>
895 <p> 1022 <p>
896 In the first step, the global variables are requested from the client. 1023 In the first step, the global variables are requested from the client.
897 Once these have been received, the local variables are requested. 1024 Once these have been received, the local variables are requested.
898 This happens in the method '__clientVariables'. 1025 This happens in the method '__clientVariables'.
899 </p> 1026 </p>
1027 <dl>
1028
1029 <dt><i>debuggerId</i> (str)</dt>
1030 <dd>
1031 ID of the debugger backend
1032 </dd>
1033 </dl>
900 <a NAME="DebugUI.__getThreadList" ID="DebugUI.__getThreadList"></a> 1034 <a NAME="DebugUI.__getThreadList" ID="DebugUI.__getThreadList"></a>
901 <h4>DebugUI.__getThreadList</h4> 1035 <h4>DebugUI.__getThreadList</h4>
902 <b>__getThreadList</b>(<i></i>) 1036 <b>__getThreadList</b>(<i>debuggerId</i>)
903 1037
904 <p> 1038 <p>
905 Private method to get the list of threads from the client. 1039 Private method to get the list of threads from the client.
1040 </p>
1041 <dl>
1042
1043 <dt><i>debuggerId</i> (str)</dt>
1044 <dd>
1045 ID of the debugger backend
1046 </dd>
1047 </dl>
1048 <a NAME="DebugUI.__lastClientExited" ID="DebugUI.__lastClientExited"></a>
1049 <h4>DebugUI.__lastClientExited</h4>
1050 <b>__lastClientExited</b>(<i></i>)
1051
1052 <p>
1053 Private slot handling the exit of the last client.
906 </p> 1054 </p>
907 <a NAME="DebugUI.__lastEditorClosed" ID="DebugUI.__lastEditorClosed"></a> 1055 <a NAME="DebugUI.__lastEditorClosed" ID="DebugUI.__lastEditorClosed"></a>
908 <h4>DebugUI.__lastEditorClosed</h4> 1056 <h4>DebugUI.__lastEditorClosed</h4>
909 <b>__lastEditorClosed</b>(<i></i>) 1057 <b>__lastEditorClosed</b>(<i></i>)
910 1058
911 <p> 1059 <p>
912 Private slot to handle the closeProgram signal. 1060 Private slot to handle the closeProgram signal.
913 </p> 1061 </p>
914 <a NAME="DebugUI.__moveInstructionPointer" ID="DebugUI.__moveInstructionPointer"></a> 1062 <a NAME="DebugUI.__moveInstructionPointer" ID="DebugUI.__moveInstructionPointer"></a>
915 <h4>DebugUI.__moveInstructionPointer</h4> 1063 <h4>DebugUI.__moveInstructionPointer</h4>
916 <b>__moveInstructionPointer</b>(<i></i>) 1064 <b>__moveInstructionPointer</b>(<i>debuggerId=""</i>)
917 1065
918 <p> 1066 <p>
919 Private method to move the instruction pointer to a different line. 1067 Private method to move the instruction pointer to a different line.
920 </p> 1068 </p>
1069 <dl>
1070
1071 <dt><i>debuggerId</i> (str)</dt>
1072 <dd>
1073 ID of the debugger backend
1074 </dd>
1075 </dl>
921 <a NAME="DebugUI.__nextBreakpoint" ID="DebugUI.__nextBreakpoint"></a> 1076 <a NAME="DebugUI.__nextBreakpoint" ID="DebugUI.__nextBreakpoint"></a>
922 <h4>DebugUI.__nextBreakpoint</h4> 1077 <h4>DebugUI.__nextBreakpoint</h4>
923 <b>__nextBreakpoint</b>(<i></i>) 1078 <b>__nextBreakpoint</b>(<i></i>)
924 1079
925 <p> 1080 <p>
978 <p> 1133 <p>
979 Private slot to handle the projectOpened signal. 1134 Private slot to handle the projectOpened signal.
980 </p> 1135 </p>
981 <a NAME="DebugUI.__resetUI" ID="DebugUI.__resetUI"></a> 1136 <a NAME="DebugUI.__resetUI" ID="DebugUI.__resetUI"></a>
982 <h4>DebugUI.__resetUI</h4> 1137 <h4>DebugUI.__resetUI</h4>
983 <b>__resetUI</b>(<i></i>) 1138 <b>__resetUI</b>(<i>fullReset=True</i>)
984 1139
985 <p> 1140 <p>
986 Private slot to reset the user interface. 1141 Private slot to reset the user interface.
987 </p> 1142 </p>
1143 <dl>
1144
1145 <dt><i>fullReset</i> (bool)</dt>
1146 <dd>
1147 flag indicating a full reset is required
1148 </dd>
1149 </dl>
988 <a NAME="DebugUI.__runProject" ID="DebugUI.__runProject"></a> 1150 <a NAME="DebugUI.__runProject" ID="DebugUI.__runProject"></a>
989 <h4>DebugUI.__runProject</h4> 1151 <h4>DebugUI.__runProject</h4>
990 <b>__runProject</b>(<i></i>) 1152 <b>__runProject</b>(<i></i>)
991 1153
992 <p> 1154 <p>
999 <p> 1161 <p>
1000 Private slot to handle the run script action. 1162 Private slot to handle the run script action.
1001 </p> 1163 </p>
1002 <a NAME="DebugUI.__runToCursor" ID="DebugUI.__runToCursor"></a> 1164 <a NAME="DebugUI.__runToCursor" ID="DebugUI.__runToCursor"></a>
1003 <h4>DebugUI.__runToCursor</h4> 1165 <h4>DebugUI.__runToCursor</h4>
1004 <b>__runToCursor</b>(<i></i>) 1166 <b>__runToCursor</b>(<i>debuggerId=""</i>)
1005 1167
1006 <p> 1168 <p>
1007 Private method to handle the Run to Cursor action. 1169 Private method to handle the Run to Cursor action.
1008 </p> 1170 </p>
1171 <dl>
1172
1173 <dt><i>debuggerId</i> (str)</dt>
1174 <dd>
1175 ID of the debugger backend
1176 </dd>
1177 </dl>
1178 <a NAME="DebugUI.__runUntil" ID="DebugUI.__runUntil"></a>
1179 <h4>DebugUI.__runUntil</h4>
1180 <b>__runUntil</b>(<i>debuggerId=""</i>)
1181
1182 <p>
1183 Private method to handle the Run Until action.
1184 </p>
1185 <dl>
1186
1187 <dt><i>debuggerId</i> (str)</dt>
1188 <dd>
1189 ID of the debugger backend
1190 </dd>
1191 </dl>
1009 <a NAME="DebugUI.__showBreakpointsMenu" ID="DebugUI.__showBreakpointsMenu"></a> 1192 <a NAME="DebugUI.__showBreakpointsMenu" ID="DebugUI.__showBreakpointsMenu"></a>
1010 <h4>DebugUI.__showBreakpointsMenu</h4> 1193 <h4>DebugUI.__showBreakpointsMenu</h4>
1011 <b>__showBreakpointsMenu</b>(<i></i>) 1194 <b>__showBreakpointsMenu</b>(<i></i>)
1012 1195
1013 <p> 1196 <p>
1020 <p> 1203 <p>
1021 Private method to set up the debug menu. 1204 Private method to set up the debug menu.
1022 </p> 1205 </p>
1023 <a NAME="DebugUI.__specialContinue" ID="DebugUI.__specialContinue"></a> 1206 <a NAME="DebugUI.__specialContinue" ID="DebugUI.__specialContinue"></a>
1024 <h4>DebugUI.__specialContinue</h4> 1207 <h4>DebugUI.__specialContinue</h4>
1025 <b>__specialContinue</b>(<i></i>) 1208 <b>__specialContinue</b>(<i>debuggerId=""</i>)
1026 1209
1027 <p> 1210 <p>
1028 Private method to handle the Special Continue action. 1211 Private method to handle the Special Continue action.
1029 </p> 1212 </p>
1213 <dl>
1214
1215 <dt><i>debuggerId</i> (str)</dt>
1216 <dd>
1217 ID of the debugger backend
1218 </dd>
1219 </dl>
1030 <a NAME="DebugUI.__step" ID="DebugUI.__step"></a> 1220 <a NAME="DebugUI.__step" ID="DebugUI.__step"></a>
1031 <h4>DebugUI.__step</h4> 1221 <h4>DebugUI.__step</h4>
1032 <b>__step</b>(<i></i>) 1222 <b>__step</b>(<i>debuggerId=""</i>)
1033 1223
1034 <p> 1224 <p>
1035 Private method to handle the Step action. 1225 Private method to handle the Step action.
1036 </p> 1226 </p>
1227 <dl>
1228
1229 <dt><i>debuggerId</i> (str)</dt>
1230 <dd>
1231 ID of the debugger backend
1232 </dd>
1233 </dl>
1037 <a NAME="DebugUI.__stepOut" ID="DebugUI.__stepOut"></a> 1234 <a NAME="DebugUI.__stepOut" ID="DebugUI.__stepOut"></a>
1038 <h4>DebugUI.__stepOut</h4> 1235 <h4>DebugUI.__stepOut</h4>
1039 <b>__stepOut</b>(<i></i>) 1236 <b>__stepOut</b>(<i>debuggerId=""</i>)
1040 1237
1041 <p> 1238 <p>
1042 Private method to handle the Step Out action. 1239 Private method to handle the Step Out action.
1043 </p> 1240 </p>
1241 <dl>
1242
1243 <dt><i>debuggerId</i> (str)</dt>
1244 <dd>
1245 ID of the debugger backend
1246 </dd>
1247 </dl>
1044 <a NAME="DebugUI.__stepOver" ID="DebugUI.__stepOver"></a> 1248 <a NAME="DebugUI.__stepOver" ID="DebugUI.__stepOver"></a>
1045 <h4>DebugUI.__stepOver</h4> 1249 <h4>DebugUI.__stepOver</h4>
1046 <b>__stepOver</b>(<i></i>) 1250 <b>__stepOver</b>(<i>debuggerId=""</i>)
1047 1251
1048 <p> 1252 <p>
1049 Private method to handle the Step Over action. 1253 Private method to handle the Step Over action.
1050 </p> 1254 </p>
1255 <dl>
1256
1257 <dt><i>debuggerId</i> (str)</dt>
1258 <dd>
1259 ID of the debugger backend
1260 </dd>
1261 </dl>
1051 <a NAME="DebugUI.__stepQuit" ID="DebugUI.__stepQuit"></a> 1262 <a NAME="DebugUI.__stepQuit" ID="DebugUI.__stepQuit"></a>
1052 <h4>DebugUI.__stepQuit</h4> 1263 <h4>DebugUI.__stepQuit</h4>
1053 <b>__stepQuit</b>(<i></i>) 1264 <b>__stepQuit</b>(<i>debuggerId=""</i>)
1054 1265
1055 <p> 1266 <p>
1056 Private method to handle the Step Quit action. 1267 Private method to handle the Step Quit action.
1057 </p> 1268 </p>
1269 <dl>
1270
1271 <dt><i>debuggerId</i> (str)</dt>
1272 <dd>
1273 ID of the debugger backend
1274 </dd>
1275 </dl>
1058 <a NAME="DebugUI.__stopScript" ID="DebugUI.__stopScript"></a> 1276 <a NAME="DebugUI.__stopScript" ID="DebugUI.__stopScript"></a>
1059 <h4>DebugUI.__stopScript</h4> 1277 <h4>DebugUI.__stopScript</h4>
1060 <b>__stopScript</b>(<i></i>) 1278 <b>__stopScript</b>(<i></i>)
1061 1279
1062 <p> 1280 <p>
1082 1300
1083 <p> 1301 <p>
1084 Public method to get a list of all actions. 1302 Public method to get a list of all actions.
1085 </p> 1303 </p>
1086 <dl> 1304 <dl>
1087 <dt>Returns:</dt> 1305 <dt>Return:</dt>
1088 <dd> 1306 <dd>
1089 list of all actions (list of E5Action) 1307 list of all actions (list of E5Action)
1308 </dd>
1309 </dl>
1310 <a NAME="DebugUI.getSelectedDebuggerId" ID="DebugUI.getSelectedDebuggerId"></a>
1311 <h4>DebugUI.getSelectedDebuggerId</h4>
1312 <b>getSelectedDebuggerId</b>(<i></i>)
1313
1314 <p>
1315 Public method to get the currently selected debugger ID.
1316 </p>
1317 <dl>
1318 <dt>Return:</dt>
1319 <dd>
1320 selected debugger ID
1321 </dd>
1322 </dl>
1323 <dl>
1324 <dt>Return Type:</dt>
1325 <dd>
1326 str
1090 </dd> 1327 </dd>
1091 </dl> 1328 </dl>
1092 <a NAME="DebugUI.initActions" ID="DebugUI.initActions"></a> 1329 <a NAME="DebugUI.initActions" ID="DebugUI.initActions"></a>
1093 <h4>DebugUI.initActions</h4> 1330 <h4>DebugUI.initActions</h4>
1094 <b>initActions</b>(<i></i>) 1331 <b>initActions</b>(<i></i>)
1102 1339
1103 <p> 1340 <p>
1104 Public slot to initialize the project menu. 1341 Public slot to initialize the project menu.
1105 </p> 1342 </p>
1106 <dl> 1343 <dl>
1107 <dt>Returns:</dt> 1344 <dt>Return:</dt>
1108 <dd> 1345 <dd>
1109 the generated menu 1346 the generated menu
1110 </dd> 1347 </dd>
1111 </dl> 1348 </dl>
1112 <a NAME="DebugUI.initToolbars" ID="DebugUI.initToolbars"></a> 1349 <a NAME="DebugUI.initToolbars" ID="DebugUI.initToolbars"></a>
1123 reference to a toolbar manager object 1360 reference to a toolbar manager object
1124 (E5ToolBarManager) 1361 (E5ToolBarManager)
1125 </dd> 1362 </dd>
1126 </dl> 1363 </dl>
1127 <dl> 1364 <dl>
1128 <dt>Returns:</dt> 1365 <dt>Return:</dt>
1129 <dd> 1366 <dd>
1130 the generated toolbars (list of QToolBar) 1367 the generated toolbars (list of QToolBar)
1131 </dd> 1368 </dd>
1132 </dl> 1369 </dl>
1133 <a NAME="DebugUI.setArgvHistory" ID="DebugUI.setArgvHistory"></a> 1370 <a NAME="DebugUI.setArgvHistory" ID="DebugUI.setArgvHistory"></a>
1181 <dd> 1418 <dd>
1182 flag indicating, that the debugger should not 1419 flag indicating, that the debugger should not
1183 stop at the first executable line (boolean) 1420 stop at the first executable line (boolean)
1184 </dd> 1421 </dd>
1185 </dl> 1422 </dl>
1423 <a NAME="DebugUI.setDebugActionsEnabled" ID="DebugUI.setDebugActionsEnabled"></a>
1424 <h4>DebugUI.setDebugActionsEnabled</h4>
1425 <b>setDebugActionsEnabled</b>(<i>enable</i>)
1426
1427 <p>
1428 Public method to set the enabled state of the debug actions.
1429 </p>
1430 <dl>
1431
1432 <dt><i>enable</i> (bool)</dt>
1433 <dd>
1434 enable state to be set
1435 </dd>
1436 </dl>
1437 <a NAME="DebugUI.setEnableMultiprocess" ID="DebugUI.setEnableMultiprocess"></a>
1438 <h4>DebugUI.setEnableMultiprocess</h4>
1439 <b>setEnableMultiprocess</b>(<i>enableMultiprocess</i>)
1440
1441 <p>
1442 Public slot to initialize the enableMultiprocess flag.
1443 </p>
1444 <dl>
1445
1446 <dt><i>enableMultiprocess</i> (bool)</dt>
1447 <dd>
1448 flag indicating, that the debugger should be
1449 run in multi process mode
1450 </dd>
1451 </dl>
1186 <a NAME="DebugUI.setEnvHistory" ID="DebugUI.setEnvHistory"></a> 1452 <a NAME="DebugUI.setEnvHistory" ID="DebugUI.setEnvHistory"></a>
1187 <h4>DebugUI.setEnvHistory</h4> 1453 <h4>DebugUI.setEnvHistory</h4>
1188 <b>setEnvHistory</b>(<i>envStr, clearHistories=False, history=None</i>) 1454 <b>setEnvHistory</b>(<i>envStr, clearHistories=False, history=None</i>)
1189 1455
1190 <p> 1456 <p>
1246 <dt><i>exceptions</i></dt> 1512 <dt><i>exceptions</i></dt>
1247 <dd> 1513 <dd>
1248 flag indicating exception reporting status (boolean) 1514 flag indicating exception reporting status (boolean)
1249 </dd> 1515 </dd>
1250 </dl> 1516 </dl>
1517 <a NAME="DebugUI.setMultiprocessNoDebugHistory" ID="DebugUI.setMultiprocessNoDebugHistory"></a>
1518 <h4>DebugUI.setMultiprocessNoDebugHistory</h4>
1519 <b>setMultiprocessNoDebugHistory</b>(<i>noDebugList, clearHistories=False, history=None</i>)
1520
1521 <p>
1522 Public slot to initialize the no debug list history.
1523 </p>
1524 <dl>
1525
1526 <dt><i>noDebugList</i> (str)</dt>
1527 <dd>
1528 whitespace separated list of programs not to be
1529 debugged
1530 </dd>
1531 <dt><i>clearHistories</i> (bool)</dt>
1532 <dd>
1533 flag indicating, that the list should be cleared
1534 </dd>
1535 <dt><i>history</i> (list of str)</dt>
1536 <dd>
1537 list of history entries to be set
1538 </dd>
1539 </dl>
1251 <a NAME="DebugUI.setTracePython" ID="DebugUI.setTracePython"></a> 1540 <a NAME="DebugUI.setTracePython" ID="DebugUI.setTracePython"></a>
1252 <h4>DebugUI.setTracePython</h4> 1541 <h4>DebugUI.setTracePython</h4>
1253 <b>setTracePython</b>(<i>tracePython</i>) 1542 <b>setTracePython</b>(<i>tracePython</i>)
1254 1543
1255 <p> 1544 <p>
1284 <dt><i>history</i></dt> 1573 <dt><i>history</i></dt>
1285 <dd> 1574 <dd>
1286 list of history entries to be set (list of strings) 1575 list of history entries to be set (list of strings)
1287 </dd> 1576 </dd>
1288 </dl> 1577 </dl>
1578 <a NAME="DebugUI.showNotification" ID="DebugUI.showNotification"></a>
1579 <h4>DebugUI.showNotification</h4>
1580 <b>showNotification</b>(<i>notification, kind=NotificationTypes.Information, timeout=None</i>)
1581
1582 <p>
1583 Public method to show some notification message.
1584 </p>
1585 <dl>
1586
1587 <dt><i>notification</i> (str)</dt>
1588 <dd>
1589 message to be shown
1590 </dd>
1591 <dt><i>kind</i> (NotificationTypes)</dt>
1592 <dd>
1593 kind of notification to be shown
1594 </dd>
1595 <dt><i>timeout</i> (int)</dt>
1596 <dd>
1597 timeout for the notification (None = use configured
1598 default, 0 = indefinitely)
1599 </dd>
1600 </dl>
1289 <a NAME="DebugUI.shutdown" ID="DebugUI.shutdown"></a> 1601 <a NAME="DebugUI.shutdown" ID="DebugUI.shutdown"></a>
1290 <h4>DebugUI.shutdown</h4> 1602 <h4>DebugUI.shutdown</h4>
1291 <b>shutdown</b>(<i></i>) 1603 <b>shutdown</b>(<i></i>)
1292 1604
1293 <p> 1605 <p>
1302 </p> 1614 </p>
1303 <p> 1615 <p>
1304 This is needed to cleanly close the sockets on Win OS. 1616 This is needed to cleanly close the sockets on Win OS.
1305 </p> 1617 </p>
1306 <dl> 1618 <dl>
1307 <dt>Returns:</dt> 1619 <dt>Return:</dt>
1308 <dd> 1620 <dd>
1309 always true 1621 always true
1310 </dd> 1622 </dd>
1311 </dl> 1623 </dl>
1312 <a NAME="DebugUI.variablesFilter" ID="DebugUI.variablesFilter"></a> 1624 <a NAME="DebugUI.variablesFilter" ID="DebugUI.variablesFilter"></a>
1322 <dd> 1634 <dd>
1323 flag indicating global (True) or local (False) scope 1635 flag indicating global (True) or local (False) scope
1324 </dd> 1636 </dd>
1325 </dl> 1637 </dl>
1326 <dl> 1638 <dl>
1327 <dt>Returns:</dt> 1639 <dt>Return:</dt>
1328 <dd> 1640 <dd>
1329 filters list (list of integers) 1641 filters list
1642 </dd>
1643 </dl>
1644 <dl>
1645 <dt>Return Type:</dt>
1646 <dd>
1647 list of str
1330 </dd> 1648 </dd>
1331 </dl> 1649 </dl>
1332 <div align="right"><a href="#top">Up</a></div> 1650 <div align="right"><a href="#top">Up</a></div>
1333 <hr /> 1651 <hr />
1334 </body></html> 1652 </body></html>

eric ide

mercurial