eric6/Documentation/Source/eric6.Debugger.DebugServer.html

changeset 7887
c1588f5a83e9
parent 7707
6abcf4275d0e
child 7890
c7b98271f551
equal deleted inserted replaced
7885:3e4605cc3541 7887:c1588f5a83e9
62 </dd> 62 </dd>
63 <dt>callTraceInfo</dt> 63 <dt>callTraceInfo</dt>
64 <dd> 64 <dd>
65 emitted after the client reported the call trace 65 emitted after the client reported the call trace
66 data (isCall, fromFile, fromLine, fromFunction, toFile, toLine, 66 data (isCall, fromFile, fromLine, fromFunction, toFile, toLine,
67 toFunction) 67 toFunction, debuggerId)
68 </dd> 68 </dd>
69 <dt>clientBanner(version, platform, dbgclient, venvname)</dt> 69 <dt>clientBanner(version, platform, venvname)</dt>
70 <dd> 70 <dd>
71 emitted after 71 emitted after
72 the client banner data was received 72 the client banner data was received
73 </dd> 73 </dd>
74 <dt>clientBreakConditionError(fn, lineno)</dt> 74 <dt>clientBreakConditionError(fn, lineno, debuggerId)</dt>
75 <dd> 75 <dd>
76 emitted after the client has 76 emitted after the
77 signaled a syntax error in a breakpoint condition 77 client has signaled a syntax error in a breakpoint condition
78 </dd> 78 </dd>
79 <dt>clientCapabilities(capabilities, cltype, venvname)</dt> 79 <dt>clientCapabilities(capabilities, cltype, venvname)</dt>
80 <dd> 80 <dd>
81 emitted after 81 emitted after
82 the clients capabilities were received 82 the clients capabilities were received
83 </dd> 83 </dd>
84 <dt>clientClearBreak(filename, lineno)</dt> 84 <dt>clientClearBreak(filename, lineno, debuggerId)</dt>
85 <dd> 85 <dd>
86 emitted after the debug client 86 emitted after the
87 has decided to clear a temporary breakpoint 87 debug client has decided to clear a temporary breakpoint
88 </dd> 88 </dd>
89 <dt>clientClearWatch(condition)</dt> 89 <dt>clientClearWatch(condition, debuggerId)</dt>
90 <dd> 90 <dd>
91 emitted after the debug client 91 emitted after the debug
92 has decided to clear a temporary watch expression 92 client has decided to clear a temporary watch expression
93 </dd> 93 </dd>
94 <dt>clientCompletionList(completionList, text)</dt> 94 <dt>clientCompletionList(completionList, text, debuggerId)</dt>
95 <dd>
96 emitted
97 after the client the commandline completion list and the reworked
98 search string was received from the client
99 </dd>
100 <dt>clientDebuggerId(debuggerId)</dt>
101 <dd>
102 emitted to indicate a newly connected
103 debugger backend
104 </dd>
105 <dt>clientDisassembly(disassembly, debuggerId)</dt>
95 <dd> 106 <dd>
96 emitted after the client 107 emitted after the client
97 the commandline completion list and the reworked searchstring was 108 has sent a disassembly of the code raising an exception
98 received from the client 109 </dd>
99 </dd> 110 <dt>clientException(exceptionType, exceptionMessage, stackTrace, debuggerId)</dt>
100 <dt>clientDisassembly(disassembly)</dt> 111 <dd>
101 <dd> 112 emitted after an exception occured on the client side
102 emitted after the client has sent 113 </dd>
103 a disassembly of the code raising an exception 114 <dt>clientExit(str, int, str, bool, str)</dt>
104 </dd> 115 <dd>
105 <dt>clientException(exception)</dt> 116 emitted after the client has
106 <dd> 117 exited giving the program name, the exit status, an exit message, an
107 emitted after an exception occured on 118 indication to be quiet and the ID of the exited client
108 the client side
109 </dd>
110 <dt>clientExit(int, str, bool)</dt>
111 <dd>
112 emitted after the client has exited
113 giving the exit status, an exit message and an indication to be quiet
114 </dd> 119 </dd>
115 <dt>clientGone(bool)</dt> 120 <dt>clientGone(bool)</dt>
116 <dd> 121 <dd>
117 emitted if the client went away (planned or 122 emitted if the client went away (planned or
118 unplanned) 123 unplanned)
120 <dt>clientInterpreterChanged(str)</dt> 125 <dt>clientInterpreterChanged(str)</dt>
121 <dd> 126 <dd>
122 emitted to signal a change of the 127 emitted to signal a change of the
123 client interpreter 128 client interpreter
124 </dd> 129 </dd>
125 <dt>clientLine(filename, lineno, forStack)</dt> 130 <dt>clientLine(filename, lineno, debuggerId, forStack)</dt>
126 <dd> 131 <dd>
127 emitted after the 132 emitted after
128 debug client has executed a line of code 133 the debug client has executed a line of code
129 </dd> 134 </dd>
130 <dt>clientOutput(str)</dt> 135 <dt>clientOutput(str)</dt>
131 <dd> 136 <dd>
132 emitted after the client has sent some output 137 emitted after the client has sent some output
133 </dd> 138 </dd>
139 <dt>clientProcessStdout(str)</dt> 144 <dt>clientProcessStdout(str)</dt>
140 <dd> 145 <dd>
141 emitted after the client has sent some 146 emitted after the client has sent some
142 output via stdout 147 output via stdout
143 </dd> 148 </dd>
144 <dt>clientRawInput(prompt, echo)</dt> 149 <dt>clientRawInput(prompt, echo, debuggerId)</dt>
145 <dd> 150 <dd>
146 emitted after a raw input request was 151 emitted after a raw input
147 received 152 request was received
148 </dd> 153 </dd>
149 <dt>clientRawInputSent()</dt> 154 <dt>clientRawInputSent(debuggerId)</dt>
150 <dd> 155 <dd>
151 emitted after the data was sent to the 156 emitted after the data was sent
152 debug client 157 to the indicated debug client
153 </dd> 158 </dd>
154 <dt>clientSignal(signal)</dt> 159 <dt>clientSignal(message, filename, linenumber, function name, function arguments, debuggerId)</dt>
155 <dd> 160 <dd>
156 emitted after a signal has been generated on 161 emitted after a signal has been
157 the client side 162 generated on the client side
158 </dd> 163 </dd>
159 <dt>clientStack(stack)</dt> 164 <dt>clientStack(stack, debuggerId)</dt>
160 <dd> 165 <dd>
161 emitted after the debug client has executed a 166 emitted after the debug client has
162 line of code 167 executed a line of code
163 </dd> 168 </dd>
164 <dt>clientStatement(bool)</dt> 169 <dt>clientStatement(continue, debuggerId)</dt>
165 <dd> 170 <dd>
166 emitted after an interactive command has 171 emitted after an interactive
167 been executed. The parameter is 0 to indicate that the command is 172 command has been executed. The parameter is False to indicate that the
168 complete and 1 if it needs more input. 173 command is complete and True if it needs more input.
169 </dd> 174 </dd>
170 <dt>clientSyntaxError(exception)</dt> 175 <dt>clientSyntaxError(message, filename, linenumber, characternumber, debuggerId)</dt>
171 <dd> 176 <dd>
172 emitted after a syntax error has been 177 emitted after a syntax error has been detected on the
173 detected on the client side 178 client side
174 </dd> 179 </dd>
175 <dt>clientThreadList(currentId, threadList)</dt> 180 <dt>clientThreadList(currentId, threadList, debuggerId)</dt>
176 <dd> 181 <dd>
177 emitted after a thread list 182 emitted after
178 has been received 183 a thread list has been received
179 </dd> 184 </dd>
180 <dt>clientThreadSet()</dt> 185 <dt>clientThreadSet(debuggerId)</dt>
181 <dd>
182 emitted after the client has acknowledged the
183 change of the current thread
184 </dd>
185 <dt>clientVariable(scope, variables)</dt>
186 <dd>
187 emitted after a dump for one class
188 variable has been received
189 </dd>
190 <dt>clientVariables(scope, variables)</dt>
191 <dd>
192 emitted after a variables dump
193 has been received
194 </dd>
195 <dt>clientWatchConditionError(condition)</dt>
196 <dd> 186 <dd>
197 emitted after the client has 187 emitted after the client has
198 signaled a syntax error in a watch expression 188 acknowledged the change of the current thread
189 </dd>
190 <dt>clientVariable(scope, variables, debuggerId)</dt>
191 <dd>
192 emitted after a dump
193 for one class variable has been received
194 </dd>
195 <dt>clientVariables(scope, variables, debuggerId)</dt>
196 <dd>
197 emitted after a
198 variables dump has been received
199 </dd>
200 <dt>clientWatchConditionError(condition, debuggerId)</dt>
201 <dd>
202 emitted after the
203 client has signaled a syntax error in a watch expression
204 </dd>
205 <dt>lastClientExited()</dt>
206 <dd>
207 emitted to indicate that the last connected
208 debug client has terminated
199 </dd> 209 </dd>
200 <dt>passiveDebugStarted(str, bool)</dt> 210 <dt>passiveDebugStarted(str, bool)</dt>
201 <dd> 211 <dd>
202 emitted after the debug client has 212 emitted after the debug client has
203 connected in passive debug mode 213 connected in passive debug mode
367 <tr> 377 <tr>
368 <td><a href="#DebugServer.__restoreBreakpoints">__restoreBreakpoints</a></td> 378 <td><a href="#DebugServer.__restoreBreakpoints">__restoreBreakpoints</a></td>
369 <td>Private method to restore the breakpoints after a restart.</td> 379 <td>Private method to restore the breakpoints after a restart.</td>
370 </tr> 380 </tr>
371 <tr> 381 <tr>
382 <td><a href="#DebugServer.__restoreNoDebugList">__restoreNoDebugList</a></td>
383 <td>Private method to restore the watch expressions after a restart.</td>
384 </tr>
385 <tr>
372 <td><a href="#DebugServer.__restoreWatchpoints">__restoreWatchpoints</a></td> 386 <td><a href="#DebugServer.__restoreWatchpoints">__restoreWatchpoints</a></td>
373 <td>Private method to restore the watch expressions after a restart.</td> 387 <td>Private method to restore the watch expressions after a restart.</td>
374 </tr> 388 </tr>
375 <tr> 389 <tr>
376 <td><a href="#DebugServer.__setClientType">__setClientType</a></td> 390 <td><a href="#DebugServer.__setClientType">__setClientType</a></td>
439 <tr> 453 <tr>
440 <td><a href="#DebugServer.getClientType">getClientType</a></td> 454 <td><a href="#DebugServer.getClientType">getClientType</a></td>
441 <td>Public method to get the currently running debug client type.</td> 455 <td>Public method to get the currently running debug client type.</td>
442 </tr> 456 </tr>
443 <tr> 457 <tr>
458 <td><a href="#DebugServer.getDebuggerIds">getDebuggerIds</a></td>
459 <td>Public method to return the IDs of the connected debugger backends.</td>
460 </tr>
461 <tr>
444 <td><a href="#DebugServer.getExtensions">getExtensions</a></td> 462 <td><a href="#DebugServer.getExtensions">getExtensions</a></td>
445 <td>Public slot to get the extensions associated with the given language.</td> 463 <td>Public slot to get the extensions associated with the given language.</td>
446 </tr> 464 </tr>
447 <tr> 465 <tr>
448 <td><a href="#DebugServer.getHostAddress">getHostAddress</a></td> 466 <td><a href="#DebugServer.getHostAddress">getHostAddress</a></td>
455 <tr> 473 <tr>
456 <td><a href="#DebugServer.getWatchPointModel">getWatchPointModel</a></td> 474 <td><a href="#DebugServer.getWatchPointModel">getWatchPointModel</a></td>
457 <td>Public slot to get a reference to the watch expression model object.</td> 475 <td>Public slot to get a reference to the watch expression model object.</td>
458 </tr> 476 </tr>
459 <tr> 477 <tr>
478 <td><a href="#DebugServer.initializeClient">initializeClient</a></td>
479 <td>Public method to initialize a freshly connected debug client.</td>
480 </tr>
481 <tr>
460 <td><a href="#DebugServer.isClientProcessUp">isClientProcessUp</a></td> 482 <td><a href="#DebugServer.isClientProcessUp">isClientProcessUp</a></td>
461 <td>Public method to check, if the debug client process is up.</td> 483 <td>Public method to check, if the debug client process is up.</td>
462 </tr> 484 </tr>
463 <tr> 485 <tr>
464 <td><a href="#DebugServer.isConnected">isConnected</a></td> 486 <td><a href="#DebugServer.isConnected">isConnected</a></td>
467 <tr> 489 <tr>
468 <td><a href="#DebugServer.isDebugging">isDebugging</a></td> 490 <td><a href="#DebugServer.isDebugging">isDebugging</a></td>
469 <td>Public method to test, if the debug server is debugging.</td> 491 <td>Public method to test, if the debug server is debugging.</td>
470 </tr> 492 </tr>
471 <tr> 493 <tr>
494 <td><a href="#DebugServer.masterClientConnected">masterClientConnected</a></td>
495 <td>Public method to perform actions after the master client has finally established the connection.</td>
496 </tr>
497 <tr>
472 <td><a href="#DebugServer.passiveStartUp">passiveStartUp</a></td> 498 <td><a href="#DebugServer.passiveStartUp">passiveStartUp</a></td>
473 <td>Public method to handle a passive debug connection.</td> 499 <td>Public method to handle a passive debug connection.</td>
474 </tr> 500 </tr>
475 <tr> 501 <tr>
476 <td><a href="#DebugServer.preferencesChanged">preferencesChanged</a></td> 502 <td><a href="#DebugServer.preferencesChanged">preferencesChanged</a></td>
499 <tr> 525 <tr>
500 <td><a href="#DebugServer.remoteClientSetFilter">remoteClientSetFilter</a></td> 526 <td><a href="#DebugServer.remoteClientSetFilter">remoteClientSetFilter</a></td>
501 <td>Public method to set a variables filter list.</td> 527 <td>Public method to set a variables filter list.</td>
502 </tr> 528 </tr>
503 <tr> 529 <tr>
530 <td><a href="#DebugServer.remoteClientStack">remoteClientStack</a></td>
531 <td>Public method to request the stack of the main thread.</td>
532 </tr>
533 <tr>
504 <td><a href="#DebugServer.remoteClientVariable">remoteClientVariable</a></td> 534 <td><a href="#DebugServer.remoteClientVariable">remoteClientVariable</a></td>
505 <td>Public method to request the variables of the debugged program.</td> 535 <td>Public method to request the variables of the debugged program.</td>
506 </tr> 536 </tr>
507 <tr> 537 <tr>
508 <td><a href="#DebugServer.remoteClientVariables">remoteClientVariables</a></td> 538 <td><a href="#DebugServer.remoteClientVariables">remoteClientVariables</a></td>
627 <tr> 657 <tr>
628 <td><a href="#DebugServer.signalClientCompletionList">signalClientCompletionList</a></td> 658 <td><a href="#DebugServer.signalClientCompletionList">signalClientCompletionList</a></td>
629 <td>Public method to process the client auto completion info.</td> 659 <td>Public method to process the client auto completion info.</td>
630 </tr> 660 </tr>
631 <tr> 661 <tr>
662 <td><a href="#DebugServer.signalClientDebuggerId">signalClientDebuggerId</a></td>
663 <td>Public method to signal the receipt of a new debugger ID.</td>
664 </tr>
665 <tr>
632 <td><a href="#DebugServer.signalClientDisassembly">signalClientDisassembly</a></td> 666 <td><a href="#DebugServer.signalClientDisassembly">signalClientDisassembly</a></td>
633 <td>Public method to process the disassembly info from the client.</td> 667 <td>Public method to process the disassembly info from the client.</td>
634 </tr> 668 </tr>
635 <tr> 669 <tr>
636 <td><a href="#DebugServer.signalClientException">signalClientException</a></td> 670 <td><a href="#DebugServer.signalClientException">signalClientException</a></td>
664 <td><a href="#DebugServer.signalClientStatement">signalClientStatement</a></td> 698 <td><a href="#DebugServer.signalClientStatement">signalClientStatement</a></td>
665 <td>Public method to process the input response from the client.</td> 699 <td>Public method to process the input response from the client.</td>
666 </tr> 700 </tr>
667 <tr> 701 <tr>
668 <td><a href="#DebugServer.signalClientSyntaxError">signalClientSyntaxError</a></td> 702 <td><a href="#DebugServer.signalClientSyntaxError">signalClientSyntaxError</a></td>
669 <td>Public method to process the syntax error info from the client.</td> 703 <td>Public method to process a syntax error info from the client.</td>
670 </tr> 704 </tr>
671 <tr> 705 <tr>
672 <td><a href="#DebugServer.signalClientThreadList">signalClientThreadList</a></td> 706 <td><a href="#DebugServer.signalClientThreadList">signalClientThreadList</a></td>
673 <td>Public method to process the client thread list info.</td> 707 <td>Public method to process the client thread list info.</td>
674 </tr> 708 </tr>
685 <td>Public method to process the client variables info.</td> 719 <td>Public method to process the client variables info.</td>
686 </tr> 720 </tr>
687 <tr> 721 <tr>
688 <td><a href="#DebugServer.signalClientWatchConditionError">signalClientWatchConditionError</a></td> 722 <td><a href="#DebugServer.signalClientWatchConditionError">signalClientWatchConditionError</a></td>
689 <td>Public method to process the client watch expression error info.</td> 723 <td>Public method to process the client watch expression error info.</td>
724 </tr>
725 <tr>
726 <td><a href="#DebugServer.signalLastClientExited">signalLastClientExited</a></td>
727 <td>Public method to process the last client exit event.</td>
690 </tr> 728 </tr>
691 <tr> 729 <tr>
692 <td><a href="#DebugServer.startClient">startClient</a></td> 730 <td><a href="#DebugServer.startClient">startClient</a></td>
693 <td>Public method to start a debug client.</td> 731 <td>Public method to start a debug client.</td>
694 </tr> 732 </tr>
722 setting 760 setting
723 </dd> 761 </dd>
724 </dl> 762 </dl>
725 <a NAME="DebugServer.__addBreakPoints" ID="DebugServer.__addBreakPoints"></a> 763 <a NAME="DebugServer.__addBreakPoints" ID="DebugServer.__addBreakPoints"></a>
726 <h4>DebugServer.__addBreakPoints</h4> 764 <h4>DebugServer.__addBreakPoints</h4>
727 <b>__addBreakPoints</b>(<i>parentIndex, start, end</i>) 765 <b>__addBreakPoints</b>(<i>parentIndex, start, end, debuggerId=""</i>)
728 766
729 <p> 767 <p>
730 Private slot to add breakpoints. 768 Private slot to add breakpoints.
731 </p> 769 </p>
732 <dl> 770 <dl>
733 771
734 <dt><i>parentIndex</i></dt> 772 <dt><i>parentIndex</i> (QModelIndex)</dt>
735 <dd> 773 <dd>
736 index of parent item (QModelIndex) 774 index of parent item
737 </dd> 775 </dd>
738 <dt><i>start</i></dt> 776 <dt><i>start</i> (int)</dt>
739 <dd> 777 <dd>
740 start row (integer) 778 start row
741 </dd> 779 </dd>
742 <dt><i>end</i></dt> 780 <dt><i>end</i> (int)</dt>
743 <dd> 781 <dd>
744 end row (integer) 782 end row
783 </dd>
784 <dt><i>debuggerId</i> (str)</dt>
785 <dd>
786 ID of the debugger backend to send to. If this is
787 empty, they will be broadcast to all connected backends.
745 </dd> 788 </dd>
746 </dl> 789 </dl>
747 <a NAME="DebugServer.__addWatchPoints" ID="DebugServer.__addWatchPoints"></a> 790 <a NAME="DebugServer.__addWatchPoints" ID="DebugServer.__addWatchPoints"></a>
748 <h4>DebugServer.__addWatchPoints</h4> 791 <h4>DebugServer.__addWatchPoints</h4>
749 <b>__addWatchPoints</b>(<i>parentIndex, start, end</i>) 792 <b>__addWatchPoints</b>(<i>parentIndex, start, end, debuggerId=""</i>)
750 793
751 <p> 794 <p>
752 Private slot to set a watch expression. 795 Private slot to set a watch expression.
753 </p> 796 </p>
754 <dl> 797 <dl>
755 798
756 <dt><i>parentIndex</i></dt> 799 <dt><i>parentIndex</i> (QModelIndex)</dt>
757 <dd> 800 <dd>
758 index of parent item (QModelIndex) 801 index of parent item
759 </dd> 802 </dd>
760 <dt><i>start</i></dt> 803 <dt><i>start</i> (int)</dt>
761 <dd> 804 <dd>
762 start row (integer) 805 start row
763 </dd> 806 </dd>
764 <dt><i>end</i></dt> 807 <dt><i>end</i> (int)</dt>
765 <dd> 808 <dd>
766 end row (integer) 809 end row
810 </dd>
811 <dt><i>debuggerId</i> (str)</dt>
812 <dd>
813 ID of the debugger backend to send to. If this is
814 empty, they will be broadcast to all connected backends.
767 </dd> 815 </dd>
768 </dl> 816 </dl>
769 <a NAME="DebugServer.__breakPointDataAboutToBeChanged" ID="DebugServer.__breakPointDataAboutToBeChanged"></a> 817 <a NAME="DebugServer.__breakPointDataAboutToBeChanged" ID="DebugServer.__breakPointDataAboutToBeChanged"></a>
770 <h4>DebugServer.__breakPointDataAboutToBeChanged</h4> 818 <h4>DebugServer.__breakPointDataAboutToBeChanged</h4>
771 <b>__breakPointDataAboutToBeChanged</b>(<i>startIndex, endIndex</i>) 819 <b>__breakPointDataAboutToBeChanged</b>(<i>startIndex, endIndex</i>)
774 Private slot to handle the dataAboutToBeChanged signal of the 822 Private slot to handle the dataAboutToBeChanged signal of the
775 breakpoint model. 823 breakpoint model.
776 </p> 824 </p>
777 <dl> 825 <dl>
778 826
779 <dt><i>startIndex</i></dt> 827 <dt><i>startIndex</i> (QModelIndex)</dt>
780 <dd> 828 <dd>
781 start index of the rows to be changed (QModelIndex) 829 start index of the rows to be changed
782 </dd> 830 </dd>
783 <dt><i>endIndex</i></dt> 831 <dt><i>endIndex</i> (QModelIndex)</dt>
784 <dd> 832 <dd>
785 end index of the rows to be changed (QModelIndex) 833 end index of the rows to be changed
786 </dd> 834 </dd>
787 </dl> 835 </dl>
788 <a NAME="DebugServer.__changeBreakPoints" ID="DebugServer.__changeBreakPoints"></a> 836 <a NAME="DebugServer.__changeBreakPoints" ID="DebugServer.__changeBreakPoints"></a>
789 <h4>DebugServer.__changeBreakPoints</h4> 837 <h4>DebugServer.__changeBreakPoints</h4>
790 <b>__changeBreakPoints</b>(<i>startIndex, endIndex</i>) 838 <b>__changeBreakPoints</b>(<i>startIndex, endIndex</i>)
792 <p> 840 <p>
793 Private slot to set changed breakpoints. 841 Private slot to set changed breakpoints.
794 </p> 842 </p>
795 <dl> 843 <dl>
796 844
797 <dt><i>startIndex</i></dt> 845 <dt><i>startIndex</i> (QModelIndex)</dt>
798 <dd> 846 <dd>
799 starting index of the change breakpoins (QModelIndex) 847 starting index of the change breakpoins
800 </dd> 848 </dd>
801 <dt><i>endIndex</i></dt> 849 <dt><i>endIndex</i> (QModelIndex)</dt>
802 <dd> 850 <dd>
803 ending index of the change breakpoins (QModelIndex) 851 ending index of the change breakpoins
804 </dd> 852 </dd>
805 </dl> 853 </dl>
806 <a NAME="DebugServer.__changeWatchPoints" ID="DebugServer.__changeWatchPoints"></a> 854 <a NAME="DebugServer.__changeWatchPoints" ID="DebugServer.__changeWatchPoints"></a>
807 <h4>DebugServer.__changeWatchPoints</h4> 855 <h4>DebugServer.__changeWatchPoints</h4>
808 <b>__changeWatchPoints</b>(<i>startIndex, endIndex</i>) 856 <b>__changeWatchPoints</b>(<i>startIndex, endIndex</i>)
810 <p> 858 <p>
811 Private slot to set changed watch expressions. 859 Private slot to set changed watch expressions.
812 </p> 860 </p>
813 <dl> 861 <dl>
814 862
815 <dt><i>startIndex</i></dt> 863 <dt><i>startIndex</i> (QModelIndex)</dt>
816 <dd> 864 <dd>
817 start index of the rows to be changed (QModelIndex) 865 start index of the rows to be changed
818 </dd> 866 </dd>
819 <dt><i>endIndex</i></dt> 867 <dt><i>endIndex</i> (QModelIndex)</dt>
820 <dd> 868 <dd>
821 end index of the rows to be changed (QModelIndex) 869 end index of the rows to be changed
822 </dd> 870 </dd>
823 </dl> 871 </dl>
824 <a NAME="DebugServer.__clientClearBreakPoint" ID="DebugServer.__clientClearBreakPoint"></a> 872 <a NAME="DebugServer.__clientClearBreakPoint" ID="DebugServer.__clientClearBreakPoint"></a>
825 <h4>DebugServer.__clientClearBreakPoint</h4> 873 <h4>DebugServer.__clientClearBreakPoint</h4>
826 <b>__clientClearBreakPoint</b>(<i>fn, lineno</i>) 874 <b>__clientClearBreakPoint</b>(<i>fn, lineno</i>)
828 <p> 876 <p>
829 Private slot to handle the clientClearBreak signal. 877 Private slot to handle the clientClearBreak signal.
830 </p> 878 </p>
831 <dl> 879 <dl>
832 880
833 <dt><i>fn</i></dt> 881 <dt><i>fn</i> (str)</dt>
834 <dd> 882 <dd>
835 filename of breakpoint to clear (string) 883 filename of breakpoint to clear
836 </dd> 884 </dd>
837 <dt><i>lineno</i></dt> 885 <dt><i>lineno</i> (int)</dt>
838 <dd> 886 <dd>
839 line number of breakpoint to clear (integer) 887 line number of breakpoint to clear
840 </dd> 888 </dd>
841 </dl> 889 </dl>
842 <a NAME="DebugServer.__clientClearWatchPoint" ID="DebugServer.__clientClearWatchPoint"></a> 890 <a NAME="DebugServer.__clientClearWatchPoint" ID="DebugServer.__clientClearWatchPoint"></a>
843 <h4>DebugServer.__clientClearWatchPoint</h4> 891 <h4>DebugServer.__clientClearWatchPoint</h4>
844 <b>__clientClearWatchPoint</b>(<i>condition</i>) 892 <b>__clientClearWatchPoint</b>(<i>condition</i>)
846 <p> 894 <p>
847 Private slot to handle the clientClearWatch signal. 895 Private slot to handle the clientClearWatch signal.
848 </p> 896 </p>
849 <dl> 897 <dl>
850 898
851 <dt><i>condition</i></dt> 899 <dt><i>condition</i> (str)</dt>
852 <dd> 900 <dd>
853 expression of watch expression to clear (string) 901 expression of watch expression to clear
854 </dd> 902 </dd>
855 </dl> 903 </dl>
856 <a NAME="DebugServer.__clientProcessError" ID="DebugServer.__clientProcessError"></a> 904 <a NAME="DebugServer.__clientProcessError" ID="DebugServer.__clientProcessError"></a>
857 <h4>DebugServer.__clientProcessError</h4> 905 <h4>DebugServer.__clientProcessError</h4>
858 <b>__clientProcessError</b>(<i></i>) 906 <b>__clientProcessError</b>(<i></i>)
874 <p> 922 <p>
875 Private slot to create the debugger interface object. 923 Private slot to create the debugger interface object.
876 </p> 924 </p>
877 <dl> 925 <dl>
878 926
879 <dt><i>clientType</i></dt> 927 <dt><i>clientType</i> (str)</dt>
880 <dd> 928 <dd>
881 type of the client interface to be created (string) 929 type of the client interface to be created
882 </dd> 930 </dd>
883 </dl> 931 </dl>
884 <a NAME="DebugServer.__deleteBreakPoints" ID="DebugServer.__deleteBreakPoints"></a> 932 <a NAME="DebugServer.__deleteBreakPoints" ID="DebugServer.__deleteBreakPoints"></a>
885 <h4>DebugServer.__deleteBreakPoints</h4> 933 <h4>DebugServer.__deleteBreakPoints</h4>
886 <b>__deleteBreakPoints</b>(<i>parentIndex, start, end</i>) 934 <b>__deleteBreakPoints</b>(<i>parentIndex, start, end</i>)
888 <p> 936 <p>
889 Private slot to delete breakpoints. 937 Private slot to delete breakpoints.
890 </p> 938 </p>
891 <dl> 939 <dl>
892 940
893 <dt><i>parentIndex</i></dt> 941 <dt><i>parentIndex</i> (QModelIndex)</dt>
894 <dd> 942 <dd>
895 index of parent item (QModelIndex) 943 index of parent item
896 </dd> 944 </dd>
897 <dt><i>start</i></dt> 945 <dt><i>start</i> (int)</dt>
898 <dd> 946 <dd>
899 start row (integer) 947 start row
900 </dd> 948 </dd>
901 <dt><i>end</i></dt> 949 <dt><i>end</i> (int)</dt>
902 <dd> 950 <dd>
903 end row (integer) 951 end row
904 </dd> 952 </dd>
905 </dl> 953 </dl>
906 <a NAME="DebugServer.__deleteWatchPoints" ID="DebugServer.__deleteWatchPoints"></a> 954 <a NAME="DebugServer.__deleteWatchPoints" ID="DebugServer.__deleteWatchPoints"></a>
907 <h4>DebugServer.__deleteWatchPoints</h4> 955 <h4>DebugServer.__deleteWatchPoints</h4>
908 <b>__deleteWatchPoints</b>(<i>parentIndex, start, end</i>) 956 <b>__deleteWatchPoints</b>(<i>parentIndex, start, end</i>)
910 <p> 958 <p>
911 Private slot to delete watch expressions. 959 Private slot to delete watch expressions.
912 </p> 960 </p>
913 <dl> 961 <dl>
914 962
915 <dt><i>parentIndex</i></dt> 963 <dt><i>parentIndex</i> (QModelIndex)</dt>
916 <dd> 964 <dd>
917 index of parent item (QModelIndex) 965 index of parent item
918 </dd> 966 </dd>
919 <dt><i>start</i></dt> 967 <dt><i>start</i> (int)</dt>
920 <dd> 968 <dd>
921 start row (integer) 969 start row
922 </dd> 970 </dd>
923 <dt><i>end</i></dt> 971 <dt><i>end</i> (int)</dt>
924 <dd> 972 <dd>
925 end row (integer) 973 end row
926 </dd> 974 </dd>
927 </dl> 975 </dl>
928 <a NAME="DebugServer.__findLanguageForExtension" ID="DebugServer.__findLanguageForExtension"></a> 976 <a NAME="DebugServer.__findLanguageForExtension" ID="DebugServer.__findLanguageForExtension"></a>
929 <h4>DebugServer.__findLanguageForExtension</h4> 977 <h4>DebugServer.__findLanguageForExtension</h4>
930 <b>__findLanguageForExtension</b>(<i>ext</i>) 978 <b>__findLanguageForExtension</b>(<i>ext</i>)
959 Private method to determine the network interface and the interface 1007 Private method to determine the network interface and the interface
960 index. 1008 index.
961 </p> 1009 </p>
962 <dl> 1010 <dl>
963 1011
964 <dt><i>address</i></dt> 1012 <dt><i>address</i> (str)</dt>
965 <dd> 1013 <dd>
966 address to determine the info for (string) 1014 address to determine the info for
967 </dd> 1015 </dd>
968 </dl> 1016 </dl>
969 <dl> 1017 <dl>
970 <dt>Returns:</dt> 1018 <dt>Returns:</dt>
971 <dd> 1019 <dd>
972 tuple of network interface name (string) and index (integer) 1020 tuple of network interface name and index
1021 </dd>
1022 </dl>
1023 <dl>
1024 <dt>Return Type:</dt>
1025 <dd>
1026 tuple of (str, int)
973 </dd> 1027 </dd>
974 </dl> 1028 </dl>
975 <a NAME="DebugServer.__makeWatchCondition" ID="DebugServer.__makeWatchCondition"></a> 1029 <a NAME="DebugServer.__makeWatchCondition" ID="DebugServer.__makeWatchCondition"></a>
976 <h4>DebugServer.__makeWatchCondition</h4> 1030 <h4>DebugServer.__makeWatchCondition</h4>
977 <b>__makeWatchCondition</b>(<i>cond, special</i>) 1031 <b>__makeWatchCondition</b>(<i>cond, special</i>)
979 <p> 1033 <p>
980 Private method to construct the condition string. 1034 Private method to construct the condition string.
981 </p> 1035 </p>
982 <dl> 1036 <dl>
983 1037
984 <dt><i>cond</i></dt> 1038 <dt><i>cond</i> (str)</dt>
985 <dd> 1039 <dd>
986 condition (string) 1040 condition
987 </dd> 1041 </dd>
988 <dt><i>special</i></dt> 1042 <dt><i>special</i> (str)</dt>
989 <dd> 1043 <dd>
990 special condition (string) 1044 special condition
991 </dd> 1045 </dd>
992 </dl> 1046 </dl>
993 <dl> 1047 <dl>
994 <dt>Returns:</dt> 1048 <dt>Returns:</dt>
995 <dd> 1049 <dd>
996 condition string (string) 1050 condition string
1051 </dd>
1052 </dl>
1053 <dl>
1054 <dt>Return Type:</dt>
1055 <dd>
1056 str
997 </dd> 1057 </dd>
998 </dl> 1058 </dl>
999 <a NAME="DebugServer.__newConnection" ID="DebugServer.__newConnection"></a> 1059 <a NAME="DebugServer.__newConnection" ID="DebugServer.__newConnection"></a>
1000 <h4>DebugServer.__newConnection</h4> 1060 <h4>DebugServer.__newConnection</h4>
1001 <b>__newConnection</b>(<i></i>) 1061 <b>__newConnection</b>(<i></i>)
1017 <p> 1077 <p>
1018 Private method to register the available internal debugger interfaces. 1078 Private method to register the available internal debugger interfaces.
1019 </p> 1079 </p>
1020 <a NAME="DebugServer.__remoteBreakpointEnable" ID="DebugServer.__remoteBreakpointEnable"></a> 1080 <a NAME="DebugServer.__remoteBreakpointEnable" ID="DebugServer.__remoteBreakpointEnable"></a>
1021 <h4>DebugServer.__remoteBreakpointEnable</h4> 1081 <h4>DebugServer.__remoteBreakpointEnable</h4>
1022 <b>__remoteBreakpointEnable</b>(<i>fn, line, enable</i>) 1082 <b>__remoteBreakpointEnable</b>(<i>debuggerId, fn, line, enable</i>)
1023 1083
1024 <p> 1084 <p>
1025 Private method to enable or disable a breakpoint. 1085 Private method to enable or disable a breakpoint.
1026 </p> 1086 </p>
1027 <dl> 1087 <dl>
1028 1088
1029 <dt><i>fn</i></dt> 1089 <dt><i>debuggerId</i> (str)</dt>
1030 <dd> 1090 <dd>
1031 filename the breakpoint belongs to (string) 1091 ID of the debugger backend
1032 </dd> 1092 </dd>
1033 <dt><i>line</i></dt> 1093 <dt><i>fn</i> (str)</dt>
1034 <dd> 1094 <dd>
1035 linenumber of the breakpoint (int) 1095 filename the breakpoint belongs to
1036 </dd> 1096 </dd>
1037 <dt><i>enable</i></dt> 1097 <dt><i>line</i> (int)</dt>
1098 <dd>
1099 linenumber of the breakpoint
1100 </dd>
1101 <dt><i>enable</i> (bool)</dt>
1038 <dd> 1102 <dd>
1039 flag indicating enabling or disabling a breakpoint 1103 flag indicating enabling or disabling a breakpoint
1040 (boolean)
1041 </dd> 1104 </dd>
1042 </dl> 1105 </dl>
1043 <a NAME="DebugServer.__remoteBreakpointIgnore" ID="DebugServer.__remoteBreakpointIgnore"></a> 1106 <a NAME="DebugServer.__remoteBreakpointIgnore" ID="DebugServer.__remoteBreakpointIgnore"></a>
1044 <h4>DebugServer.__remoteBreakpointIgnore</h4> 1107 <h4>DebugServer.__remoteBreakpointIgnore</h4>
1045 <b>__remoteBreakpointIgnore</b>(<i>fn, line, count</i>) 1108 <b>__remoteBreakpointIgnore</b>(<i>debuggerId, fn, line, count</i>)
1046 1109
1047 <p> 1110 <p>
1048 Private method to ignore a breakpoint the next couple of occurrences. 1111 Private method to ignore a breakpoint the next couple of occurrences.
1049 </p> 1112 </p>
1050 <dl> 1113 <dl>
1051 1114
1052 <dt><i>fn</i></dt> 1115 <dt><i>debuggerId</i> (str)</dt>
1053 <dd> 1116 <dd>
1054 filename the breakpoint belongs to (string) 1117 ID of the debugger backend
1055 </dd> 1118 </dd>
1056 <dt><i>line</i></dt> 1119 <dt><i>fn</i> (str)</dt>
1057 <dd> 1120 <dd>
1058 linenumber of the breakpoint (int) 1121 filename the breakpoint belongs to
1059 </dd> 1122 </dd>
1060 <dt><i>count</i></dt> 1123 <dt><i>line</i> (int)</dt>
1061 <dd> 1124 <dd>
1062 number of occurrences to ignore (int) 1125 linenumber of the breakpoint
1126 </dd>
1127 <dt><i>count</i> (int)</dt>
1128 <dd>
1129 number of occurrences to ignore
1063 </dd> 1130 </dd>
1064 </dl> 1131 </dl>
1065 <a NAME="DebugServer.__remoteWatchpoint" ID="DebugServer.__remoteWatchpoint"></a> 1132 <a NAME="DebugServer.__remoteWatchpoint" ID="DebugServer.__remoteWatchpoint"></a>
1066 <h4>DebugServer.__remoteWatchpoint</h4> 1133 <h4>DebugServer.__remoteWatchpoint</h4>
1067 <b>__remoteWatchpoint</b>(<i>cond, setWatch, temp=False</i>) 1134 <b>__remoteWatchpoint</b>(<i>debuggerId, cond, setWatch, temp=False</i>)
1068 1135
1069 <p> 1136 <p>
1070 Private method to set or clear a watch expression. 1137 Private method to set or clear a watch expression.
1071 </p> 1138 </p>
1072 <dl> 1139 <dl>
1073 1140
1074 <dt><i>cond</i></dt> 1141 <dt><i>debuggerId</i> (str)</dt>
1075 <dd> 1142 <dd>
1076 expression of the watch expression (string) 1143 ID of the debugger backend
1077 </dd> 1144 </dd>
1078 <dt><i>setWatch</i></dt> 1145 <dt><i>cond</i> (str)</dt>
1146 <dd>
1147 expression of the watch expression
1148 </dd>
1149 <dt><i>setWatch</i> (bool)</dt>
1079 <dd> 1150 <dd>
1080 flag indicating setting or resetting a watch expression 1151 flag indicating setting or resetting a watch expression
1081 (boolean) 1152 </dd>
1082 </dd> 1153 <dt><i>temp</i> (bool)</dt>
1083 <dt><i>temp</i></dt> 1154 <dd>
1084 <dd> 1155 flag indicating a temporary watch expression
1085 flag indicating a temporary watch expression (boolean)
1086 </dd> 1156 </dd>
1087 </dl> 1157 </dl>
1088 <a NAME="DebugServer.__remoteWatchpointEnable" ID="DebugServer.__remoteWatchpointEnable"></a> 1158 <a NAME="DebugServer.__remoteWatchpointEnable" ID="DebugServer.__remoteWatchpointEnable"></a>
1089 <h4>DebugServer.__remoteWatchpointEnable</h4> 1159 <h4>DebugServer.__remoteWatchpointEnable</h4>
1090 <b>__remoteWatchpointEnable</b>(<i>cond, enable</i>) 1160 <b>__remoteWatchpointEnable</b>(<i>debuggerId, cond, enable</i>)
1091 1161
1092 <p> 1162 <p>
1093 Private method to enable or disable a watch expression. 1163 Private method to enable or disable a watch expression.
1094 </p> 1164 </p>
1095 <dl> 1165 <dl>
1096 1166
1097 <dt><i>cond</i></dt> 1167 <dt><i>debuggerId</i> (str)</dt>
1098 <dd> 1168 <dd>
1099 expression of the watch expression (string) 1169 ID of the debugger backend
1100 </dd> 1170 </dd>
1101 <dt><i>enable</i></dt> 1171 <dt><i>cond</i> (str)</dt>
1172 <dd>
1173 expression of the watch expression
1174 </dd>
1175 <dt><i>enable</i> (bool)</dt>
1102 <dd> 1176 <dd>
1103 flag indicating enabling or disabling a watch expression 1177 flag indicating enabling or disabling a watch expression
1104 (boolean)
1105 </dd> 1178 </dd>
1106 </dl> 1179 </dl>
1107 <a NAME="DebugServer.__remoteWatchpointIgnore" ID="DebugServer.__remoteWatchpointIgnore"></a> 1180 <a NAME="DebugServer.__remoteWatchpointIgnore" ID="DebugServer.__remoteWatchpointIgnore"></a>
1108 <h4>DebugServer.__remoteWatchpointIgnore</h4> 1181 <h4>DebugServer.__remoteWatchpointIgnore</h4>
1109 <b>__remoteWatchpointIgnore</b>(<i>cond, count</i>) 1182 <b>__remoteWatchpointIgnore</b>(<i>debuggerId, cond, count</i>)
1110 1183
1111 <p> 1184 <p>
1112 Private method to ignore a watch expression the next couple of 1185 Private method to ignore a watch expression the next couple of
1113 occurrences. 1186 occurrences.
1114 </p> 1187 </p>
1115 <dl> 1188 <dl>
1116 1189
1117 <dt><i>cond</i></dt> 1190 <dt><i>debuggerId</i> (str)</dt>
1118 <dd> 1191 <dd>
1119 expression of the watch expression (string) 1192 ID of the debugger backend
1120 </dd> 1193 </dd>
1121 <dt><i>count</i></dt> 1194 <dt><i>cond</i> (str)</dt>
1122 <dd> 1195 <dd>
1123 number of occurrences to ignore (int) 1196 expression of the watch expression
1197 </dd>
1198 <dt><i>count</i> (int)</dt>
1199 <dd>
1200 number of occurrences to ignore
1124 </dd> 1201 </dd>
1125 </dl> 1202 </dl>
1126 <a NAME="DebugServer.__restoreBreakpoints" ID="DebugServer.__restoreBreakpoints"></a> 1203 <a NAME="DebugServer.__restoreBreakpoints" ID="DebugServer.__restoreBreakpoints"></a>
1127 <h4>DebugServer.__restoreBreakpoints</h4> 1204 <h4>DebugServer.__restoreBreakpoints</h4>
1128 <b>__restoreBreakpoints</b>(<i></i>) 1205 <b>__restoreBreakpoints</b>(<i>debuggerId=""</i>)
1129 1206
1130 <p> 1207 <p>
1131 Private method to restore the breakpoints after a restart. 1208 Private method to restore the breakpoints after a restart.
1132 </p> 1209 </p>
1210 <dl>
1211
1212 <dt><i>debuggerId</i> (str)</dt>
1213 <dd>
1214 ID of the debugger backend to send to. If this is
1215 empty, they will be broadcast to all connected backends.
1216 </dd>
1217 </dl>
1218 <a NAME="DebugServer.__restoreNoDebugList" ID="DebugServer.__restoreNoDebugList"></a>
1219 <h4>DebugServer.__restoreNoDebugList</h4>
1220 <b>__restoreNoDebugList</b>(<i>debuggerId=""</i>)
1221
1222 <p>
1223 Private method to restore the watch expressions after a restart.
1224 </p>
1225 <dl>
1226
1227 <dt><i>debuggerId</i> (str)</dt>
1228 <dd>
1229 ID of the debugger backend to send to. If this is
1230 empty, they will be broadcast to all connected backends.
1231 </dd>
1232 </dl>
1133 <a NAME="DebugServer.__restoreWatchpoints" ID="DebugServer.__restoreWatchpoints"></a> 1233 <a NAME="DebugServer.__restoreWatchpoints" ID="DebugServer.__restoreWatchpoints"></a>
1134 <h4>DebugServer.__restoreWatchpoints</h4> 1234 <h4>DebugServer.__restoreWatchpoints</h4>
1135 <b>__restoreWatchpoints</b>(<i></i>) 1235 <b>__restoreWatchpoints</b>(<i>debuggerId=""</i>)
1136 1236
1137 <p> 1237 <p>
1138 Private method to restore the watch expressions after a restart. 1238 Private method to restore the watch expressions after a restart.
1139 </p> 1239 </p>
1240 <dl>
1241
1242 <dt><i>debuggerId</i> (str)</dt>
1243 <dd>
1244 ID of the debugger backend to send to. If this is
1245 empty, they will be broadcast to all connected backends.
1246 </dd>
1247 </dl>
1140 <a NAME="DebugServer.__setClientType" ID="DebugServer.__setClientType"></a> 1248 <a NAME="DebugServer.__setClientType" ID="DebugServer.__setClientType"></a>
1141 <h4>DebugServer.__setClientType</h4> 1249 <h4>DebugServer.__setClientType</h4>
1142 <b>__setClientType</b>(<i>clType</i>) 1250 <b>__setClientType</b>(<i>clType</i>)
1143 1251
1144 <p> 1252 <p>
1145 Private method to set the client type. 1253 Private method to set the client type.
1146 </p> 1254 </p>
1147 <dl> 1255 <dl>
1148 1256
1149 <dt><i>clType</i></dt> 1257 <dt><i>clType</i> (str)</dt>
1150 <dd> 1258 <dd>
1151 type of client to be started (string) 1259 type of client to be started
1152 </dd> 1260 </dd>
1153 </dl> 1261 </dl>
1154 <a NAME="DebugServer.__splitWatchCondition" ID="DebugServer.__splitWatchCondition"></a> 1262 <a NAME="DebugServer.__splitWatchCondition" ID="DebugServer.__splitWatchCondition"></a>
1155 <h4>DebugServer.__splitWatchCondition</h4> 1263 <h4>DebugServer.__splitWatchCondition</h4>
1156 <b>__splitWatchCondition</b>(<i>cond</i>) 1264 <b>__splitWatchCondition</b>(<i>cond</i>)
1158 <p> 1266 <p>
1159 Private method to split a remote watch expression. 1267 Private method to split a remote watch expression.
1160 </p> 1268 </p>
1161 <dl> 1269 <dl>
1162 1270
1163 <dt><i>cond</i></dt> 1271 <dt><i>cond</i> (str)</dt>
1164 <dd> 1272 <dd>
1165 remote expression (string) 1273 remote expression
1166 </dd> 1274 </dd>
1167 </dl> 1275 </dl>
1168 <dl> 1276 <dl>
1169 <dt>Returns:</dt> 1277 <dt>Returns:</dt>
1170 <dd> 1278 <dd>
1171 tuple of local expression (string) and special condition 1279 tuple of local expression (string) and special condition
1172 (string) 1280 </dd>
1281 </dl>
1282 <dl>
1283 <dt>Return Type:</dt>
1284 <dd>
1285 str
1173 </dd> 1286 </dd>
1174 </dl> 1287 </dl>
1175 <a NAME="DebugServer.__watchPointDataAboutToBeChanged" ID="DebugServer.__watchPointDataAboutToBeChanged"></a> 1288 <a NAME="DebugServer.__watchPointDataAboutToBeChanged" ID="DebugServer.__watchPointDataAboutToBeChanged"></a>
1176 <h4>DebugServer.__watchPointDataAboutToBeChanged</h4> 1289 <h4>DebugServer.__watchPointDataAboutToBeChanged</h4>
1177 <b>__watchPointDataAboutToBeChanged</b>(<i>startIndex, endIndex</i>) 1290 <b>__watchPointDataAboutToBeChanged</b>(<i>startIndex, endIndex</i>)
1180 Private slot to handle the dataAboutToBeChanged signal of the 1293 Private slot to handle the dataAboutToBeChanged signal of the
1181 watch expression model. 1294 watch expression model.
1182 </p> 1295 </p>
1183 <dl> 1296 <dl>
1184 1297
1185 <dt><i>startIndex</i></dt> 1298 <dt><i>startIndex</i> (QModelIndex)</dt>
1186 <dd> 1299 <dd>
1187 start index of the rows to be changed (QModelIndex) 1300 start index of the rows to be changed
1188 </dd> 1301 </dd>
1189 <dt><i>endIndex</i></dt> 1302 <dt><i>endIndex</i> (QModelIndex)</dt>
1190 <dd> 1303 <dd>
1191 end index of the rows to be changed (QModelIndex) 1304 end index of the rows to be changed
1192 </dd> 1305 </dd>
1193 </dl> 1306 </dl>
1194 <a NAME="DebugServer.clientUtDiscovered" ID="DebugServer.clientUtDiscovered"></a> 1307 <a NAME="DebugServer.clientUtDiscovered" ID="DebugServer.clientUtDiscovered"></a>
1195 <h4>DebugServer.clientUtDiscovered</h4> 1308 <h4>DebugServer.clientUtDiscovered</h4>
1196 <b>clientUtDiscovered</b>(<i>testCases, exceptionType, exceptionValue</i>) 1309 <b>clientUtDiscovered</b>(<i>testCases, exceptionType, exceptionValue</i>)
1234 <p> 1347 <p>
1235 Public method to process the client unittest prepared info. 1348 Public method to process the client unittest prepared info.
1236 </p> 1349 </p>
1237 <dl> 1350 <dl>
1238 1351
1239 <dt><i>result</i></dt> 1352 <dt><i>result</i> (int)</dt>
1240 <dd> 1353 <dd>
1241 number of test cases (0 = error) (integer) 1354 number of test cases (0 = error)
1242 </dd> 1355 </dd>
1243 <dt><i>exceptionType</i></dt> 1356 <dt><i>exceptionType</i> (str)</dt>
1244 <dd> 1357 <dd>
1245 exception type (string) 1358 exception type
1246 </dd> 1359 </dd>
1247 <dt><i>exceptionValue</i></dt> 1360 <dt><i>exceptionValue</i> (str)</dt>
1248 <dd> 1361 <dd>
1249 exception message (string) 1362 exception message
1250 </dd> 1363 </dd>
1251 </dl> 1364 </dl>
1252 <a NAME="DebugServer.clientUtStartTest" ID="DebugServer.clientUtStartTest"></a> 1365 <a NAME="DebugServer.clientUtStartTest" ID="DebugServer.clientUtStartTest"></a>
1253 <h4>DebugServer.clientUtStartTest</h4> 1366 <h4>DebugServer.clientUtStartTest</h4>
1254 <b>clientUtStartTest</b>(<i>testname, doc</i>) 1367 <b>clientUtStartTest</b>(<i>testname, doc</i>)
1256 <p> 1369 <p>
1257 Public method to process the client start test info. 1370 Public method to process the client start test info.
1258 </p> 1371 </p>
1259 <dl> 1372 <dl>
1260 1373
1261 <dt><i>testname</i></dt> 1374 <dt><i>testname</i> (str)</dt>
1262 <dd> 1375 <dd>
1263 name of the test (string) 1376 name of the test
1264 </dd> 1377 </dd>
1265 <dt><i>doc</i></dt> 1378 <dt><i>doc</i> (str)</dt>
1266 <dd> 1379 <dd>
1267 short description of the test (string) 1380 short description of the test
1268 </dd> 1381 </dd>
1269 </dl> 1382 </dl>
1270 <a NAME="DebugServer.clientUtStopTest" ID="DebugServer.clientUtStopTest"></a> 1383 <a NAME="DebugServer.clientUtStopTest" ID="DebugServer.clientUtStopTest"></a>
1271 <h4>DebugServer.clientUtStopTest</h4> 1384 <h4>DebugServer.clientUtStopTest</h4>
1272 <b>clientUtStopTest</b>(<i></i>) 1385 <b>clientUtStopTest</b>(<i></i>)
1281 <p> 1394 <p>
1282 Public method to process the client test errored info. 1395 Public method to process the client test errored info.
1283 </p> 1396 </p>
1284 <dl> 1397 <dl>
1285 1398
1286 <dt><i>testname</i></dt> 1399 <dt><i>testname</i> (str)</dt>
1287 <dd> 1400 <dd>
1288 name of the test (string) 1401 name of the test
1289 </dd> 1402 </dd>
1290 <dt><i>traceback</i></dt> 1403 <dt><i>traceback</i> (list of str)</dt>
1291 <dd> 1404 <dd>
1292 lines of traceback info (list of strings) 1405 lines of traceback info
1293 </dd> 1406 </dd>
1294 <dt><i>testId</i></dt> 1407 <dt><i>testId</i> (str)</dt>
1295 <dd> 1408 <dd>
1296 id of the test (string) 1409 id of the test
1297 </dd> 1410 </dd>
1298 </dl> 1411 </dl>
1299 <a NAME="DebugServer.clientUtTestFailed" ID="DebugServer.clientUtTestFailed"></a> 1412 <a NAME="DebugServer.clientUtTestFailed" ID="DebugServer.clientUtTestFailed"></a>
1300 <h4>DebugServer.clientUtTestFailed</h4> 1413 <h4>DebugServer.clientUtTestFailed</h4>
1301 <b>clientUtTestFailed</b>(<i>testname, traceback, testId</i>) 1414 <b>clientUtTestFailed</b>(<i>testname, traceback, testId</i>)
1303 <p> 1416 <p>
1304 Public method to process the client test failed info. 1417 Public method to process the client test failed info.
1305 </p> 1418 </p>
1306 <dl> 1419 <dl>
1307 1420
1308 <dt><i>testname</i></dt> 1421 <dt><i>testname</i> (str)</dt>
1309 <dd> 1422 <dd>
1310 name of the test (string) 1423 name of the test
1311 </dd> 1424 </dd>
1312 <dt><i>traceback</i></dt> 1425 <dt><i>traceback</i> (list of str)</dt>
1313 <dd> 1426 <dd>
1314 lines of traceback info (list of strings) 1427 lines of traceback info
1315 </dd> 1428 </dd>
1316 <dt><i>testId</i></dt> 1429 <dt><i>testId</i> (str)</dt>
1317 <dd> 1430 <dd>
1318 id of the test (string) 1431 id of the test
1319 </dd> 1432 </dd>
1320 </dl> 1433 </dl>
1321 <a NAME="DebugServer.clientUtTestFailedExpected" ID="DebugServer.clientUtTestFailedExpected"></a> 1434 <a NAME="DebugServer.clientUtTestFailedExpected" ID="DebugServer.clientUtTestFailedExpected"></a>
1322 <h4>DebugServer.clientUtTestFailedExpected</h4> 1435 <h4>DebugServer.clientUtTestFailedExpected</h4>
1323 <b>clientUtTestFailedExpected</b>(<i>testname, traceback, testId</i>) 1436 <b>clientUtTestFailedExpected</b>(<i>testname, traceback, testId</i>)
1325 <p> 1438 <p>
1326 Public method to process the client test failed expected info. 1439 Public method to process the client test failed expected info.
1327 </p> 1440 </p>
1328 <dl> 1441 <dl>
1329 1442
1330 <dt><i>testname</i></dt> 1443 <dt><i>testname</i> (str)</dt>
1331 <dd> 1444 <dd>
1332 name of the test (string) 1445 name of the test
1333 </dd> 1446 </dd>
1334 <dt><i>traceback</i></dt> 1447 <dt><i>traceback</i> (list of str)</dt>
1335 <dd> 1448 <dd>
1336 lines of traceback info (list of strings) 1449 lines of traceback info
1337 </dd> 1450 </dd>
1338 <dt><i>testId</i></dt> 1451 <dt><i>testId</i> (str)</dt>
1339 <dd> 1452 <dd>
1340 id of the test (string) 1453 id of the test
1341 </dd> 1454 </dd>
1342 </dl> 1455 </dl>
1343 <a NAME="DebugServer.clientUtTestSkipped" ID="DebugServer.clientUtTestSkipped"></a> 1456 <a NAME="DebugServer.clientUtTestSkipped" ID="DebugServer.clientUtTestSkipped"></a>
1344 <h4>DebugServer.clientUtTestSkipped</h4> 1457 <h4>DebugServer.clientUtTestSkipped</h4>
1345 <b>clientUtTestSkipped</b>(<i>testname, reason, testId</i>) 1458 <b>clientUtTestSkipped</b>(<i>testname, reason, testId</i>)
1347 <p> 1460 <p>
1348 Public method to process the client test skipped info. 1461 Public method to process the client test skipped info.
1349 </p> 1462 </p>
1350 <dl> 1463 <dl>
1351 1464
1352 <dt><i>testname</i></dt> 1465 <dt><i>testname</i> (str)</dt>
1353 <dd> 1466 <dd>
1354 name of the test (string) 1467 name of the test
1355 </dd> 1468 </dd>
1356 <dt><i>reason</i></dt> 1469 <dt><i>reason</i> (str)</dt>
1357 <dd> 1470 <dd>
1358 reason for skipping the test (string) 1471 reason for skipping the test
1359 </dd> 1472 </dd>
1360 <dt><i>testId</i></dt> 1473 <dt><i>testId</i> (str)</dt>
1361 <dd> 1474 <dd>
1362 id of the test (string) 1475 id of the test
1363 </dd> 1476 </dd>
1364 </dl> 1477 </dl>
1365 <a NAME="DebugServer.clientUtTestSucceededUnexpected" ID="DebugServer.clientUtTestSucceededUnexpected"></a> 1478 <a NAME="DebugServer.clientUtTestSucceededUnexpected" ID="DebugServer.clientUtTestSucceededUnexpected"></a>
1366 <h4>DebugServer.clientUtTestSucceededUnexpected</h4> 1479 <h4>DebugServer.clientUtTestSucceededUnexpected</h4>
1367 <b>clientUtTestSucceededUnexpected</b>(<i>testname, testId</i>) 1480 <b>clientUtTestSucceededUnexpected</b>(<i>testname, testId</i>)
1369 <p> 1482 <p>
1370 Public method to process the client test succeeded unexpected info. 1483 Public method to process the client test succeeded unexpected info.
1371 </p> 1484 </p>
1372 <dl> 1485 <dl>
1373 1486
1374 <dt><i>testname</i></dt> 1487 <dt><i>testname</i> (str)</dt>
1375 <dd> 1488 <dd>
1376 name of the test (string) 1489 name of the test
1377 </dd> 1490 </dd>
1378 <dt><i>testId</i></dt> 1491 <dt><i>testId</i> (str)</dt>
1379 <dd> 1492 <dd>
1380 id of the test (string) 1493 id of the test
1381 </dd> 1494 </dd>
1382 </dl> 1495 </dl>
1383 <a NAME="DebugServer.getBreakPointModel" ID="DebugServer.getBreakPointModel"></a> 1496 <a NAME="DebugServer.getBreakPointModel" ID="DebugServer.getBreakPointModel"></a>
1384 <h4>DebugServer.getBreakPointModel</h4> 1497 <h4>DebugServer.getBreakPointModel</h4>
1385 <b>getBreakPointModel</b>(<i></i>) 1498 <b>getBreakPointModel</b>(<i></i>)
1388 Public slot to get a reference to the breakpoint model object. 1501 Public slot to get a reference to the breakpoint model object.
1389 </p> 1502 </p>
1390 <dl> 1503 <dl>
1391 <dt>Returns:</dt> 1504 <dt>Returns:</dt>
1392 <dd> 1505 <dd>
1393 reference to the breakpoint model object (BreakPointModel) 1506 reference to the breakpoint model object
1507 </dd>
1508 </dl>
1509 <dl>
1510 <dt>Return Type:</dt>
1511 <dd>
1512 BreakPointModel
1394 </dd> 1513 </dd>
1395 </dl> 1514 </dl>
1396 <a NAME="DebugServer.getClientCapabilities" ID="DebugServer.getClientCapabilities"></a> 1515 <a NAME="DebugServer.getClientCapabilities" ID="DebugServer.getClientCapabilities"></a>
1397 <h4>DebugServer.getClientCapabilities</h4> 1516 <h4>DebugServer.getClientCapabilities</h4>
1398 <b>getClientCapabilities</b>(<i>clientType</i>) 1517 <b>getClientCapabilities</b>(<i>clientType</i>)
1400 <p> 1519 <p>
1401 Public method to retrieve the debug clients capabilities. 1520 Public method to retrieve the debug clients capabilities.
1402 </p> 1521 </p>
1403 <dl> 1522 <dl>
1404 1523
1405 <dt><i>clientType</i></dt> 1524 <dt><i>clientType</i> (str)</dt>
1406 <dd> 1525 <dd>
1407 debug client type (string) 1526 debug client type
1408 </dd> 1527 </dd>
1409 </dl> 1528 </dl>
1410 <dl> 1529 <dl>
1411 <dt>Returns:</dt> 1530 <dt>Returns:</dt>
1412 <dd> 1531 <dd>
1413 debug client capabilities (integer) 1532 debug client capabilities
1533 </dd>
1534 </dl>
1535 <dl>
1536 <dt>Return Type:</dt>
1537 <dd>
1538 int
1414 </dd> 1539 </dd>
1415 </dl> 1540 </dl>
1416 <a NAME="DebugServer.getClientInterpreter" ID="DebugServer.getClientInterpreter"></a> 1541 <a NAME="DebugServer.getClientInterpreter" ID="DebugServer.getClientInterpreter"></a>
1417 <h4>DebugServer.getClientInterpreter</h4> 1542 <h4>DebugServer.getClientInterpreter</h4>
1418 <b>getClientInterpreter</b>(<i></i>) 1543 <b>getClientInterpreter</b>(<i></i>)
1421 Public method to get the interpreter of the debug client. 1546 Public method to get the interpreter of the debug client.
1422 </p> 1547 </p>
1423 <dl> 1548 <dl>
1424 <dt>Returns:</dt> 1549 <dt>Returns:</dt>
1425 <dd> 1550 <dd>
1426 interpreter of the debug client (string) 1551 interpreter of the debug client
1552 </dd>
1553 </dl>
1554 <dl>
1555 <dt>Return Type:</dt>
1556 <dd>
1557 str
1427 </dd> 1558 </dd>
1428 </dl> 1559 </dl>
1429 <a NAME="DebugServer.getClientType" ID="DebugServer.getClientType"></a> 1560 <a NAME="DebugServer.getClientType" ID="DebugServer.getClientType"></a>
1430 <h4>DebugServer.getClientType</h4> 1561 <h4>DebugServer.getClientType</h4>
1431 <b>getClientType</b>(<i></i>) 1562 <b>getClientType</b>(<i></i>)
1443 <dt>Return Type:</dt> 1574 <dt>Return Type:</dt>
1444 <dd> 1575 <dd>
1445 str 1576 str
1446 </dd> 1577 </dd>
1447 </dl> 1578 </dl>
1579 <a NAME="DebugServer.getDebuggerIds" ID="DebugServer.getDebuggerIds"></a>
1580 <h4>DebugServer.getDebuggerIds</h4>
1581 <b>getDebuggerIds</b>(<i></i>)
1582
1583 <p>
1584 Public method to return the IDs of the connected debugger backends.
1585 </p>
1586 <dl>
1587 <dt>Returns:</dt>
1588 <dd>
1589 list of connected debugger backend IDs
1590 </dd>
1591 </dl>
1592 <dl>
1593 <dt>Return Type:</dt>
1594 <dd>
1595 list of str
1596 </dd>
1597 </dl>
1448 <a NAME="DebugServer.getExtensions" ID="DebugServer.getExtensions"></a> 1598 <a NAME="DebugServer.getExtensions" ID="DebugServer.getExtensions"></a>
1449 <h4>DebugServer.getExtensions</h4> 1599 <h4>DebugServer.getExtensions</h4>
1450 <b>getExtensions</b>(<i>language</i>) 1600 <b>getExtensions</b>(<i>language</i>)
1451 1601
1452 <p> 1602 <p>
1453 Public slot to get the extensions associated with the given language. 1603 Public slot to get the extensions associated with the given language.
1454 </p> 1604 </p>
1455 <dl> 1605 <dl>
1456 1606
1457 <dt><i>language</i></dt> 1607 <dt><i>language</i> (str)</dt>
1458 <dd> 1608 <dd>
1459 language to get extensions for (string) 1609 language to get extensions for
1460 </dd> 1610 </dd>
1461 </dl> 1611 </dl>
1462 <dl> 1612 <dl>
1463 <dt>Returns:</dt> 1613 <dt>Returns:</dt>
1464 <dd> 1614 <dd>
1465 tuple of extensions associated with the language 1615 tuple of extensions associated with the language
1466 (tuple of strings) 1616 </dd>
1617 </dl>
1618 <dl>
1619 <dt>Return Type:</dt>
1620 <dd>
1621 tuple of str
1467 </dd> 1622 </dd>
1468 </dl> 1623 </dl>
1469 <a NAME="DebugServer.getHostAddress" ID="DebugServer.getHostAddress"></a> 1624 <a NAME="DebugServer.getHostAddress" ID="DebugServer.getHostAddress"></a>
1470 <h4>DebugServer.getHostAddress</h4> 1625 <h4>DebugServer.getHostAddress</h4>
1471 <b>getHostAddress</b>(<i>localhost</i>) 1626 <b>getHostAddress</b>(<i>localhost</i>)
1474 Public method to get the IP address or hostname the debug server is 1629 Public method to get the IP address or hostname the debug server is
1475 listening. 1630 listening.
1476 </p> 1631 </p>
1477 <dl> 1632 <dl>
1478 1633
1479 <dt><i>localhost</i></dt> 1634 <dt><i>localhost</i> (bool)</dt>
1480 <dd> 1635 <dd>
1481 flag indicating to return the address for localhost 1636 flag indicating to return the address for localhost
1482 (boolean)
1483 </dd> 1637 </dd>
1484 </dl> 1638 </dl>
1485 <dl> 1639 <dl>
1486 <dt>Returns:</dt> 1640 <dt>Returns:</dt>
1487 <dd> 1641 <dd>
1488 IP address or hostname (string) 1642 IP address or hostname
1643 </dd>
1644 </dl>
1645 <dl>
1646 <dt>Return Type:</dt>
1647 <dd>
1648 str
1489 </dd> 1649 </dd>
1490 </dl> 1650 </dl>
1491 <a NAME="DebugServer.getSupportedLanguages" ID="DebugServer.getSupportedLanguages"></a> 1651 <a NAME="DebugServer.getSupportedLanguages" ID="DebugServer.getSupportedLanguages"></a>
1492 <h4>DebugServer.getSupportedLanguages</h4> 1652 <h4>DebugServer.getSupportedLanguages</h4>
1493 <b>getSupportedLanguages</b>(<i>shellOnly=False</i>) 1653 <b>getSupportedLanguages</b>(<i>shellOnly=False</i>)
1495 <p> 1655 <p>
1496 Public slot to return the supported programming languages. 1656 Public slot to return the supported programming languages.
1497 </p> 1657 </p>
1498 <dl> 1658 <dl>
1499 1659
1500 <dt><i>shellOnly</i></dt> 1660 <dt><i>shellOnly</i> (bool)</dt>
1501 <dd> 1661 <dd>
1502 flag indicating only languages supporting an 1662 flag indicating only languages supporting an
1503 interactive shell should be returned 1663 interactive shell should be returned
1504 </dd> 1664 </dd>
1505 </dl> 1665 </dl>
1506 <dl> 1666 <dl>
1507 <dt>Returns:</dt> 1667 <dt>Returns:</dt>
1508 <dd> 1668 <dd>
1509 list of supported languages (list of strings) 1669 list of supported languages
1670 </dd>
1671 </dl>
1672 <dl>
1673 <dt>Return Type:</dt>
1674 <dd>
1675 list of str
1510 </dd> 1676 </dd>
1511 </dl> 1677 </dl>
1512 <a NAME="DebugServer.getWatchPointModel" ID="DebugServer.getWatchPointModel"></a> 1678 <a NAME="DebugServer.getWatchPointModel" ID="DebugServer.getWatchPointModel"></a>
1513 <h4>DebugServer.getWatchPointModel</h4> 1679 <h4>DebugServer.getWatchPointModel</h4>
1514 <b>getWatchPointModel</b>(<i></i>) 1680 <b>getWatchPointModel</b>(<i></i>)
1518 </p> 1684 </p>
1519 <dl> 1685 <dl>
1520 <dt>Returns:</dt> 1686 <dt>Returns:</dt>
1521 <dd> 1687 <dd>
1522 reference to the watch expression model object 1688 reference to the watch expression model object
1523 (WatchPointModel) 1689 </dd>
1690 </dl>
1691 <dl>
1692 <dt>Return Type:</dt>
1693 <dd>
1694 WatchPointModel
1695 </dd>
1696 </dl>
1697 <a NAME="DebugServer.initializeClient" ID="DebugServer.initializeClient"></a>
1698 <h4>DebugServer.initializeClient</h4>
1699 <b>initializeClient</b>(<i>debuggerId</i>)
1700
1701 <p>
1702 Public method to initialize a freshly connected debug client.
1703 </p>
1704 <dl>
1705
1706 <dt><i>debuggerId</i> (str)</dt>
1707 <dd>
1708 ID of the connected debugger
1524 </dd> 1709 </dd>
1525 </dl> 1710 </dl>
1526 <a NAME="DebugServer.isClientProcessUp" ID="DebugServer.isClientProcessUp"></a> 1711 <a NAME="DebugServer.isClientProcessUp" ID="DebugServer.isClientProcessUp"></a>
1527 <h4>DebugServer.isClientProcessUp</h4> 1712 <h4>DebugServer.isClientProcessUp</h4>
1528 <b>isClientProcessUp</b>(<i></i>) 1713 <b>isClientProcessUp</b>(<i></i>)
1550 Public method to test, if the debug server is connected to a backend. 1735 Public method to test, if the debug server is connected to a backend.
1551 </p> 1736 </p>
1552 <dl> 1737 <dl>
1553 <dt>Returns:</dt> 1738 <dt>Returns:</dt>
1554 <dd> 1739 <dd>
1555 flag indicating a connection (boolean) 1740 flag indicating a connection
1741 </dd>
1742 </dl>
1743 <dl>
1744 <dt>Return Type:</dt>
1745 <dd>
1746 bool
1556 </dd> 1747 </dd>
1557 </dl> 1748 </dl>
1558 <a NAME="DebugServer.isDebugging" ID="DebugServer.isDebugging"></a> 1749 <a NAME="DebugServer.isDebugging" ID="DebugServer.isDebugging"></a>
1559 <h4>DebugServer.isDebugging</h4> 1750 <h4>DebugServer.isDebugging</h4>
1560 <b>isDebugging</b>(<i></i>) 1751 <b>isDebugging</b>(<i></i>)
1572 <dt>Return Type:</dt> 1763 <dt>Return Type:</dt>
1573 <dd> 1764 <dd>
1574 bool 1765 bool
1575 </dd> 1766 </dd>
1576 </dl> 1767 </dl>
1768 <a NAME="DebugServer.masterClientConnected" ID="DebugServer.masterClientConnected"></a>
1769 <h4>DebugServer.masterClientConnected</h4>
1770 <b>masterClientConnected</b>(<i></i>)
1771
1772 <p>
1773 Public method to perform actions after the master client has finally
1774 established the connection.
1775 </p>
1577 <a NAME="DebugServer.passiveStartUp" ID="DebugServer.passiveStartUp"></a> 1776 <a NAME="DebugServer.passiveStartUp" ID="DebugServer.passiveStartUp"></a>
1578 <h4>DebugServer.passiveStartUp</h4> 1777 <h4>DebugServer.passiveStartUp</h4>
1579 <b>passiveStartUp</b>(<i>fn, exc</i>) 1778 <b>passiveStartUp</b>(<i>fn, exc, debuggerId</i>)
1580 1779
1581 <p> 1780 <p>
1582 Public method to handle a passive debug connection. 1781 Public method to handle a passive debug connection.
1583 </p> 1782 </p>
1584 <dl> 1783 <dl>
1585 1784
1586 <dt><i>fn</i></dt> 1785 <dt><i>fn</i> (str)</dt>
1587 <dd> 1786 <dd>
1588 filename of the debugged script (string) 1787 filename of the debugged script
1589 </dd> 1788 </dd>
1590 <dt><i>exc</i></dt> 1789 <dt><i>exc</i> (bool)</dt>
1591 <dd> 1790 <dd>
1592 flag to enable exception reporting of the IDE (boolean) 1791 flag to enable exception reporting of the IDE
1792 </dd>
1793 <dt><i>debuggerId</i> (str)</dt>
1794 <dd>
1795 ID of the debugger backend
1593 </dd> 1796 </dd>
1594 </dl> 1797 </dl>
1595 <a NAME="DebugServer.preferencesChanged" ID="DebugServer.preferencesChanged"></a> 1798 <a NAME="DebugServer.preferencesChanged" ID="DebugServer.preferencesChanged"></a>
1596 <h4>DebugServer.preferencesChanged</h4> 1799 <h4>DebugServer.preferencesChanged</h4>
1597 <b>preferencesChanged</b>(<i></i>) 1800 <b>preferencesChanged</b>(<i></i>)
1632 <p> 1835 <p>
1633 Public slot to get the banner info of the remote client. 1836 Public slot to get the banner info of the remote client.
1634 </p> 1837 </p>
1635 <a NAME="DebugServer.remoteBreakpoint" ID="DebugServer.remoteBreakpoint"></a> 1838 <a NAME="DebugServer.remoteBreakpoint" ID="DebugServer.remoteBreakpoint"></a>
1636 <h4>DebugServer.remoteBreakpoint</h4> 1839 <h4>DebugServer.remoteBreakpoint</h4>
1637 <b>remoteBreakpoint</b>(<i>fn, line, setBreakpoint, cond=None, temp=False</i>) 1840 <b>remoteBreakpoint</b>(<i>debuggerId, fn, line, setBreakpoint, cond=None, temp=False</i>)
1638 1841
1639 <p> 1842 <p>
1640 Public method to set or clear a breakpoint. 1843 Public method to set or clear a breakpoint.
1641 </p> 1844 </p>
1642 <dl> 1845 <dl>
1643 1846
1644 <dt><i>fn</i></dt> 1847 <dt><i>debuggerId</i> (str)</dt>
1645 <dd> 1848 <dd>
1646 filename the breakpoint belongs to (string) 1849 ID of the debugger backend
1647 </dd> 1850 </dd>
1648 <dt><i>line</i></dt> 1851 <dt><i>fn</i> (str)</dt>
1649 <dd> 1852 <dd>
1650 linenumber of the breakpoint (int) 1853 filename the breakpoint belongs to
1651 </dd> 1854 </dd>
1652 <dt><i>setBreakpoint</i></dt> 1855 <dt><i>line</i> (int)</dt>
1856 <dd>
1857 linenumber of the breakpoint
1858 </dd>
1859 <dt><i>setBreakpoint</i> (bool)</dt>
1653 <dd> 1860 <dd>
1654 flag indicating setting or resetting a breakpoint 1861 flag indicating setting or resetting a breakpoint
1655 (boolean) 1862 </dd>
1656 </dd> 1863 <dt><i>cond</i> (str)</dt>
1657 <dt><i>cond</i></dt> 1864 <dd>
1658 <dd> 1865 condition of the breakpoint
1659 condition of the breakpoint (string) 1866 </dd>
1660 </dd> 1867 <dt><i>temp</i> (bool)</dt>
1661 <dt><i>temp</i></dt> 1868 <dd>
1662 <dd> 1869 flag indicating a temporary breakpoint
1663 flag indicating a temporary breakpoint (boolean)
1664 </dd> 1870 </dd>
1665 </dl> 1871 </dl>
1666 <a NAME="DebugServer.remoteCapabilities" ID="DebugServer.remoteCapabilities"></a> 1872 <a NAME="DebugServer.remoteCapabilities" ID="DebugServer.remoteCapabilities"></a>
1667 <h4>DebugServer.remoteCapabilities</h4> 1873 <h4>DebugServer.remoteCapabilities</h4>
1668 <b>remoteCapabilities</b>(<i></i>) 1874 <b>remoteCapabilities</b>(<i></i>)
1670 <p> 1876 <p>
1671 Public slot to get the debug clients capabilities. 1877 Public slot to get the debug clients capabilities.
1672 </p> 1878 </p>
1673 <a NAME="DebugServer.remoteClientDisassembly" ID="DebugServer.remoteClientDisassembly"></a> 1879 <a NAME="DebugServer.remoteClientDisassembly" ID="DebugServer.remoteClientDisassembly"></a>
1674 <h4>DebugServer.remoteClientDisassembly</h4> 1880 <h4>DebugServer.remoteClientDisassembly</h4>
1675 <b>remoteClientDisassembly</b>(<i></i>) 1881 <b>remoteClientDisassembly</b>(<i>debuggerId</i>)
1676 1882
1677 <p> 1883 <p>
1678 Public method to ask the client for the latest traceback disassembly. 1884 Public method to ask the client for the latest traceback disassembly.
1679 </p> 1885 </p>
1886 <dl>
1887
1888 <dt><i>debuggerId</i> (str)</dt>
1889 <dd>
1890 ID of the debugger backend
1891 </dd>
1892 </dl>
1680 <a NAME="DebugServer.remoteClientSetFilter" ID="DebugServer.remoteClientSetFilter"></a> 1893 <a NAME="DebugServer.remoteClientSetFilter" ID="DebugServer.remoteClientSetFilter"></a>
1681 <h4>DebugServer.remoteClientSetFilter</h4> 1894 <h4>DebugServer.remoteClientSetFilter</h4>
1682 <b>remoteClientSetFilter</b>(<i>scope, filterStr</i>) 1895 <b>remoteClientSetFilter</b>(<i>debuggerId, scope, filterStr</i>)
1683 1896
1684 <p> 1897 <p>
1685 Public method to set a variables filter list. 1898 Public method to set a variables filter list.
1686 </p> 1899 </p>
1687 <dl> 1900 <dl>
1688 1901
1689 <dt><i>scope</i></dt> 1902 <dt><i>debuggerId</i> (str)</dt>
1903 <dd>
1904 ID of the debugger backend
1905 </dd>
1906 <dt><i>scope</i> (int)</dt>
1690 <dd> 1907 <dd>
1691 the scope of the variables (0 = local, 1 = global) 1908 the scope of the variables (0 = local, 1 = global)
1692 </dd> 1909 </dd>
1693 <dt><i>filterStr</i></dt> 1910 <dt><i>filterStr</i> (str)</dt>
1694 <dd> 1911 <dd>
1695 regexp string for variable names to filter out 1912 regexp string for variable names to filter out
1696 (string) 1913 </dd>
1914 </dl>
1915 <a NAME="DebugServer.remoteClientStack" ID="DebugServer.remoteClientStack"></a>
1916 <h4>DebugServer.remoteClientStack</h4>
1917 <b>remoteClientStack</b>(<i>debuggerId</i>)
1918
1919 <p>
1920 Public method to request the stack of the main thread.
1921 </p>
1922 <dl>
1923
1924 <dt><i>debuggerId</i> (str)</dt>
1925 <dd>
1926 ID of the debugger backend
1697 </dd> 1927 </dd>
1698 </dl> 1928 </dl>
1699 <a NAME="DebugServer.remoteClientVariable" ID="DebugServer.remoteClientVariable"></a> 1929 <a NAME="DebugServer.remoteClientVariable" ID="DebugServer.remoteClientVariable"></a>
1700 <h4>DebugServer.remoteClientVariable</h4> 1930 <h4>DebugServer.remoteClientVariable</h4>
1701 <b>remoteClientVariable</b>(<i>scope, filterList, var, framenr=0</i>) 1931 <b>remoteClientVariable</b>(<i>debuggerId, scope, filterList, var, framenr=0, maxSize=0</i>)
1702 1932
1703 <p> 1933 <p>
1704 Public method to request the variables of the debugged program. 1934 Public method to request the variables of the debugged program.
1705 </p> 1935 </p>
1706 <dl> 1936 <dl>
1707 1937
1708 <dt><i>scope</i></dt> 1938 <dt><i>debuggerId</i> (str)</dt>
1939 <dd>
1940 ID of the debugger backend
1941 </dd>
1942 <dt><i>scope</i> (int)</dt>
1709 <dd> 1943 <dd>
1710 the scope of the variables (0 = local, 1 = global) 1944 the scope of the variables (0 = local, 1 = global)
1711 </dd> 1945 </dd>
1712 <dt><i>filterList</i></dt> 1946 <dt><i>filterList</i> (list of str)</dt>
1713 <dd> 1947 <dd>
1714 list of variable types to filter out (list of int) 1948 list of variable types to filter out
1715 </dd> 1949 </dd>
1716 <dt><i>var</i></dt> 1950 <dt><i>var</i> (list of str)</dt>
1717 <dd> 1951 <dd>
1718 list encoded name of variable to retrieve (string) 1952 list encoded name of variable to retrieve
1719 </dd> 1953 </dd>
1720 <dt><i>framenr</i></dt> 1954 <dt><i>framenr</i> (int)</dt>
1721 <dd> 1955 <dd>
1722 framenumber of the variables to retrieve (int) 1956 framenumber of the variables to retrieve
1957 </dd>
1958 <dt><i>maxSize</i> (int)</dt>
1959 <dd>
1960 maximum size the formatted value of a variable will
1961 be shown. If it is bigger than that, a 'too big' indication will
1962 be given (@@TOO_BIG_TO_SHOW@@).
1723 </dd> 1963 </dd>
1724 </dl> 1964 </dl>
1725 <a NAME="DebugServer.remoteClientVariables" ID="DebugServer.remoteClientVariables"></a> 1965 <a NAME="DebugServer.remoteClientVariables" ID="DebugServer.remoteClientVariables"></a>
1726 <h4>DebugServer.remoteClientVariables</h4> 1966 <h4>DebugServer.remoteClientVariables</h4>
1727 <b>remoteClientVariables</b>(<i>scope, filterList, framenr=0</i>) 1967 <b>remoteClientVariables</b>(<i>debuggerId, scope, filterList, framenr=0</i>)
1728 1968
1729 <p> 1969 <p>
1730 Public method to request the variables of the debugged program. 1970 Public method to request the variables of the debugged program.
1731 </p> 1971 </p>
1732 <dl> 1972 <dl>
1733 1973
1734 <dt><i>scope</i></dt> 1974 <dt><i>debuggerId</i> (str)</dt>
1975 <dd>
1976 ID of the debugger backend
1977 </dd>
1978 <dt><i>scope</i> (int)</dt>
1735 <dd> 1979 <dd>
1736 the scope of the variables (0 = local, 1 = global) 1980 the scope of the variables (0 = local, 1 = global)
1737 </dd> 1981 </dd>
1738 <dt><i>filterList</i></dt> 1982 <dt><i>filterList</i> (list of str)</dt>
1739 <dd> 1983 <dd>
1740 list of variable types to filter out (list of int) 1984 list of variable types to filter out
1741 </dd> 1985 </dd>
1742 <dt><i>framenr</i></dt> 1986 <dt><i>framenr</i> (int)</dt>
1743 <dd> 1987 <dd>
1744 framenumber of the variables to retrieve (int) 1988 framenumber of the variables to retrieve
1745 </dd> 1989 </dd>
1746 </dl> 1990 </dl>
1747 <a NAME="DebugServer.remoteCompletion" ID="DebugServer.remoteCompletion"></a> 1991 <a NAME="DebugServer.remoteCompletion" ID="DebugServer.remoteCompletion"></a>
1748 <h4>DebugServer.remoteCompletion</h4> 1992 <h4>DebugServer.remoteCompletion</h4>
1749 <b>remoteCompletion</b>(<i>text</i>) 1993 <b>remoteCompletion</b>(<i>debuggerId, text</i>)
1750 1994
1751 <p> 1995 <p>
1752 Public slot to get the a list of possible commandline completions 1996 Public slot to get the a list of possible commandline completions
1753 from the remote client. 1997 from the remote client.
1754 </p> 1998 </p>
1755 <dl> 1999 <dl>
1756 2000
1757 <dt><i>text</i></dt> 2001 <dt><i>debuggerId</i> (str)</dt>
1758 <dd> 2002 <dd>
1759 the text to be completed (string) 2003 ID of the debugger backend
2004 </dd>
2005 <dt><i>text</i> (str)</dt>
2006 <dd>
2007 the text to be completed
1760 </dd> 2008 </dd>
1761 </dl> 2009 </dl>
1762 <a NAME="DebugServer.remoteContinue" ID="DebugServer.remoteContinue"></a> 2010 <a NAME="DebugServer.remoteContinue" ID="DebugServer.remoteContinue"></a>
1763 <h4>DebugServer.remoteContinue</h4> 2011 <h4>DebugServer.remoteContinue</h4>
1764 <b>remoteContinue</b>(<i>special=False</i>) 2012 <b>remoteContinue</b>(<i>debuggerId, special=False</i>)
1765 2013
1766 <p> 2014 <p>
1767 Public method to continue the debugged program. 2015 Public method to continue the debugged program.
1768 </p> 2016 </p>
1769 <dl> 2017 <dl>
1770 2018
2019 <dt><i>debuggerId</i> (str)</dt>
2020 <dd>
2021 ID of the debugger backend
2022 </dd>
1771 <dt><i>special</i></dt> 2023 <dt><i>special</i></dt>
1772 <dd> 2024 <dd>
1773 flag indicating a special continue operation 2025 flag indicating a special continue operation
1774 </dd> 2026 </dd>
1775 </dl> 2027 </dl>
1800 </dd> 2052 </dd>
1801 <dt><i>env</i> (str)</dt> 2053 <dt><i>env</i> (str)</dt>
1802 <dd> 2054 <dd>
1803 environment parameter settings 2055 environment parameter settings
1804 </dd> 2056 </dd>
1805 <dt><i>autoClearShell=</i> (bool)</dt> 2057 <dt><i>autoClearShell</i> (bool)</dt>
1806 <dd> 2058 <dd>
1807 flag indicating, that the interpreter window 2059 flag indicating, that the interpreter window
1808 should be cleared 2060 should be cleared
1809 </dd> 2061 </dd>
1810 <dt><i>erase=</i> (bool)</dt> 2062 <dt><i>erase</i> (bool)</dt>
1811 <dd> 2063 <dd>
1812 flag indicating that coverage info should be 2064 flag indicating that coverage info should be
1813 cleared first 2065 cleared first
1814 </dd> 2066 </dd>
1815 <dt><i>forProject=</i> (bool)</dt> 2067 <dt><i>forProject</i> (bool)</dt>
1816 <dd> 2068 <dd>
1817 flag indicating a project related action 2069 flag indicating a project related action
1818 </dd> 2070 </dd>
1819 <dt><i>runInConsole=</i> (bool)</dt> 2071 <dt><i>runInConsole</i> (bool)</dt>
1820 <dd> 2072 <dd>
1821 flag indicating to start the debugger in a 2073 flag indicating to start the debugger in a
1822 console window 2074 console window
1823 </dd> 2075 </dd>
1824 <dt><i>clientType=</i> (str)</dt> 2076 <dt><i>clientType</i> (str)</dt>
1825 <dd> 2077 <dd>
1826 client type to be used 2078 client type to be used
1827 </dd> 2079 </dd>
1828 </dl> 2080 </dl>
1829 <a NAME="DebugServer.remoteEnvironment" ID="DebugServer.remoteEnvironment"></a> 2081 <a NAME="DebugServer.remoteEnvironment" ID="DebugServer.remoteEnvironment"></a>
1833 <p> 2085 <p>
1834 Public method to set the environment for a program to debug, run, ... 2086 Public method to set the environment for a program to debug, run, ...
1835 </p> 2087 </p>
1836 <dl> 2088 <dl>
1837 2089
1838 <dt><i>env</i></dt> 2090 <dt><i>env</i> (str)</dt>
1839 <dd> 2091 <dd>
1840 environment settings (string) 2092 environment settings
1841 </dd> 2093 </dd>
1842 </dl> 2094 </dl>
1843 <a NAME="DebugServer.remoteLoad" ID="DebugServer.remoteLoad"></a> 2095 <a NAME="DebugServer.remoteLoad" ID="DebugServer.remoteLoad"></a>
1844 <h4>DebugServer.remoteLoad</h4> 2096 <h4>DebugServer.remoteLoad</h4>
1845 <b>remoteLoad</b>(<i>venvName, fn, argv, wd, env, autoClearShell=True, tracePython=False, autoContinue=True, forProject=False, runInConsole=False, autoFork=False, forkChild=False, clientType="", enableCallTrace=False</i>) 2097 <b>remoteLoad</b>(<i>venvName, fn, argv, wd, env, autoClearShell=True, tracePython=False, autoContinue=True, forProject=False, runInConsole=False, clientType="", enableCallTrace=False, enableMultiprocess=False, multiprocessNoDebug=""</i>)
1846 2098
1847 <p> 2099 <p>
1848 Public method to load a new program to debug. 2100 Public method to load a new program to debug.
1849 </p> 2101 </p>
1850 <dl> 2102 <dl>
1867 </dd> 2119 </dd>
1868 <dt><i>env</i> (str)</dt> 2120 <dt><i>env</i> (str)</dt>
1869 <dd> 2121 <dd>
1870 environment parameter settings 2122 environment parameter settings
1871 </dd> 2123 </dd>
1872 <dt><i>autoClearShell=</i> (bool)</dt> 2124 <dt><i>autoClearShell</i> (bool)</dt>
1873 <dd> 2125 <dd>
1874 flag indicating, that the interpreter window 2126 flag indicating, that the interpreter window
1875 should be cleared 2127 should be cleared
1876 </dd> 2128 </dd>
1877 <dt><i>tracePython=</i> (bool)</dt> 2129 <dt><i>tracePython</i> (bool)</dt>
1878 <dd> 2130 <dd>
1879 flag indicating if the Python library should be 2131 flag indicating if the Python library should be
1880 traced as well 2132 traced as well
1881 </dd> 2133 </dd>
1882 <dt><i>autoContinue=</i> (bool)</dt> 2134 <dt><i>autoContinue</i> (bool)</dt>
1883 <dd> 2135 <dd>
1884 flag indicating, that the debugger should not 2136 flag indicating, that the debugger should not
1885 stop at the first executable line 2137 stop at the first executable line
1886 </dd> 2138 </dd>
1887 <dt><i>forProject=</i> (bool)</dt> 2139 <dt><i>forProject</i> (bool)</dt>
1888 <dd> 2140 <dd>
1889 flag indicating a project related action 2141 flag indicating a project related action
1890 </dd> 2142 </dd>
1891 <dt><i>runInConsole=</i> (bool)</dt> 2143 <dt><i>runInConsole</i> (bool)</dt>
1892 <dd> 2144 <dd>
1893 flag indicating to start the debugger in a 2145 flag indicating to start the debugger in a
1894 console window 2146 console window
1895 </dd> 2147 </dd>
1896 <dt><i>autoFork=</i> (bool)</dt> 2148 <dt><i>clientType</i> (str)</dt>
1897 <dd>
1898 flag indicating the automatic fork mode
1899 </dd>
1900 <dt><i>forkChild=</i> (bool)</dt>
1901 <dd>
1902 flag indicating to debug the child after forking
1903 </dd>
1904 <dt><i>clientType=</i> (str)</dt>
1905 <dd> 2149 <dd>
1906 client type to be used 2150 client type to be used
1907 </dd> 2151 </dd>
1908 <dt><i>enableCallTrace=</i> (bool)</dt> 2152 <dt><i>enableCallTrace</i> (bool)</dt>
1909 <dd> 2153 <dd>
1910 flag indicating to enable the call trace 2154 flag indicating to enable the call trace
1911 function 2155 function
1912 </dd> 2156 </dd>
2157 <dt><i>enableMultiprocess</i> (bool)</dt>
2158 <dd>
2159 flag indicating to perform multiprocess
2160 debugging
2161 </dd>
2162 <dt><i>multiprocessNoDebug</i> (str)</dt>
2163 <dd>
2164 space separated list of programs not to be
2165 debugged
2166 </dd>
1913 </dl> 2167 </dl>
1914 <a NAME="DebugServer.remoteMoveIP" ID="DebugServer.remoteMoveIP"></a> 2168 <a NAME="DebugServer.remoteMoveIP" ID="DebugServer.remoteMoveIP"></a>
1915 <h4>DebugServer.remoteMoveIP</h4> 2169 <h4>DebugServer.remoteMoveIP</h4>
1916 <b>remoteMoveIP</b>(<i>line</i>) 2170 <b>remoteMoveIP</b>(<i>debuggerId, line</i>)
1917 2171
1918 <p> 2172 <p>
1919 Public method to move the instruction pointer to a different line. 2173 Public method to move the instruction pointer to a different line.
1920 </p> 2174 </p>
1921 <dl> 2175 <dl>
1922 2176
1923 <dt><i>line</i></dt> 2177 <dt><i>debuggerId</i> (str)</dt>
2178 <dd>
2179 ID of the debugger backend
2180 </dd>
2181 <dt><i>line</i> (int)</dt>
1924 <dd> 2182 <dd>
1925 the new line, where execution should be continued 2183 the new line, where execution should be continued
1926 </dd> 2184 </dd>
1927 </dl> 2185 </dl>
1928 <a NAME="DebugServer.remoteProfile" ID="DebugServer.remoteProfile"></a> 2186 <a NAME="DebugServer.remoteProfile" ID="DebugServer.remoteProfile"></a>
1952 </dd> 2210 </dd>
1953 <dt><i>env</i> (str)</dt> 2211 <dt><i>env</i> (str)</dt>
1954 <dd> 2212 <dd>
1955 environment parameter settings 2213 environment parameter settings
1956 </dd> 2214 </dd>
1957 <dt><i>autoClearShell=</i> (bool)</dt> 2215 <dt><i>autoClearShell</i> (bool)</dt>
1958 <dd> 2216 <dd>
1959 flag indicating, that the interpreter window 2217 flag indicating, that the interpreter window
1960 should be cleared 2218 should be cleared
1961 </dd> 2219 </dd>
1962 <dt><i>erase=</i> (bool)</dt> 2220 <dt><i>erase</i> (bool)</dt>
1963 <dd> 2221 <dd>
1964 flag indicating that coverage info should be 2222 flag indicating that coverage info should be
1965 cleared first 2223 cleared first
1966 </dd> 2224 </dd>
1967 <dt><i>forProject=</i> (bool)</dt> 2225 <dt><i>forProject</i> (bool)</dt>
1968 <dd> 2226 <dd>
1969 flag indicating a project related action 2227 flag indicating a project related action
1970 </dd> 2228 </dd>
1971 <dt><i>runInConsole=</i> (bool)</dt> 2229 <dt><i>runInConsole</i> (bool)</dt>
1972 <dd> 2230 <dd>
1973 flag indicating to start the debugger in a 2231 flag indicating to start the debugger in a
1974 console window 2232 console window
1975 </dd> 2233 </dd>
1976 <dt><i>clientType=</i> (str)</dt> 2234 <dt><i>clientType</i> (str)</dt>
1977 <dd> 2235 <dd>
1978 client type to be used 2236 client type to be used
1979 </dd> 2237 </dd>
1980 </dl> 2238 </dl>
1981 <a NAME="DebugServer.remoteRawInput" ID="DebugServer.remoteRawInput"></a> 2239 <a NAME="DebugServer.remoteRawInput" ID="DebugServer.remoteRawInput"></a>
1982 <h4>DebugServer.remoteRawInput</h4> 2240 <h4>DebugServer.remoteRawInput</h4>
1983 <b>remoteRawInput</b>(<i>s</i>) 2241 <b>remoteRawInput</b>(<i>debuggerId, inputString</i>)
1984 2242
1985 <p> 2243 <p>
1986 Public method to send the raw input to the debugged program. 2244 Public method to send the raw input to the debugged program.
1987 </p> 2245 </p>
1988 <dl> 2246 <dl>
1989 2247
1990 <dt><i>s</i></dt> 2248 <dt><i>debuggerId</i> (str)</dt>
1991 <dd> 2249 <dd>
1992 the raw input (string) 2250 ID of the debugger backend
2251 </dd>
2252 <dt><i>inputString</i> (str)</dt>
2253 <dd>
2254 the raw input
1993 </dd> 2255 </dd>
1994 </dl> 2256 </dl>
1995 <a NAME="DebugServer.remoteRun" ID="DebugServer.remoteRun"></a> 2257 <a NAME="DebugServer.remoteRun" ID="DebugServer.remoteRun"></a>
1996 <h4>DebugServer.remoteRun</h4> 2258 <h4>DebugServer.remoteRun</h4>
1997 <b>remoteRun</b>(<i>venvName, fn, argv, wd, env, autoClearShell=True, forProject=False, runInConsole=False, autoFork=False, forkChild=False, clientType=""</i>) 2259 <b>remoteRun</b>(<i>venvName, fn, argv, wd, env, autoClearShell=True, forProject=False, runInConsole=False, clientType=""</i>)
1998 2260
1999 <p> 2261 <p>
2000 Public method to load a new program to run. 2262 Public method to load a new program to run.
2001 </p> 2263 </p>
2002 <dl> 2264 <dl>
2019 </dd> 2281 </dd>
2020 <dt><i>env</i> (str)</dt> 2282 <dt><i>env</i> (str)</dt>
2021 <dd> 2283 <dd>
2022 environment parameter settings 2284 environment parameter settings
2023 </dd> 2285 </dd>
2024 <dt><i>autoClearShell=</i> (bool)</dt> 2286 <dt><i>autoClearShell</i> (bool)</dt>
2025 <dd> 2287 <dd>
2026 flag indicating, that the interpreter window 2288 flag indicating, that the interpreter window
2027 should be cleared 2289 should be cleared
2028 </dd> 2290 </dd>
2029 <dt><i>forProject=</i> (bool)</dt> 2291 <dt><i>forProject</i> (bool)</dt>
2030 <dd> 2292 <dd>
2031 flag indicating a project related action 2293 flag indicating a project related action
2032 </dd> 2294 </dd>
2033 <dt><i>runInConsole=</i> (bool)</dt> 2295 <dt><i>runInConsole</i> (bool)</dt>
2034 <dd> 2296 <dd>
2035 flag indicating to start the debugger in a 2297 flag indicating to start the debugger in a
2036 console window 2298 console window
2037 </dd> 2299 </dd>
2038 <dt><i>autoFork=</i> (bool)</dt> 2300 <dt><i>clientType</i> (str)</dt>
2039 <dd>
2040 flag indicating the automatic fork mode
2041 </dd>
2042 <dt><i>forkChild=</i> (bool)</dt>
2043 <dd>
2044 flag indicating to debug the child after forking
2045 </dd>
2046 <dt><i>clientType=</i> (str)</dt>
2047 <dd> 2301 <dd>
2048 client type to be used 2302 client type to be used
2049 </dd> 2303 </dd>
2050 </dl> 2304 </dl>
2051 <a NAME="DebugServer.remoteSetThread" ID="DebugServer.remoteSetThread"></a> 2305 <a NAME="DebugServer.remoteSetThread" ID="DebugServer.remoteSetThread"></a>
2052 <h4>DebugServer.remoteSetThread</h4> 2306 <h4>DebugServer.remoteSetThread</h4>
2053 <b>remoteSetThread</b>(<i>tid</i>) 2307 <b>remoteSetThread</b>(<i>debuggerId, tid</i>)
2054 2308
2055 <p> 2309 <p>
2056 Public method to request to set the given thread as current thread. 2310 Public method to request to set the given thread as current thread.
2057 </p> 2311 </p>
2058 <dl> 2312 <dl>
2059 2313
2060 <dt><i>tid</i></dt> 2314 <dt><i>debuggerId</i> (str)</dt>
2061 <dd> 2315 <dd>
2062 id of the thread (integer) 2316 ID of the debugger backend
2317 </dd>
2318 <dt><i>tid</i> (int)</dt>
2319 <dd>
2320 id of the thread
2063 </dd> 2321 </dd>
2064 </dl> 2322 </dl>
2065 <a NAME="DebugServer.remoteStatement" ID="DebugServer.remoteStatement"></a> 2323 <a NAME="DebugServer.remoteStatement" ID="DebugServer.remoteStatement"></a>
2066 <h4>DebugServer.remoteStatement</h4> 2324 <h4>DebugServer.remoteStatement</h4>
2067 <b>remoteStatement</b>(<i>stmt</i>) 2325 <b>remoteStatement</b>(<i>debuggerId, stmt</i>)
2068 2326
2069 <p> 2327 <p>
2070 Public method to execute a Python statement. 2328 Public method to execute a Python statement.
2071 </p> 2329 </p>
2072 <dl> 2330 <dl>
2073 2331
2074 <dt><i>stmt</i></dt> 2332 <dt><i>debuggerId</i> (str)</dt>
2075 <dd> 2333 <dd>
2076 the Python statement to execute (string). It 2334 ID of the debugger backend
2077 should not have a trailing newline. 2335 </dd>
2336 <dt><i>stmt</i> (str)</dt>
2337 <dd>
2338 the Python statement to execute.
2078 </dd> 2339 </dd>
2079 </dl> 2340 </dl>
2080 <a NAME="DebugServer.remoteStep" ID="DebugServer.remoteStep"></a> 2341 <a NAME="DebugServer.remoteStep" ID="DebugServer.remoteStep"></a>
2081 <h4>DebugServer.remoteStep</h4> 2342 <h4>DebugServer.remoteStep</h4>
2082 <b>remoteStep</b>(<i></i>) 2343 <b>remoteStep</b>(<i>debuggerId</i>)
2083 2344
2084 <p> 2345 <p>
2085 Public method to single step the debugged program. 2346 Public method to single step the debugged program.
2086 </p> 2347 </p>
2348 <dl>
2349
2350 <dt><i>debuggerId</i> (str)</dt>
2351 <dd>
2352 ID of the debugger backend
2353 </dd>
2354 </dl>
2087 <a NAME="DebugServer.remoteStepOut" ID="DebugServer.remoteStepOut"></a> 2355 <a NAME="DebugServer.remoteStepOut" ID="DebugServer.remoteStepOut"></a>
2088 <h4>DebugServer.remoteStepOut</h4> 2356 <h4>DebugServer.remoteStepOut</h4>
2089 <b>remoteStepOut</b>(<i></i>) 2357 <b>remoteStepOut</b>(<i>debuggerId</i>)
2090 2358
2091 <p> 2359 <p>
2092 Public method to step out the debugged program. 2360 Public method to step out the debugged program.
2093 </p> 2361 </p>
2362 <dl>
2363
2364 <dt><i>debuggerId</i> (str)</dt>
2365 <dd>
2366 ID of the debugger backend
2367 </dd>
2368 </dl>
2094 <a NAME="DebugServer.remoteStepOver" ID="DebugServer.remoteStepOver"></a> 2369 <a NAME="DebugServer.remoteStepOver" ID="DebugServer.remoteStepOver"></a>
2095 <h4>DebugServer.remoteStepOver</h4> 2370 <h4>DebugServer.remoteStepOver</h4>
2096 <b>remoteStepOver</b>(<i></i>) 2371 <b>remoteStepOver</b>(<i>debuggerId</i>)
2097 2372
2098 <p> 2373 <p>
2099 Public method to step over the debugged program. 2374 Public method to step over the debugged program.
2100 </p> 2375 </p>
2376 <dl>
2377
2378 <dt><i>debuggerId</i> (str)</dt>
2379 <dd>
2380 ID of the debugger backend
2381 </dd>
2382 </dl>
2101 <a NAME="DebugServer.remoteStepQuit" ID="DebugServer.remoteStepQuit"></a> 2383 <a NAME="DebugServer.remoteStepQuit" ID="DebugServer.remoteStepQuit"></a>
2102 <h4>DebugServer.remoteStepQuit</h4> 2384 <h4>DebugServer.remoteStepQuit</h4>
2103 <b>remoteStepQuit</b>(<i></i>) 2385 <b>remoteStepQuit</b>(<i>debuggerId</i>)
2104 2386
2105 <p> 2387 <p>
2106 Public method to stop the debugged program. 2388 Public method to stop the debugged program.
2107 </p> 2389 </p>
2390 <dl>
2391
2392 <dt><i>debuggerId</i> (str)</dt>
2393 <dd>
2394 ID of the debugger backend
2395 </dd>
2396 </dl>
2108 <a NAME="DebugServer.remoteThreadList" ID="DebugServer.remoteThreadList"></a> 2397 <a NAME="DebugServer.remoteThreadList" ID="DebugServer.remoteThreadList"></a>
2109 <h4>DebugServer.remoteThreadList</h4> 2398 <h4>DebugServer.remoteThreadList</h4>
2110 <b>remoteThreadList</b>(<i></i>) 2399 <b>remoteThreadList</b>(<i>debuggerId</i>)
2111 2400
2112 <p> 2401 <p>
2113 Public method to request the list of threads from the client. 2402 Public method to request the list of threads from the client.
2114 </p> 2403 </p>
2404 <dl>
2405
2406 <dt><i>debuggerId</i> (str)</dt>
2407 <dd>
2408 ID of the debugger backend
2409 </dd>
2410 </dl>
2115 <a NAME="DebugServer.remoteUTDiscover" ID="DebugServer.remoteUTDiscover"></a> 2411 <a NAME="DebugServer.remoteUTDiscover" ID="DebugServer.remoteUTDiscover"></a>
2116 <h4>DebugServer.remoteUTDiscover</h4> 2412 <h4>DebugServer.remoteUTDiscover</h4>
2117 <b>remoteUTDiscover</b>(<i>clientType, forProject, venvName, syspath, workdir, discoveryStart</i>) 2413 <b>remoteUTDiscover</b>(<i>clientType, forProject, venvName, syspath, workdir, discoveryStart</i>)
2118 2414
2119 <p> 2415 <p>
2248 <p> 2544 <p>
2249 public method to stop a unittest run. 2545 public method to stop a unittest run.
2250 </p> 2546 </p>
2251 <a NAME="DebugServer.setCallTraceEnabled" ID="DebugServer.setCallTraceEnabled"></a> 2547 <a NAME="DebugServer.setCallTraceEnabled" ID="DebugServer.setCallTraceEnabled"></a>
2252 <h4>DebugServer.setCallTraceEnabled</h4> 2548 <h4>DebugServer.setCallTraceEnabled</h4>
2253 <b>setCallTraceEnabled</b>(<i>on</i>) 2549 <b>setCallTraceEnabled</b>(<i>debuggerId, on</i>)
2254 2550
2255 <p> 2551 <p>
2256 Public method to set the call trace state. 2552 Public method to set the call trace state.
2257 </p> 2553 </p>
2258 <dl> 2554 <dl>
2259 2555
2260 <dt><i>on</i></dt> 2556 <dt><i>debuggerId</i> (str)</dt>
2261 <dd> 2557 <dd>
2262 flag indicating to enable the call trace function (boolean) 2558 ID of the debugger backend
2559 </dd>
2560 <dt><i>on</i> (bool)</dt>
2561 <dd>
2562 flag indicating to enable the call trace function
2263 </dd> 2563 </dd>
2264 </dl> 2564 </dl>
2265 <a NAME="DebugServer.setDebugging" ID="DebugServer.setDebugging"></a> 2565 <a NAME="DebugServer.setDebugging" ID="DebugServer.setDebugging"></a>
2266 <h4>DebugServer.setDebugging</h4> 2566 <h4>DebugServer.setDebugging</h4>
2267 <b>setDebugging</b>(<i>on</i>) 2567 <b>setDebugging</b>(<i>on</i>)
2287 It closes our socket and shuts down 2587 It closes our socket and shuts down
2288 the debug client. (Needed on Win OS) 2588 the debug client. (Needed on Win OS)
2289 </p> 2589 </p>
2290 <a NAME="DebugServer.signalClientBanner" ID="DebugServer.signalClientBanner"></a> 2590 <a NAME="DebugServer.signalClientBanner" ID="DebugServer.signalClientBanner"></a>
2291 <h4>DebugServer.signalClientBanner</h4> 2591 <h4>DebugServer.signalClientBanner</h4>
2292 <b>signalClientBanner</b>(<i>version, platform, debugClient, venvName</i>) 2592 <b>signalClientBanner</b>(<i>version, platform, venvName</i>)
2293 2593
2294 <p> 2594 <p>
2295 Public method to process the client banner info. 2595 Public method to process the client banner info.
2296 </p> 2596 </p>
2297 <dl> 2597 <dl>
2301 interpreter version info 2601 interpreter version info
2302 </dd> 2602 </dd>
2303 <dt><i>platform</i> (str)</dt> 2603 <dt><i>platform</i> (str)</dt>
2304 <dd> 2604 <dd>
2305 hostname of the client 2605 hostname of the client
2306 </dd>
2307 <dt><i>debugClient</i> (str)</dt>
2308 <dd>
2309 additional debugger type info
2310 </dd> 2606 </dd>
2311 <dt><i>venvName</i> (str)</dt> 2607 <dt><i>venvName</i> (str)</dt>
2312 <dd> 2608 <dd>
2313 name of the virtual environment 2609 name of the virtual environment
2314 </dd> 2610 </dd>
2315 </dl> 2611 </dl>
2316 <a NAME="DebugServer.signalClientBreakConditionError" ID="DebugServer.signalClientBreakConditionError"></a> 2612 <a NAME="DebugServer.signalClientBreakConditionError" ID="DebugServer.signalClientBreakConditionError"></a>
2317 <h4>DebugServer.signalClientBreakConditionError</h4> 2613 <h4>DebugServer.signalClientBreakConditionError</h4>
2318 <b>signalClientBreakConditionError</b>(<i>filename, lineno</i>) 2614 <b>signalClientBreakConditionError</b>(<i>filename, lineno, debuggerId</i>)
2319 2615
2320 <p> 2616 <p>
2321 Public method to process the client breakpoint condition error info. 2617 Public method to process the client breakpoint condition error info.
2322 </p> 2618 </p>
2323 <dl> 2619 <dl>
2324 2620
2325 <dt><i>filename</i></dt> 2621 <dt><i>filename</i> (str)</dt>
2326 <dd> 2622 <dd>
2327 filename of the breakpoint (string) 2623 filename of the breakpoint
2328 </dd> 2624 </dd>
2329 <dt><i>lineno</i></dt> 2625 <dt><i>lineno</i> (int)</dt>
2330 <dd> 2626 <dd>
2331 line umber of the breakpoint (integer) 2627 line umber of the breakpoint
2628 </dd>
2629 <dt><i>debuggerId</i> (str)</dt>
2630 <dd>
2631 ID of the debugger backend
2332 </dd> 2632 </dd>
2333 </dl> 2633 </dl>
2334 <a NAME="DebugServer.signalClientCallTrace" ID="DebugServer.signalClientCallTrace"></a> 2634 <a NAME="DebugServer.signalClientCallTrace" ID="DebugServer.signalClientCallTrace"></a>
2335 <h4>DebugServer.signalClientCallTrace</h4> 2635 <h4>DebugServer.signalClientCallTrace</h4>
2336 <b>signalClientCallTrace</b>(<i>isCall, fromFile, fromLine, fromFunction, toFile, toLine, toFunction</i>) 2636 <b>signalClientCallTrace</b>(<i>isCall, fromFile, fromLine, fromFunction, toFile, toLine, toFunction, debuggerId</i>)
2337 2637
2338 <p> 2638 <p>
2339 Public method to process the client call trace data. 2639 Public method to process the client call trace data.
2340 </p> 2640 </p>
2341 <dl> 2641 <dl>
2342 2642
2343 <dt><i>isCall</i></dt> 2643 <dt><i>isCall</i> (bool)</dt>
2344 <dd> 2644 <dd>
2345 flag indicating a 'call' (boolean) 2645 flag indicating a 'call'
2346 </dd> 2646 </dd>
2347 <dt><i>fromFile</i></dt> 2647 <dt><i>fromFile</i> (str)</dt>
2348 <dd> 2648 <dd>
2349 name of the originating file (string) 2649 name of the originating file
2350 </dd> 2650 </dd>
2351 <dt><i>fromLine</i></dt> 2651 <dt><i>fromLine</i> (str)</dt>
2352 <dd> 2652 <dd>
2353 line number in the originating file (string) 2653 line number in the originating file
2354 </dd> 2654 </dd>
2355 <dt><i>fromFunction</i></dt> 2655 <dt><i>fromFunction</i> (str)</dt>
2356 <dd> 2656 <dd>
2357 name of the originating function (string) 2657 name of the originating function
2358 </dd> 2658 </dd>
2359 <dt><i>toFile</i></dt> 2659 <dt><i>toFile</i> (str)</dt>
2360 <dd> 2660 <dd>
2361 name of the target file (string) 2661 name of the target file
2362 </dd> 2662 </dd>
2363 <dt><i>toLine</i></dt> 2663 <dt><i>toLine</i> (str)</dt>
2364 <dd> 2664 <dd>
2365 line number in the target file (string) 2665 line number in the target file
2366 </dd> 2666 </dd>
2367 <dt><i>toFunction</i></dt> 2667 <dt><i>toFunction</i> (str)</dt>
2368 <dd> 2668 <dd>
2369 name of the target function (string) 2669 name of the target function
2670 </dd>
2671 <dt><i>debuggerId</i> (str)</dt>
2672 <dd>
2673 ID of the debugger backend
2370 </dd> 2674 </dd>
2371 </dl> 2675 </dl>
2372 <a NAME="DebugServer.signalClientCapabilities" ID="DebugServer.signalClientCapabilities"></a> 2676 <a NAME="DebugServer.signalClientCapabilities" ID="DebugServer.signalClientCapabilities"></a>
2373 <h4>DebugServer.signalClientCapabilities</h4> 2677 <h4>DebugServer.signalClientCapabilities</h4>
2374 <b>signalClientCapabilities</b>(<i>capabilities, clientType, venvName</i>) 2678 <b>signalClientCapabilities</b>(<i>capabilities, clientType, venvName</i>)
2391 name of the virtual environment 2695 name of the virtual environment
2392 </dd> 2696 </dd>
2393 </dl> 2697 </dl>
2394 <a NAME="DebugServer.signalClientClearBreak" ID="DebugServer.signalClientClearBreak"></a> 2698 <a NAME="DebugServer.signalClientClearBreak" ID="DebugServer.signalClientClearBreak"></a>
2395 <h4>DebugServer.signalClientClearBreak</h4> 2699 <h4>DebugServer.signalClientClearBreak</h4>
2396 <b>signalClientClearBreak</b>(<i>filename, lineno</i>) 2700 <b>signalClientClearBreak</b>(<i>filename, lineno, debuggerId</i>)
2397 2701
2398 <p> 2702 <p>
2399 Public method to process the client clear breakpoint command. 2703 Public method to process the client clear breakpoint command.
2400 </p> 2704 </p>
2401 <dl> 2705 <dl>
2402 2706
2403 <dt><i>filename</i></dt> 2707 <dt><i>filename</i> (str)</dt>
2404 <dd> 2708 <dd>
2405 filename of the breakpoint (string) 2709 filename of the breakpoint
2406 </dd> 2710 </dd>
2407 <dt><i>lineno</i></dt> 2711 <dt><i>lineno</i> (int)</dt>
2408 <dd> 2712 <dd>
2409 line umber of the breakpoint (integer) 2713 line umber of the breakpoint
2714 </dd>
2715 <dt><i>debuggerId</i> (str)</dt>
2716 <dd>
2717 ID of the debugger backend
2410 </dd> 2718 </dd>
2411 </dl> 2719 </dl>
2412 <a NAME="DebugServer.signalClientClearWatch" ID="DebugServer.signalClientClearWatch"></a> 2720 <a NAME="DebugServer.signalClientClearWatch" ID="DebugServer.signalClientClearWatch"></a>
2413 <h4>DebugServer.signalClientClearWatch</h4> 2721 <h4>DebugServer.signalClientClearWatch</h4>
2414 <b>signalClientClearWatch</b>(<i>condition</i>) 2722 <b>signalClientClearWatch</b>(<i>condition, debuggerId</i>)
2415 2723
2416 <p> 2724 <p>
2417 Public slot to handle the clientClearWatch signal. 2725 Public slot to handle the clientClearWatch signal.
2418 </p> 2726 </p>
2419 <dl> 2727 <dl>
2420 2728
2421 <dt><i>condition</i></dt> 2729 <dt><i>condition</i> (str)</dt>
2422 <dd> 2730 <dd>
2423 expression of watch expression to clear (string) 2731 expression of watch expression to clear
2732 </dd>
2733 <dt><i>debuggerId</i> (str)</dt>
2734 <dd>
2735 ID of the debugger backend
2424 </dd> 2736 </dd>
2425 </dl> 2737 </dl>
2426 <a NAME="DebugServer.signalClientCompletionList" ID="DebugServer.signalClientCompletionList"></a> 2738 <a NAME="DebugServer.signalClientCompletionList" ID="DebugServer.signalClientCompletionList"></a>
2427 <h4>DebugServer.signalClientCompletionList</h4> 2739 <h4>DebugServer.signalClientCompletionList</h4>
2428 <b>signalClientCompletionList</b>(<i>completionList, text</i>) 2740 <b>signalClientCompletionList</b>(<i>completionList, text, debuggerId</i>)
2429 2741
2430 <p> 2742 <p>
2431 Public method to process the client auto completion info. 2743 Public method to process the client auto completion info.
2432 </p> 2744 </p>
2433 <dl> 2745 <dl>
2434 2746
2435 <dt><i>completionList</i></dt> 2747 <dt><i>completionList</i> (list of str)</dt>
2436 <dd> 2748 <dd>
2437 list of possible completions (list of strings) 2749 list of possible completions
2438 </dd> 2750 </dd>
2439 <dt><i>text</i></dt> 2751 <dt><i>text</i> (str)</dt>
2440 <dd> 2752 <dd>
2441 the text to be completed (string) 2753 the text to be completed
2754 </dd>
2755 <dt><i>debuggerId</i> (str)</dt>
2756 <dd>
2757 ID of the debugger backend
2758 </dd>
2759 </dl>
2760 <a NAME="DebugServer.signalClientDebuggerId" ID="DebugServer.signalClientDebuggerId"></a>
2761 <h4>DebugServer.signalClientDebuggerId</h4>
2762 <b>signalClientDebuggerId</b>(<i>debuggerId</i>)
2763
2764 <p>
2765 Public method to signal the receipt of a new debugger ID.
2766 </p>
2767 <p>
2768 This signal indicates, that a new debugger backend has connected.
2769 </p>
2770 <dl>
2771
2772 <dt><i>debuggerId</i> (str)</dt>
2773 <dd>
2774 ID of the newly connected debugger backend
2442 </dd> 2775 </dd>
2443 </dl> 2776 </dl>
2444 <a NAME="DebugServer.signalClientDisassembly" ID="DebugServer.signalClientDisassembly"></a> 2777 <a NAME="DebugServer.signalClientDisassembly" ID="DebugServer.signalClientDisassembly"></a>
2445 <h4>DebugServer.signalClientDisassembly</h4> 2778 <h4>DebugServer.signalClientDisassembly</h4>
2446 <b>signalClientDisassembly</b>(<i>disassembly</i>) 2779 <b>signalClientDisassembly</b>(<i>disassembly, debuggerId</i>)
2447 2780
2448 <p> 2781 <p>
2449 Public method to process the disassembly info from the client. 2782 Public method to process the disassembly info from the client.
2450 </p> 2783 </p>
2451 <dl> 2784 <dl>
2452 2785
2453 <dt><i>disassembly</i> (dict)</dt> 2786 <dt><i>disassembly</i> (dict)</dt>
2454 <dd> 2787 <dd>
2455 dictionary containing the disassembly information 2788 dictionary containing the disassembly information
2789 </dd>
2790 <dt><i>debuggerId</i> (str)</dt>
2791 <dd>
2792 ID of the debugger backend
2456 </dd> 2793 </dd>
2457 </dl> 2794 </dl>
2458 <a NAME="DebugServer.signalClientException" ID="DebugServer.signalClientException"></a> 2795 <a NAME="DebugServer.signalClientException" ID="DebugServer.signalClientException"></a>
2459 <h4>DebugServer.signalClientException</h4> 2796 <h4>DebugServer.signalClientException</h4>
2460 <b>signalClientException</b>(<i>exceptionType, exceptionMessage, stackTrace</i>) 2797 <b>signalClientException</b>(<i>exceptionType, exceptionMessage, stackTrace, debuggerId</i>)
2461 2798
2462 <p> 2799 <p>
2463 Public method to process the exception info from the client. 2800 Public method to process the exception info from the client.
2464 </p> 2801 </p>
2465 <dl> 2802 <dl>
2466 2803
2467 <dt><i>exceptionType</i></dt> 2804 <dt><i>exceptionType</i> (str)</dt>
2468 <dd> 2805 <dd>
2469 type of exception raised (string) 2806 type of exception raised
2470 </dd> 2807 </dd>
2471 <dt><i>exceptionMessage</i></dt> 2808 <dt><i>exceptionMessage</i> (str)</dt>
2472 <dd> 2809 <dd>
2473 message given by the exception (string) 2810 message given by the exception
2474 </dd> 2811 </dd>
2475 <dt><i>stackTrace</i></dt> 2812 <dt><i>stackTrace</i> (list)</dt>
2476 <dd> 2813 <dd>
2477 list of stack entries with the exception position 2814 list of stack entries with the exception position
2478 first. Each stack entry is a list giving the filename and the 2815 first. Each stack entry is a list giving the filename and the
2479 linenumber. 2816 linenumber.
2480 </dd> 2817 </dd>
2818 <dt><i>debuggerId</i> (str)</dt>
2819 <dd>
2820 ID of the debugger backend
2821 </dd>
2481 </dl> 2822 </dl>
2482 <a NAME="DebugServer.signalClientExit" ID="DebugServer.signalClientExit"></a> 2823 <a NAME="DebugServer.signalClientExit" ID="DebugServer.signalClientExit"></a>
2483 <h4>DebugServer.signalClientExit</h4> 2824 <h4>DebugServer.signalClientExit</h4>
2484 <b>signalClientExit</b>(<i>status, message=""</i>) 2825 <b>signalClientExit</b>(<i>program, status, message, debuggerId</i>)
2485 2826
2486 <p> 2827 <p>
2487 Public method to process the client exit status. 2828 Public method to process the client exit status.
2488 </p> 2829 </p>
2489 <dl> 2830 <dl>
2490 2831
2832 <dt><i>program</i> (str)</dt>
2833 <dd>
2834 name of the exited program
2835 </dd>
2491 <dt><i>status</i> (int)</dt> 2836 <dt><i>status</i> (int)</dt>
2492 <dd> 2837 <dd>
2493 exit code 2838 exit code
2494 </dd> 2839 </dd>
2495 <dt><i>message</i> (str)</dt> 2840 <dt><i>message</i> (str)</dt>
2496 <dd> 2841 <dd>
2497 message sent with the exit 2842 message sent with the exit
2843 </dd>
2844 <dt><i>debuggerId</i> (str)</dt>
2845 <dd>
2846 ID of the debugger backend
2498 </dd> 2847 </dd>
2499 </dl> 2848 </dl>
2500 <a NAME="DebugServer.signalClientLine" ID="DebugServer.signalClientLine"></a> 2849 <a NAME="DebugServer.signalClientLine" ID="DebugServer.signalClientLine"></a>
2501 <h4>DebugServer.signalClientLine</h4> 2850 <h4>DebugServer.signalClientLine</h4>
2502 <b>signalClientLine</b>(<i>filename, lineno, forStack=False</i>) 2851 <b>signalClientLine</b>(<i>filename, lineno, debuggerId, forStack=False</i>)
2503 2852
2504 <p> 2853 <p>
2505 Public method to process client position feedback. 2854 Public method to process client position feedback.
2506 </p> 2855 </p>
2507 <dl> 2856 <dl>
2508 2857
2509 <dt><i>filename</i></dt> 2858 <dt><i>filename</i> (str)</dt>
2510 <dd> 2859 <dd>
2511 name of the file currently being executed (string) 2860 name of the file currently being executed
2512 </dd> 2861 </dd>
2513 <dt><i>lineno</i></dt> 2862 <dt><i>lineno</i> (int)</dt>
2514 <dd> 2863 <dd>
2515 line of code currently being executed (integer) 2864 line of code currently being executed
2516 </dd> 2865 </dd>
2517 <dt><i>forStack</i></dt> 2866 <dt><i>debuggerId</i> (str)</dt>
2518 <dd> 2867 <dd>
2519 flag indicating this is for a stack dump (boolean) 2868 ID of the debugger backend
2869 </dd>
2870 <dt><i>forStack</i> (bool)</dt>
2871 <dd>
2872 flag indicating this is for a stack dump
2520 </dd> 2873 </dd>
2521 </dl> 2874 </dl>
2522 <a NAME="DebugServer.signalClientOutput" ID="DebugServer.signalClientOutput"></a> 2875 <a NAME="DebugServer.signalClientOutput" ID="DebugServer.signalClientOutput"></a>
2523 <h4>DebugServer.signalClientOutput</h4> 2876 <h4>DebugServer.signalClientOutput</h4>
2524 <b>signalClientOutput</b>(<i>line</i>) 2877 <b>signalClientOutput</b>(<i>line, debuggerId</i>)
2525 2878
2526 <p> 2879 <p>
2527 Public method to process a line of client output. 2880 Public method to process a line of client output.
2528 </p> 2881 </p>
2529 <dl> 2882 <dl>
2530 2883
2531 <dt><i>line</i></dt> 2884 <dt><i>line</i> (str)</dt>
2532 <dd> 2885 <dd>
2533 client output (string) 2886 client output
2887 </dd>
2888 <dt><i>debuggerId</i> (str)</dt>
2889 <dd>
2890 ID of the debugger backend
2534 </dd> 2891 </dd>
2535 </dl> 2892 </dl>
2536 <a NAME="DebugServer.signalClientRawInput" ID="DebugServer.signalClientRawInput"></a> 2893 <a NAME="DebugServer.signalClientRawInput" ID="DebugServer.signalClientRawInput"></a>
2537 <h4>DebugServer.signalClientRawInput</h4> 2894 <h4>DebugServer.signalClientRawInput</h4>
2538 <b>signalClientRawInput</b>(<i>prompt, echo</i>) 2895 <b>signalClientRawInput</b>(<i>prompt, echo, debuggerId</i>)
2539 2896
2540 <p> 2897 <p>
2541 Public method to process the client raw input command. 2898 Public method to process the client raw input command.
2542 </p> 2899 </p>
2543 <dl> 2900 <dl>
2544 2901
2545 <dt><i>prompt</i></dt> 2902 <dt><i>prompt</i> (str)</dt>
2546 <dd> 2903 <dd>
2547 the input prompt (string) 2904 the input prompt
2548 </dd> 2905 </dd>
2549 <dt><i>echo</i></dt> 2906 <dt><i>echo</i> (bool)</dt>
2550 <dd> 2907 <dd>
2551 flag indicating an echoing of the input (boolean) 2908 flag indicating an echoing of the input
2909 </dd>
2910 <dt><i>debuggerId</i> (str)</dt>
2911 <dd>
2912 ID of the debugger backend
2552 </dd> 2913 </dd>
2553 </dl> 2914 </dl>
2554 <a NAME="DebugServer.signalClientSignal" ID="DebugServer.signalClientSignal"></a> 2915 <a NAME="DebugServer.signalClientSignal" ID="DebugServer.signalClientSignal"></a>
2555 <h4>DebugServer.signalClientSignal</h4> 2916 <h4>DebugServer.signalClientSignal</h4>
2556 <b>signalClientSignal</b>(<i>message, filename, lineNo, funcName, funcArgs</i>) 2917 <b>signalClientSignal</b>(<i>message, filename, lineNo, funcName, funcArgs, debuggerId</i>)
2557 2918
2558 <p> 2919 <p>
2559 Public method to process a signal generated on the client side. 2920 Public method to process a signal generated on the client side.
2560 </p> 2921 </p>
2561 <dl> 2922 <dl>
2577 name of the function causing the signal 2938 name of the function causing the signal
2578 </dd> 2939 </dd>
2579 <dt><i>funcArgs</i> (str)</dt> 2940 <dt><i>funcArgs</i> (str)</dt>
2580 <dd> 2941 <dd>
2581 function arguments 2942 function arguments
2943 </dd>
2944 <dt><i>debuggerId</i> (str)</dt>
2945 <dd>
2946 ID of the debugger backend
2582 </dd> 2947 </dd>
2583 </dl> 2948 </dl>
2584 <a NAME="DebugServer.signalClientStack" ID="DebugServer.signalClientStack"></a> 2949 <a NAME="DebugServer.signalClientStack" ID="DebugServer.signalClientStack"></a>
2585 <h4>DebugServer.signalClientStack</h4> 2950 <h4>DebugServer.signalClientStack</h4>
2586 <b>signalClientStack</b>(<i>stack</i>) 2951 <b>signalClientStack</b>(<i>stack, debuggerId</i>)
2587 2952
2588 <p> 2953 <p>
2589 Public method to process a client's stack information. 2954 Public method to process a client's stack information.
2590 </p> 2955 </p>
2591 <dl> 2956 <dl>
2592 2957
2593 <dt><i>stack</i></dt> 2958 <dt><i>stack</i> (list of lists of (string, integer, string))</dt>
2594 <dd> 2959 <dd>
2595 list of stack entries. Each entry is a tuple of three 2960 list of stack entries. Each entry is a tuple of three
2596 values giving the filename, linenumber and method 2961 values giving the filename, linenumber and method
2597 (list of lists of (string, integer, string)) 2962 </dd>
2963 <dt><i>debuggerId</i> (str)</dt>
2964 <dd>
2965 ID of the debugger backend
2598 </dd> 2966 </dd>
2599 </dl> 2967 </dl>
2600 <a NAME="DebugServer.signalClientStatement" ID="DebugServer.signalClientStatement"></a> 2968 <a NAME="DebugServer.signalClientStatement" ID="DebugServer.signalClientStatement"></a>
2601 <h4>DebugServer.signalClientStatement</h4> 2969 <h4>DebugServer.signalClientStatement</h4>
2602 <b>signalClientStatement</b>(<i>more</i>) 2970 <b>signalClientStatement</b>(<i>more, debuggerId</i>)
2603 2971
2604 <p> 2972 <p>
2605 Public method to process the input response from the client. 2973 Public method to process the input response from the client.
2606 </p> 2974 </p>
2607 <dl> 2975 <dl>
2608 2976
2609 <dt><i>more</i></dt> 2977 <dt><i>more</i> (bool)</dt>
2610 <dd> 2978 <dd>
2611 flag indicating that more user input is required 2979 flag indicating that more user input is required
2980 </dd>
2981 <dt><i>debuggerId</i> (str)</dt>
2982 <dd>
2983 ID of the debugger backend
2612 </dd> 2984 </dd>
2613 </dl> 2985 </dl>
2614 <a NAME="DebugServer.signalClientSyntaxError" ID="DebugServer.signalClientSyntaxError"></a> 2986 <a NAME="DebugServer.signalClientSyntaxError" ID="DebugServer.signalClientSyntaxError"></a>
2615 <h4>DebugServer.signalClientSyntaxError</h4> 2987 <h4>DebugServer.signalClientSyntaxError</h4>
2616 <b>signalClientSyntaxError</b>(<i>message, filename, lineNo, characterNo</i>) 2988 <b>signalClientSyntaxError</b>(<i>message, filename, lineNo, characterNo, debuggerId</i>)
2617 2989
2618 <p> 2990 <p>
2619 Public method to process the syntax error info from the client. 2991 Public method to process a syntax error info from the client.
2620 </p> 2992 </p>
2621 <dl> 2993 <dl>
2622 2994
2623 <dt><i>message</i></dt> 2995 <dt><i>message</i> (str)</dt>
2624 <dd> 2996 <dd>
2625 message of the syntax error (string) 2997 message of the syntax error
2626 </dd> 2998 </dd>
2627 <dt><i>filename</i></dt> 2999 <dt><i>filename</i> (str)</dt>
2628 <dd> 3000 <dd>
2629 translated filename of the syntax error position 3001 translated filename of the syntax error position
2630 (string) 3002 </dd>
2631 </dd> 3003 <dt><i>lineNo</i> (int)</dt>
2632 <dt><i>lineNo</i></dt> 3004 <dd>
2633 <dd> 3005 line number of the syntax error position
2634 line number of the syntax error position (integer) 3006 </dd>
2635 </dd> 3007 <dt><i>characterNo</i> (int)</dt>
2636 <dt><i>characterNo</i></dt>
2637 <dd> 3008 <dd>
2638 character number of the syntax error position 3009 character number of the syntax error position
2639 (integer) 3010 </dd>
3011 <dt><i>debuggerId</i> (str)</dt>
3012 <dd>
3013 ID of the debugger backend
2640 </dd> 3014 </dd>
2641 </dl> 3015 </dl>
2642 <a NAME="DebugServer.signalClientThreadList" ID="DebugServer.signalClientThreadList"></a> 3016 <a NAME="DebugServer.signalClientThreadList" ID="DebugServer.signalClientThreadList"></a>
2643 <h4>DebugServer.signalClientThreadList</h4> 3017 <h4>DebugServer.signalClientThreadList</h4>
2644 <b>signalClientThreadList</b>(<i>currentId, threadList</i>) 3018 <b>signalClientThreadList</b>(<i>currentId, threadList, debuggerId</i>)
2645 3019
2646 <p> 3020 <p>
2647 Public method to process the client thread list info. 3021 Public method to process the client thread list info.
2648 </p> 3022 </p>
2649 <dl> 3023 <dl>
2650 3024
2651 <dt><i>currentId</i></dt> 3025 <dt><i>currentId</i> (int)</dt>
2652 <dd> 3026 <dd>
2653 id of the current thread (integer) 3027 id of the current thread
2654 </dd> 3028 </dd>
2655 <dt><i>threadList</i></dt> 3029 <dt><i>threadList</i> (list of dict)</dt>
2656 <dd> 3030 <dd>
2657 list of dictionaries containing the thread data 3031 list of dictionaries containing the thread data
3032 </dd>
3033 <dt><i>debuggerId</i> (str)</dt>
3034 <dd>
3035 ID of the debugger backend
2658 </dd> 3036 </dd>
2659 </dl> 3037 </dl>
2660 <a NAME="DebugServer.signalClientThreadSet" ID="DebugServer.signalClientThreadSet"></a> 3038 <a NAME="DebugServer.signalClientThreadSet" ID="DebugServer.signalClientThreadSet"></a>
2661 <h4>DebugServer.signalClientThreadSet</h4> 3039 <h4>DebugServer.signalClientThreadSet</h4>
2662 <b>signalClientThreadSet</b>(<i></i>) 3040 <b>signalClientThreadSet</b>(<i>debuggerId</i>)
2663 3041
2664 <p> 3042 <p>
2665 Public method to handle the change of the client thread. 3043 Public method to handle the change of the client thread.
2666 </p> 3044 </p>
3045 <dl>
3046
3047 <dt><i>debuggerId</i> (str)</dt>
3048 <dd>
3049 ID of the debugger backend
3050 </dd>
3051 </dl>
2667 <a NAME="DebugServer.signalClientVariable" ID="DebugServer.signalClientVariable"></a> 3052 <a NAME="DebugServer.signalClientVariable" ID="DebugServer.signalClientVariable"></a>
2668 <h4>DebugServer.signalClientVariable</h4> 3053 <h4>DebugServer.signalClientVariable</h4>
2669 <b>signalClientVariable</b>(<i>scope, variables</i>) 3054 <b>signalClientVariable</b>(<i>scope, variables, debuggerId</i>)
2670 3055
2671 <p> 3056 <p>
2672 Public method to process the client variable info. 3057 Public method to process the client variable info.
2673 </p> 3058 </p>
2674 <dl> 3059 <dl>
2675 3060
2676 <dt><i>scope</i></dt> 3061 <dt><i>scope</i> (int)</dt>
2677 <dd> 3062 <dd>
2678 scope of the variables (-1 = empty global, 1 = global, 3063 scope of the variables (-1 = empty global, 1 = global,
2679 0 = local) 3064 0 = local)
2680 </dd> 3065 </dd>
2681 <dt><i>variables</i></dt> 3066 <dt><i>variables</i> (list)</dt>
2682 <dd> 3067 <dd>
2683 the list of members of a classvariable from the client 3068 the list of members of a classvariable from the client
3069 </dd>
3070 <dt><i>debuggerId</i> (str)</dt>
3071 <dd>
3072 ID of the debugger backend
2684 </dd> 3073 </dd>
2685 </dl> 3074 </dl>
2686 <a NAME="DebugServer.signalClientVariables" ID="DebugServer.signalClientVariables"></a> 3075 <a NAME="DebugServer.signalClientVariables" ID="DebugServer.signalClientVariables"></a>
2687 <h4>DebugServer.signalClientVariables</h4> 3076 <h4>DebugServer.signalClientVariables</h4>
2688 <b>signalClientVariables</b>(<i>scope, variables</i>) 3077 <b>signalClientVariables</b>(<i>scope, variables, debuggerId</i>)
2689 3078
2690 <p> 3079 <p>
2691 Public method to process the client variables info. 3080 Public method to process the client variables info.
2692 </p> 3081 </p>
2693 <dl> 3082 <dl>
2694 3083
2695 <dt><i>scope</i></dt> 3084 <dt><i>scope</i> (int)</dt>
2696 <dd> 3085 <dd>
2697 scope of the variables (-1 = empty global, 1 = global, 3086 scope of the variables (-1 = empty global, 1 = global,
2698 0 = local) 3087 0 = local)
2699 </dd> 3088 </dd>
2700 <dt><i>variables</i></dt> 3089 <dt><i>variables</i> (list)</dt>
2701 <dd> 3090 <dd>
2702 the list of variables from the client 3091 the list of variables from the client
3092 </dd>
3093 <dt><i>debuggerId</i> (str)</dt>
3094 <dd>
3095 ID of the debugger backend
2703 </dd> 3096 </dd>
2704 </dl> 3097 </dl>
2705 <a NAME="DebugServer.signalClientWatchConditionError" ID="DebugServer.signalClientWatchConditionError"></a> 3098 <a NAME="DebugServer.signalClientWatchConditionError" ID="DebugServer.signalClientWatchConditionError"></a>
2706 <h4>DebugServer.signalClientWatchConditionError</h4> 3099 <h4>DebugServer.signalClientWatchConditionError</h4>
2707 <b>signalClientWatchConditionError</b>(<i>condition</i>) 3100 <b>signalClientWatchConditionError</b>(<i>condition, debuggerId</i>)
2708 3101
2709 <p> 3102 <p>
2710 Public method to process the client watch expression error info. 3103 Public method to process the client watch expression error info.
2711 </p> 3104 </p>
2712 <dl> 3105 <dl>
2713 3106
2714 <dt><i>condition</i></dt> 3107 <dt><i>condition</i> (str)</dt>
2715 <dd> 3108 <dd>
2716 expression of watch expression to clear (string) 3109 expression of watch expression to clear
2717 </dd> 3110 </dd>
2718 </dl> 3111 <dt><i>debuggerId</i> (str)</dt>
3112 <dd>
3113 ID of the debugger backend
3114 </dd>
3115 </dl>
3116 <a NAME="DebugServer.signalLastClientExited" ID="DebugServer.signalLastClientExited"></a>
3117 <h4>DebugServer.signalLastClientExited</h4>
3118 <b>signalLastClientExited</b>(<i></i>)
3119
3120 <p>
3121 Public method to process the last client exit event.
3122 </p>
2719 <a NAME="DebugServer.startClient" ID="DebugServer.startClient"></a> 3123 <a NAME="DebugServer.startClient" ID="DebugServer.startClient"></a>
2720 <h4>DebugServer.startClient</h4> 3124 <h4>DebugServer.startClient</h4>
2721 <b>startClient</b>(<i>unplanned=True, clType=None, forProject=False, runInConsole=False, venvName="", workingDir=None</i>) 3125 <b>startClient</b>(<i>unplanned=True, clType=None, forProject=False, runInConsole=False, venvName="", workingDir=None</i>)
2722 3126
2723 <p> 3127 <p>
2724 Public method to start a debug client. 3128 Public method to start a debug client.
2725 </p> 3129 </p>
2726 <dl> 3130 <dl>
2727 3131
2728 <dt><i>unplanned=</i> (bool)</dt> 3132 <dt><i>unplanned</i> (bool)</dt>
2729 <dd> 3133 <dd>
2730 flag indicating that the client has died 3134 flag indicating that the client has died
2731 </dd> 3135 </dd>
2732 <dt><i>clType=</i> (str)</dt> 3136 <dt><i>clType</i> (str)</dt>
2733 <dd> 3137 <dd>
2734 type of client to be started 3138 type of client to be started
2735 </dd> 3139 </dd>
2736 <dt><i>forProject=</i> (bool)</dt> 3140 <dt><i>forProject</i> (bool)</dt>
2737 <dd> 3141 <dd>
2738 flag indicating a project related action 3142 flag indicating a project related action
2739 </dd> 3143 </dd>
2740 <dt><i>runInConsole=</i> (bool)</dt> 3144 <dt><i>runInConsole</i> (bool)</dt>
2741 <dd> 3145 <dd>
2742 flag indicating to start the debugger in a 3146 flag indicating to start the debugger in a
2743 console window 3147 console window
2744 </dd> 3148 </dd>
2745 <dt><i>venvName=</i> (str)</dt> 3149 <dt><i>venvName</i> (str)</dt>
2746 <dd> 3150 <dd>
2747 name of the virtual environment to be used 3151 name of the virtual environment to be used
2748 </dd> 3152 </dd>
2749 <dt><i>workingDir=</i> (str)</dt> 3153 <dt><i>workingDir</i> (str)</dt>
2750 <dd> 3154 <dd>
2751 directory to start the debugger client in 3155 directory to start the debugger client in
2752 </dd> 3156 </dd>
2753 </dl> 3157 </dl>
2754 <a NAME="DebugServer.unregisterDebuggerInterface" ID="DebugServer.unregisterDebuggerInterface"></a> 3158 <a NAME="DebugServer.unregisterDebuggerInterface" ID="DebugServer.unregisterDebuggerInterface"></a>

eric ide

mercurial