Documentation/Source/eric5.Debugger.DebugServer.html

changeset 501
5c615a85241a
parent 440
69ace3e2dcf6
child 767
27554f80d08f
equal deleted inserted replaced
500:c3abc7895a01 501:5c615a85241a
51 emitted after the client banner was received 51 emitted after the client banner was received
52 </dd><dt>clientBreakConditionError(fn, lineno)</dt> 52 </dd><dt>clientBreakConditionError(fn, lineno)</dt>
53 <dd> 53 <dd>
54 emitted after the client has signaled 54 emitted after the client has signaled
55 a syntax error in a breakpoint condition 55 a syntax error in a breakpoint condition
56 </dd><dt>clientCapabilities(int capabilities, QString cltype)</dt> 56 </dd><dt>clientCapabilities(int capabilities, string cltype)</dt>
57 <dd> 57 <dd>
58 emitted after the clients 58 emitted after the clients
59 capabilities were received 59 capabilities were received
60 </dd><dt>clientClearBreak(filename, lineno)</dt> 60 </dd><dt>clientClearBreak(filename, lineno)</dt>
61 <dd> 61 <dd>
75 emitted after an exception occured on the 75 emitted after an exception occured on the
76 client side 76 client side
77 </dd><dt>clientExit(int)</dt> 77 </dd><dt>clientExit(int)</dt>
78 <dd> 78 <dd>
79 emitted with the exit status after the client has exited 79 emitted with the exit status after the client has exited
80 </dd><dt>clientGone</dt> 80 </dd><dt>clientGone(bool)</dt>
81 <dd> 81 <dd>
82 emitted if the client went away (planned or unplanned) 82 emitted if the client went away (planned or unplanned)
83 </dd><dt>clientLine(filename, lineno, forStack)</dt> 83 </dd><dt>clientLine(filename, lineno, forStack)</dt>
84 <dd> 84 <dd>
85 emitted after the debug client 85 emitted after the debug client
86 has executed a line of code 86 has executed a line of code
87 </dd><dt>clientOutput</dt> 87 </dd><dt>clientOutput(str)</dt>
88 <dd> 88 <dd>
89 emitted after the client has sent some output 89 emitted after the client has sent some output
90 </dd><dt>clientProcessStderr</dt> 90 </dd><dt>clientProcessStderr(str)</dt>
91 <dd> 91 <dd>
92 emitted after the client has sent some output 92 emitted after the client has sent some output
93 via stderr 93 via stderr
94 </dd><dt>clientProcessStdout</dt> 94 </dd><dt>clientProcessStdout(str)</dt>
95 <dd> 95 <dd>
96 emitted after the client has sent some output 96 emitted after the client has sent some output
97 via stdout 97 via stdout
98 </dd><dt>clientRawInput(prompt, echo)</dt> 98 </dd><dt>clientRawInput(prompt, echo)</dt>
99 <dd> 99 <dd>
100 emitted after a raw input request was received 100 emitted after a raw input request was received
101 </dd><dt>clientRawInputSent</dt> 101 </dd><dt>clientRawInputSent()</dt>
102 <dd> 102 <dd>
103 emitted after the data was sent to the debug client 103 emitted after the data was sent to the debug client
104 </dd><dt>clientStack(stack)</dt> 104 </dd><dt>clientStack(stack)</dt>
105 <dd> 105 <dd>
106 emitted after the debug client has executed a 106 emitted after the debug client has executed a
107 line of code 107 line of code
108 </dd><dt>clientStatement(boolean)</dt> 108 </dd><dt>clientStatement(bool)</dt>
109 <dd> 109 <dd>
110 emitted after an interactive command has 110 emitted after an interactive command has
111 been executed. The parameter is 0 to indicate that the command is 111 been executed. The parameter is 0 to indicate that the command is
112 complete and 1 if it needs more input. 112 complete and 1 if it needs more input.
113 </dd><dt>clientSyntaxError(exception)</dt> 113 </dd><dt>clientSyntaxError(exception)</dt>
116 on the client side 116 on the client side
117 </dd><dt>clientThreadList(currentId, threadList)</dt> 117 </dd><dt>clientThreadList(currentId, threadList)</dt>
118 <dd> 118 <dd>
119 emitted after a thread list 119 emitted after a thread list
120 has been received 120 has been received
121 </dd><dt>clientThreadSet</dt> 121 </dd><dt>clientThreadSet()</dt>
122 <dd> 122 <dd>
123 emitted after the client has acknowledged the change 123 emitted after the client has acknowledged the change
124 of the current thread 124 of the current thread
125 </dd><dt>clientVariable(scope, variables)</dt> 125 </dd><dt>clientVariable(scope, variables)</dt>
126 <dd> 126 <dd>
132 been received 132 been received
133 </dd><dt>clientWatchConditionError(condition)</dt> 133 </dd><dt>clientWatchConditionError(condition)</dt>
134 <dd> 134 <dd>
135 emitted after the client has signaled 135 emitted after the client has signaled
136 a syntax error in a watch expression 136 a syntax error in a watch expression
137 </dd><dt>passiveDebugStarted</dt> 137 </dd><dt>passiveDebugStarted(str, bool)</dt>
138 <dd> 138 <dd>
139 emitted after the debug client has connected in 139 emitted after the debug client has connected in
140 passive debug mode 140 passive debug mode
141 </dd><dt>utFinished</dt> 141 </dd><dt>utFinished()</dt>
142 <dd> 142 <dd>
143 emitted after the client signalled the end of the unittest 143 emitted after the client signalled the end of the unittest
144 </dd><dt>utPrepared(nrTests, exc_type, exc_value)</dt> 144 </dd><dt>utPrepared(nrTests, exc_type, exc_value)</dt>
145 <dd> 145 <dd>
146 emitted after the client has 146 emitted after the client has
147 loaded a unittest suite 147 loaded a unittest suite
148 </dd><dt>utStartTest(testname, testdocu)</dt> 148 </dd><dt>utStartTest(testname, testdocu)</dt>
149 <dd> 149 <dd>
150 emitted after the client has started 150 emitted after the client has started
151 a test 151 a test
152 </dd><dt>utStopTest</dt> 152 </dd><dt>utStopTest()</dt>
153 <dd> 153 <dd>
154 emitted after the client has finished a test 154 emitted after the client has finished a test
155 </dd><dt>utTestErrored(testname, exc_info)</dt> 155 </dd><dt>utTestErrored(testname, exc_info)</dt>
156 <dd> 156 <dd>
157 emitted after the client reported 157 emitted after the client reported
164 </dl> 164 </dl>
165 <h3>Derived from</h3> 165 <h3>Derived from</h3>
166 QTcpServer 166 QTcpServer
167 <h3>Class Attributes</h3> 167 <h3>Class Attributes</h3>
168 <table> 168 <table>
169 <tr><td>None</td></tr> 169 <tr><td>clientBanner</td></tr><tr><td>clientBreakConditionError</td></tr><tr><td>clientCapabilities</td></tr><tr><td>clientClearBreak</td></tr><tr><td>clientClearWatch</td></tr><tr><td>clientCompletionList</td></tr><tr><td>clientException</td></tr><tr><td>clientExit</td></tr><tr><td>clientGone</td></tr><tr><td>clientLine</td></tr><tr><td>clientOutput</td></tr><tr><td>clientProcessStderr</td></tr><tr><td>clientProcessStdout</td></tr><tr><td>clientRawInput</td></tr><tr><td>clientRawInputSent</td></tr><tr><td>clientStack</td></tr><tr><td>clientStatement</td></tr><tr><td>clientSyntaxError</td></tr><tr><td>clientThreadList</td></tr><tr><td>clientThreadSet</td></tr><tr><td>clientVariable</td></tr><tr><td>clientVariables</td></tr><tr><td>clientWatchConditionError</td></tr><tr><td>passiveDebugStarted</td></tr><tr><td>utFinished</td></tr><tr><td>utPrepared</td></tr><tr><td>utStartTest</td></tr><tr><td>utStopTest</td></tr><tr><td>utTestErrored</td></tr><tr><td>utTestFailed</td></tr>
170 </table> 170 </table>
171 <h3>Methods</h3> 171 <h3>Methods</h3>
172 <table> 172 <table>
173 <tr> 173 <tr>
174 <td><a href="#DebugServer.__init__">DebugServer</a></td> 174 <td><a href="#DebugServer.__init__">DebugServer</a></td>
250 <td>Private method to split a remote watch expression.</td> 250 <td>Private method to split a remote watch expression.</td>
251 </tr><tr> 251 </tr><tr>
252 <td><a href="#DebugServer.__watchPointDataAboutToBeChanged">__watchPointDataAboutToBeChanged</a></td> 252 <td><a href="#DebugServer.__watchPointDataAboutToBeChanged">__watchPointDataAboutToBeChanged</a></td>
253 <td>Private slot to handle the dataAboutToBeChanged signal of the watch expression model.</td> 253 <td>Private slot to handle the dataAboutToBeChanged signal of the watch expression model.</td>
254 </tr><tr> 254 </tr><tr>
255 <td><a href="#DebugServer.clientBanner">clientBanner</a></td>
256 <td>Public method to process the client banner info.</td>
257 </tr><tr>
258 <td><a href="#DebugServer.clientBreakConditionError">clientBreakConditionError</a></td>
259 <td>Public method to process the client breakpoint condition error info.</td>
260 </tr><tr>
261 <td><a href="#DebugServer.clientCapabilities">clientCapabilities</a></td>
262 <td>Public method to process the client capabilities info.</td>
263 </tr><tr>
264 <td><a href="#DebugServer.clientClearBreak">clientClearBreak</a></td>
265 <td>Public method to process the client clear breakpoint command.</td>
266 </tr><tr>
267 <td><a href="#DebugServer.clientClearWatch">clientClearWatch</a></td>
268 <td>Public slot to handle the clientClearWatch signal.</td>
269 </tr><tr>
270 <td><a href="#DebugServer.clientCompletionList">clientCompletionList</a></td>
271 <td>Public method to process the client auto completion info.</td>
272 </tr><tr>
273 <td><a href="#DebugServer.clientException">clientException</a></td>
274 <td>Public method to process the exception info from the client.</td>
275 </tr><tr>
276 <td><a href="#DebugServer.clientExit">clientExit</a></td>
277 <td>Public method to process the client exit status.</td>
278 </tr><tr>
279 <td><a href="#DebugServer.clientLine">clientLine</a></td>
280 <td>Public method to process client position feedback.</td>
281 </tr><tr>
282 <td><a href="#DebugServer.clientOutput">clientOutput</a></td>
283 <td>Public method to process a line of client output.</td>
284 </tr><tr>
285 <td><a href="#DebugServer.clientRawInput">clientRawInput</a></td>
286 <td>Public method to process the client raw input command.</td>
287 </tr><tr>
288 <td><a href="#DebugServer.clientStack">clientStack</a></td>
289 <td>Public method to process a client's stack information.</td>
290 </tr><tr>
291 <td><a href="#DebugServer.clientStatement">clientStatement</a></td>
292 <td>Public method to process the input response from the client.</td>
293 </tr><tr>
294 <td><a href="#DebugServer.clientSyntaxError">clientSyntaxError</a></td>
295 <td>Public method to process the syntax error info from the client.</td>
296 </tr><tr>
297 <td><a href="#DebugServer.clientThreadList">clientThreadList</a></td>
298 <td>Public method to process the client thread list info.</td>
299 </tr><tr>
300 <td><a href="#DebugServer.clientThreadSet">clientThreadSet</a></td>
301 <td>Public method to handle the change of the client thread.</td>
302 </tr><tr>
303 <td><a href="#DebugServer.clientUtFinished">clientUtFinished</a></td> 255 <td><a href="#DebugServer.clientUtFinished">clientUtFinished</a></td>
304 <td>Public method to process the client unit test finished info.</td> 256 <td>Public method to process the client unit test finished info.</td>
305 </tr><tr> 257 </tr><tr>
306 <td><a href="#DebugServer.clientUtPrepared">clientUtPrepared</a></td> 258 <td><a href="#DebugServer.clientUtPrepared">clientUtPrepared</a></td>
307 <td>Public method to process the client unittest prepared info.</td> 259 <td>Public method to process the client unittest prepared info.</td>
316 <td>Public method to process the client test errored info.</td> 268 <td>Public method to process the client test errored info.</td>
317 </tr><tr> 269 </tr><tr>
318 <td><a href="#DebugServer.clientUtTestFailed">clientUtTestFailed</a></td> 270 <td><a href="#DebugServer.clientUtTestFailed">clientUtTestFailed</a></td>
319 <td>Public method to process the client test failed info.</td> 271 <td>Public method to process the client test failed info.</td>
320 </tr><tr> 272 </tr><tr>
321 <td><a href="#DebugServer.clientVariable">clientVariable</a></td>
322 <td>Public method to process the client variable info.</td>
323 </tr><tr>
324 <td><a href="#DebugServer.clientVariables">clientVariables</a></td>
325 <td>Public method to process the client variables info.</td>
326 </tr><tr>
327 <td><a href="#DebugServer.clientWatchConditionError">clientWatchConditionError</a></td>
328 <td>Public method to process the client watch expression error info.</td>
329 </tr><tr>
330 <td><a href="#DebugServer.getBreakPointModel">getBreakPointModel</a></td> 273 <td><a href="#DebugServer.getBreakPointModel">getBreakPointModel</a></td>
331 <td>Public slot to get a reference to the breakpoint model object.</td> 274 <td>Public slot to get a reference to the breakpoint model object.</td>
332 </tr><tr> 275 </tr><tr>
333 <td><a href="#DebugServer.getClientCapabilities">getClientCapabilities</a></td> 276 <td><a href="#DebugServer.getClientCapabilities">getClientCapabilities</a></td>
334 <td>Public method to retrieve the debug clients capabilities.</td> 277 <td>Public method to retrieve the debug clients capabilities.</td>
432 <td><a href="#DebugServer.remoteUTStop">remoteUTStop</a></td> 375 <td><a href="#DebugServer.remoteUTStop">remoteUTStop</a></td>
433 <td>public method to stop a unittest run.</td> 376 <td>public method to stop a unittest run.</td>
434 </tr><tr> 377 </tr><tr>
435 <td><a href="#DebugServer.shutdownServer">shutdownServer</a></td> 378 <td><a href="#DebugServer.shutdownServer">shutdownServer</a></td>
436 <td>Public method to cleanly shut down.</td> 379 <td>Public method to cleanly shut down.</td>
380 </tr><tr>
381 <td><a href="#DebugServer.signalClientBanner">signalClientBanner</a></td>
382 <td>Public method to process the client banner info.</td>
383 </tr><tr>
384 <td><a href="#DebugServer.signalClientBreakConditionError">signalClientBreakConditionError</a></td>
385 <td>Public method to process the client breakpoint condition error info.</td>
386 </tr><tr>
387 <td><a href="#DebugServer.signalClientCapabilities">signalClientCapabilities</a></td>
388 <td>Public method to process the client capabilities info.</td>
389 </tr><tr>
390 <td><a href="#DebugServer.signalClientClearBreak">signalClientClearBreak</a></td>
391 <td>Public method to process the client clear breakpoint command.</td>
392 </tr><tr>
393 <td><a href="#DebugServer.signalClientClearWatch">signalClientClearWatch</a></td>
394 <td>Public slot to handle the clientClearWatch signal.</td>
395 </tr><tr>
396 <td><a href="#DebugServer.signalClientCompletionList">signalClientCompletionList</a></td>
397 <td>Public method to process the client auto completion info.</td>
398 </tr><tr>
399 <td><a href="#DebugServer.signalClientException">signalClientException</a></td>
400 <td>Public method to process the exception info from the client.</td>
401 </tr><tr>
402 <td><a href="#DebugServer.signalClientExit">signalClientExit</a></td>
403 <td>Public method to process the client exit status.</td>
404 </tr><tr>
405 <td><a href="#DebugServer.signalClientLine">signalClientLine</a></td>
406 <td>Public method to process client position feedback.</td>
407 </tr><tr>
408 <td><a href="#DebugServer.signalClientOutput">signalClientOutput</a></td>
409 <td>Public method to process a line of client output.</td>
410 </tr><tr>
411 <td><a href="#DebugServer.signalClientRawInput">signalClientRawInput</a></td>
412 <td>Public method to process the client raw input command.</td>
413 </tr><tr>
414 <td><a href="#DebugServer.signalClientStack">signalClientStack</a></td>
415 <td>Public method to process a client's stack information.</td>
416 </tr><tr>
417 <td><a href="#DebugServer.signalClientStatement">signalClientStatement</a></td>
418 <td>Public method to process the input response from the client.</td>
419 </tr><tr>
420 <td><a href="#DebugServer.signalClientSyntaxError">signalClientSyntaxError</a></td>
421 <td>Public method to process the syntax error info from the client.</td>
422 </tr><tr>
423 <td><a href="#DebugServer.signalClientThreadList">signalClientThreadList</a></td>
424 <td>Public method to process the client thread list info.</td>
425 </tr><tr>
426 <td><a href="#DebugServer.signalClientThreadSet">signalClientThreadSet</a></td>
427 <td>Public method to handle the change of the client thread.</td>
428 </tr><tr>
429 <td><a href="#DebugServer.signalClientVariable">signalClientVariable</a></td>
430 <td>Public method to process the client variable info.</td>
431 </tr><tr>
432 <td><a href="#DebugServer.signalClientVariables">signalClientVariables</a></td>
433 <td>Public method to process the client variables info.</td>
434 </tr><tr>
435 <td><a href="#DebugServer.signalClientWatchConditionError">signalClientWatchConditionError</a></td>
436 <td>Public method to process the client watch expression error info.</td>
437 </tr><tr> 437 </tr><tr>
438 <td><a href="#DebugServer.startClient">startClient</a></td> 438 <td><a href="#DebugServer.startClient">startClient</a></td>
439 <td>Public method to start a debug client.</td> 439 <td>Public method to start a debug client.</td>
440 </tr> 440 </tr>
441 </table> 441 </table>
741 start index of the rows to be changed (QModelIndex) 741 start index of the rows to be changed (QModelIndex)
742 </dd><dt><i>endIndex</i></dt> 742 </dd><dt><i>endIndex</i></dt>
743 <dd> 743 <dd>
744 end index of the rows to be changed (QModelIndex) 744 end index of the rows to be changed (QModelIndex)
745 </dd> 745 </dd>
746 </dl><a NAME="DebugServer.clientBanner" ID="DebugServer.clientBanner"></a> 746 </dl><a NAME="DebugServer.clientUtFinished" ID="DebugServer.clientUtFinished"></a>
747 <h4>DebugServer.clientBanner</h4>
748 <b>clientBanner</b>(<i>version, platform, debugClient</i>)
749 <p>
750 Public method to process the client banner info.
751 </p><dl>
752 <dt><i>version</i></dt>
753 <dd>
754 interpreter version info (string)
755 </dd><dt><i>platform</i></dt>
756 <dd>
757 hostname of the client (string)
758 </dd><dt><i>debugClient</i></dt>
759 <dd>
760 additional debugger type info (string)
761 </dd>
762 </dl><a NAME="DebugServer.clientBreakConditionError" ID="DebugServer.clientBreakConditionError"></a>
763 <h4>DebugServer.clientBreakConditionError</h4>
764 <b>clientBreakConditionError</b>(<i>filename, lineno</i>)
765 <p>
766 Public method to process the client breakpoint condition error info.
767 </p><dl>
768 <dt><i>filename</i></dt>
769 <dd>
770 filename of the breakpoint (string)
771 </dd><dt><i>lineno</i></dt>
772 <dd>
773 line umber of the breakpoint (integer)
774 </dd>
775 </dl><a NAME="DebugServer.clientCapabilities" ID="DebugServer.clientCapabilities"></a>
776 <h4>DebugServer.clientCapabilities</h4>
777 <b>clientCapabilities</b>(<i>capabilities, clientType</i>)
778 <p>
779 Public method to process the client capabilities info.
780 </p><dl>
781 <dt><i>capabilities</i></dt>
782 <dd>
783 bitmaks with the client capabilities (integer)
784 </dd><dt><i>clientType</i></dt>
785 <dd>
786 type of the debug client (string)
787 </dd>
788 </dl><a NAME="DebugServer.clientClearBreak" ID="DebugServer.clientClearBreak"></a>
789 <h4>DebugServer.clientClearBreak</h4>
790 <b>clientClearBreak</b>(<i>filename, lineno</i>)
791 <p>
792 Public method to process the client clear breakpoint command.
793 </p><dl>
794 <dt><i>filename</i></dt>
795 <dd>
796 filename of the breakpoint (string)
797 </dd><dt><i>lineno</i></dt>
798 <dd>
799 line umber of the breakpoint (integer)
800 </dd>
801 </dl><a NAME="DebugServer.clientClearWatch" ID="DebugServer.clientClearWatch"></a>
802 <h4>DebugServer.clientClearWatch</h4>
803 <b>clientClearWatch</b>(<i>condition</i>)
804 <p>
805 Public slot to handle the clientClearWatch signal.
806 </p><dl>
807 <dt><i>condition</i></dt>
808 <dd>
809 expression of watch expression to clear (string)
810 </dd>
811 </dl><a NAME="DebugServer.clientCompletionList" ID="DebugServer.clientCompletionList"></a>
812 <h4>DebugServer.clientCompletionList</h4>
813 <b>clientCompletionList</b>(<i>completionList, text</i>)
814 <p>
815 Public method to process the client auto completion info.
816 </p><dl>
817 <dt><i>completionList</i></dt>
818 <dd>
819 list of possible completions (list of strings)
820 </dd><dt><i>text</i></dt>
821 <dd>
822 the text to be completed (string)
823 </dd>
824 </dl><a NAME="DebugServer.clientException" ID="DebugServer.clientException"></a>
825 <h4>DebugServer.clientException</h4>
826 <b>clientException</b>(<i>exceptionType, exceptionMessage, stackTrace</i>)
827 <p>
828 Public method to process the exception info from the client.
829 </p><dl>
830 <dt><i>exceptionType</i></dt>
831 <dd>
832 type of exception raised (string)
833 </dd><dt><i>exceptionMessage</i></dt>
834 <dd>
835 message given by the exception (string)
836 </dd><dt><i>stackTrace</i></dt>
837 <dd>
838 list of stack entries with the exception position
839 first. Each stack entry is a list giving the filename and the linenumber.
840 </dd>
841 </dl><a NAME="DebugServer.clientExit" ID="DebugServer.clientExit"></a>
842 <h4>DebugServer.clientExit</h4>
843 <b>clientExit</b>(<i>status</i>)
844 <p>
845 Public method to process the client exit status.
846 </p><dl>
847 <dt><i>status</i></dt>
848 <dd>
849 exit code as a string (string)
850 </dd>
851 </dl><a NAME="DebugServer.clientLine" ID="DebugServer.clientLine"></a>
852 <h4>DebugServer.clientLine</h4>
853 <b>clientLine</b>(<i>filename, lineno, forStack = False</i>)
854 <p>
855 Public method to process client position feedback.
856 </p><dl>
857 <dt><i>filename</i></dt>
858 <dd>
859 name of the file currently being executed (string)
860 </dd><dt><i>lineno</i></dt>
861 <dd>
862 line of code currently being executed (integer)
863 </dd><dt><i>forStack</i></dt>
864 <dd>
865 flag indicating this is for a stack dump (boolean)
866 </dd>
867 </dl><a NAME="DebugServer.clientOutput" ID="DebugServer.clientOutput"></a>
868 <h4>DebugServer.clientOutput</h4>
869 <b>clientOutput</b>(<i>line</i>)
870 <p>
871 Public method to process a line of client output.
872 </p><dl>
873 <dt><i>line</i></dt>
874 <dd>
875 client output (string)
876 </dd>
877 </dl><a NAME="DebugServer.clientRawInput" ID="DebugServer.clientRawInput"></a>
878 <h4>DebugServer.clientRawInput</h4>
879 <b>clientRawInput</b>(<i>prompt, echo</i>)
880 <p>
881 Public method to process the client raw input command.
882 </p><dl>
883 <dt><i>prompt</i></dt>
884 <dd>
885 the input prompt (string)
886 </dd><dt><i>echo</i></dt>
887 <dd>
888 flag indicating an echoing of the input (boolean)
889 </dd>
890 </dl><a NAME="DebugServer.clientStack" ID="DebugServer.clientStack"></a>
891 <h4>DebugServer.clientStack</h4>
892 <b>clientStack</b>(<i>stack</i>)
893 <p>
894 Public method to process a client's stack information.
895 </p><dl>
896 <dt><i>stack</i></dt>
897 <dd>
898 list of stack entries. Each entry is a tuple of three
899 values giving the filename, linenumber and method
900 (list of lists of (string, integer, string))
901 </dd>
902 </dl><a NAME="DebugServer.clientStatement" ID="DebugServer.clientStatement"></a>
903 <h4>DebugServer.clientStatement</h4>
904 <b>clientStatement</b>(<i>more</i>)
905 <p>
906 Public method to process the input response from the client.
907 </p><dl>
908 <dt><i>more</i></dt>
909 <dd>
910 flag indicating that more user input is required
911 </dd>
912 </dl><a NAME="DebugServer.clientSyntaxError" ID="DebugServer.clientSyntaxError"></a>
913 <h4>DebugServer.clientSyntaxError</h4>
914 <b>clientSyntaxError</b>(<i>message, filename, lineNo, characterNo</i>)
915 <p>
916 Public method to process the syntax error info from the client.
917 </p><dl>
918 <dt><i>message</i></dt>
919 <dd>
920 message of the syntax error (string)
921 </dd><dt><i>filename</i></dt>
922 <dd>
923 translated filename of the syntax error position (string)
924 </dd><dt><i>lineNo</i></dt>
925 <dd>
926 line number of the syntax error position (integer)
927 </dd><dt><i>characterNo</i></dt>
928 <dd>
929 character number of the syntax error position (integer)
930 </dd>
931 </dl><a NAME="DebugServer.clientThreadList" ID="DebugServer.clientThreadList"></a>
932 <h4>DebugServer.clientThreadList</h4>
933 <b>clientThreadList</b>(<i>currentId, threadList</i>)
934 <p>
935 Public method to process the client thread list info.
936 </p><dl>
937 <dt><i>currentID</i></dt>
938 <dd>
939 id of the current thread (integer)
940 </dd><dt><i>threadList</i></dt>
941 <dd>
942 list of dictionaries containing the thread data
943 </dd>
944 </dl><a NAME="DebugServer.clientThreadSet" ID="DebugServer.clientThreadSet"></a>
945 <h4>DebugServer.clientThreadSet</h4>
946 <b>clientThreadSet</b>(<i></i>)
947 <p>
948 Public method to handle the change of the client thread.
949 </p><a NAME="DebugServer.clientUtFinished" ID="DebugServer.clientUtFinished"></a>
950 <h4>DebugServer.clientUtFinished</h4> 747 <h4>DebugServer.clientUtFinished</h4>
951 <b>clientUtFinished</b>(<i></i>) 748 <b>clientUtFinished</b>(<i></i>)
952 <p> 749 <p>
953 Public method to process the client unit test finished info. 750 Public method to process the client unit test finished info.
954 </p><a NAME="DebugServer.clientUtPrepared" ID="DebugServer.clientUtPrepared"></a> 751 </p><a NAME="DebugServer.clientUtPrepared" ID="DebugServer.clientUtPrepared"></a>
1009 name of the test (string) 806 name of the test (string)
1010 </dd><dt><i>traceback</i></dt> 807 </dd><dt><i>traceback</i></dt>
1011 <dd> 808 <dd>
1012 lines of traceback info (string) 809 lines of traceback info (string)
1013 </dd> 810 </dd>
1014 </dl><a NAME="DebugServer.clientVariable" ID="DebugServer.clientVariable"></a>
1015 <h4>DebugServer.clientVariable</h4>
1016 <b>clientVariable</b>(<i>scope, variables</i>)
1017 <p>
1018 Public method to process the client variable info.
1019 </p><dl>
1020 <dt><i>scope</i></dt>
1021 <dd>
1022 scope of the variables (-1 = empty global, 1 = global, 0 = local)
1023 </dd><dt><i>variables</i></dt>
1024 <dd>
1025 the list of members of a classvariable from the client
1026 </dd>
1027 </dl><a NAME="DebugServer.clientVariables" ID="DebugServer.clientVariables"></a>
1028 <h4>DebugServer.clientVariables</h4>
1029 <b>clientVariables</b>(<i>scope, variables</i>)
1030 <p>
1031 Public method to process the client variables info.
1032 </p><dl>
1033 <dt><i>scope</i></dt>
1034 <dd>
1035 scope of the variables (-1 = empty global, 1 = global, 0 = local)
1036 </dd><dt><i>variables</i></dt>
1037 <dd>
1038 the list of variables from the client
1039 </dd>
1040 </dl><a NAME="DebugServer.clientWatchConditionError" ID="DebugServer.clientWatchConditionError"></a>
1041 <h4>DebugServer.clientWatchConditionError</h4>
1042 <b>clientWatchConditionError</b>(<i>condition</i>)
1043 <p>
1044 Public method to process the client watch expression error info.
1045 </p><dl>
1046 <dt><i>condition</i></dt>
1047 <dd>
1048 expression of watch expression to clear (string)
1049 </dd>
1050 </dl><a NAME="DebugServer.getBreakPointModel" ID="DebugServer.getBreakPointModel"></a> 811 </dl><a NAME="DebugServer.getBreakPointModel" ID="DebugServer.getBreakPointModel"></a>
1051 <h4>DebugServer.getBreakPointModel</h4> 812 <h4>DebugServer.getBreakPointModel</h4>
1052 <b>getBreakPointModel</b>(<i></i>) 813 <b>getBreakPointModel</b>(<i></i>)
1053 <p> 814 <p>
1054 Public slot to get a reference to the breakpoint model object. 815 Public slot to get a reference to the breakpoint model object.
1532 <p> 1293 <p>
1533 Public method to cleanly shut down. 1294 Public method to cleanly shut down.
1534 </p><p> 1295 </p><p>
1535 It closes our socket and shuts down 1296 It closes our socket and shuts down
1536 the debug client. (Needed on Win OS) 1297 the debug client. (Needed on Win OS)
1537 </p><a NAME="DebugServer.startClient" ID="DebugServer.startClient"></a> 1298 </p><a NAME="DebugServer.signalClientBanner" ID="DebugServer.signalClientBanner"></a>
1299 <h4>DebugServer.signalClientBanner</h4>
1300 <b>signalClientBanner</b>(<i>version, platform, debugClient</i>)
1301 <p>
1302 Public method to process the client banner info.
1303 </p><dl>
1304 <dt><i>version</i></dt>
1305 <dd>
1306 interpreter version info (string)
1307 </dd><dt><i>platform</i></dt>
1308 <dd>
1309 hostname of the client (string)
1310 </dd><dt><i>debugClient</i></dt>
1311 <dd>
1312 additional debugger type info (string)
1313 </dd>
1314 </dl><a NAME="DebugServer.signalClientBreakConditionError" ID="DebugServer.signalClientBreakConditionError"></a>
1315 <h4>DebugServer.signalClientBreakConditionError</h4>
1316 <b>signalClientBreakConditionError</b>(<i>filename, lineno</i>)
1317 <p>
1318 Public method to process the client breakpoint condition error info.
1319 </p><dl>
1320 <dt><i>filename</i></dt>
1321 <dd>
1322 filename of the breakpoint (string)
1323 </dd><dt><i>lineno</i></dt>
1324 <dd>
1325 line umber of the breakpoint (integer)
1326 </dd>
1327 </dl><a NAME="DebugServer.signalClientCapabilities" ID="DebugServer.signalClientCapabilities"></a>
1328 <h4>DebugServer.signalClientCapabilities</h4>
1329 <b>signalClientCapabilities</b>(<i>capabilities, clientType</i>)
1330 <p>
1331 Public method to process the client capabilities info.
1332 </p><dl>
1333 <dt><i>capabilities</i></dt>
1334 <dd>
1335 bitmaks with the client capabilities (integer)
1336 </dd><dt><i>clientType</i></dt>
1337 <dd>
1338 type of the debug client (string)
1339 </dd>
1340 </dl><a NAME="DebugServer.signalClientClearBreak" ID="DebugServer.signalClientClearBreak"></a>
1341 <h4>DebugServer.signalClientClearBreak</h4>
1342 <b>signalClientClearBreak</b>(<i>filename, lineno</i>)
1343 <p>
1344 Public method to process the client clear breakpoint command.
1345 </p><dl>
1346 <dt><i>filename</i></dt>
1347 <dd>
1348 filename of the breakpoint (string)
1349 </dd><dt><i>lineno</i></dt>
1350 <dd>
1351 line umber of the breakpoint (integer)
1352 </dd>
1353 </dl><a NAME="DebugServer.signalClientClearWatch" ID="DebugServer.signalClientClearWatch"></a>
1354 <h4>DebugServer.signalClientClearWatch</h4>
1355 <b>signalClientClearWatch</b>(<i>condition</i>)
1356 <p>
1357 Public slot to handle the clientClearWatch signal.
1358 </p><dl>
1359 <dt><i>condition</i></dt>
1360 <dd>
1361 expression of watch expression to clear (string)
1362 </dd>
1363 </dl><a NAME="DebugServer.signalClientCompletionList" ID="DebugServer.signalClientCompletionList"></a>
1364 <h4>DebugServer.signalClientCompletionList</h4>
1365 <b>signalClientCompletionList</b>(<i>completionList, text</i>)
1366 <p>
1367 Public method to process the client auto completion info.
1368 </p><dl>
1369 <dt><i>completionList</i></dt>
1370 <dd>
1371 list of possible completions (list of strings)
1372 </dd><dt><i>text</i></dt>
1373 <dd>
1374 the text to be completed (string)
1375 </dd>
1376 </dl><a NAME="DebugServer.signalClientException" ID="DebugServer.signalClientException"></a>
1377 <h4>DebugServer.signalClientException</h4>
1378 <b>signalClientException</b>(<i>exceptionType, exceptionMessage, stackTrace</i>)
1379 <p>
1380 Public method to process the exception info from the client.
1381 </p><dl>
1382 <dt><i>exceptionType</i></dt>
1383 <dd>
1384 type of exception raised (string)
1385 </dd><dt><i>exceptionMessage</i></dt>
1386 <dd>
1387 message given by the exception (string)
1388 </dd><dt><i>stackTrace</i></dt>
1389 <dd>
1390 list of stack entries with the exception position
1391 first. Each stack entry is a list giving the filename and the linenumber.
1392 </dd>
1393 </dl><a NAME="DebugServer.signalClientExit" ID="DebugServer.signalClientExit"></a>
1394 <h4>DebugServer.signalClientExit</h4>
1395 <b>signalClientExit</b>(<i>status</i>)
1396 <p>
1397 Public method to process the client exit status.
1398 </p><dl>
1399 <dt><i>status</i></dt>
1400 <dd>
1401 exit code as a string (string)
1402 </dd>
1403 </dl><a NAME="DebugServer.signalClientLine" ID="DebugServer.signalClientLine"></a>
1404 <h4>DebugServer.signalClientLine</h4>
1405 <b>signalClientLine</b>(<i>filename, lineno, forStack = False</i>)
1406 <p>
1407 Public method to process client position feedback.
1408 </p><dl>
1409 <dt><i>filename</i></dt>
1410 <dd>
1411 name of the file currently being executed (string)
1412 </dd><dt><i>lineno</i></dt>
1413 <dd>
1414 line of code currently being executed (integer)
1415 </dd><dt><i>forStack</i></dt>
1416 <dd>
1417 flag indicating this is for a stack dump (boolean)
1418 </dd>
1419 </dl><a NAME="DebugServer.signalClientOutput" ID="DebugServer.signalClientOutput"></a>
1420 <h4>DebugServer.signalClientOutput</h4>
1421 <b>signalClientOutput</b>(<i>line</i>)
1422 <p>
1423 Public method to process a line of client output.
1424 </p><dl>
1425 <dt><i>line</i></dt>
1426 <dd>
1427 client output (string)
1428 </dd>
1429 </dl><a NAME="DebugServer.signalClientRawInput" ID="DebugServer.signalClientRawInput"></a>
1430 <h4>DebugServer.signalClientRawInput</h4>
1431 <b>signalClientRawInput</b>(<i>prompt, echo</i>)
1432 <p>
1433 Public method to process the client raw input command.
1434 </p><dl>
1435 <dt><i>prompt</i></dt>
1436 <dd>
1437 the input prompt (string)
1438 </dd><dt><i>echo</i></dt>
1439 <dd>
1440 flag indicating an echoing of the input (boolean)
1441 </dd>
1442 </dl><a NAME="DebugServer.signalClientStack" ID="DebugServer.signalClientStack"></a>
1443 <h4>DebugServer.signalClientStack</h4>
1444 <b>signalClientStack</b>(<i>stack</i>)
1445 <p>
1446 Public method to process a client's stack information.
1447 </p><dl>
1448 <dt><i>stack</i></dt>
1449 <dd>
1450 list of stack entries. Each entry is a tuple of three
1451 values giving the filename, linenumber and method
1452 (list of lists of (string, integer, string))
1453 </dd>
1454 </dl><a NAME="DebugServer.signalClientStatement" ID="DebugServer.signalClientStatement"></a>
1455 <h4>DebugServer.signalClientStatement</h4>
1456 <b>signalClientStatement</b>(<i>more</i>)
1457 <p>
1458 Public method to process the input response from the client.
1459 </p><dl>
1460 <dt><i>more</i></dt>
1461 <dd>
1462 flag indicating that more user input is required
1463 </dd>
1464 </dl><a NAME="DebugServer.signalClientSyntaxError" ID="DebugServer.signalClientSyntaxError"></a>
1465 <h4>DebugServer.signalClientSyntaxError</h4>
1466 <b>signalClientSyntaxError</b>(<i>message, filename, lineNo, characterNo</i>)
1467 <p>
1468 Public method to process the syntax error info from the client.
1469 </p><dl>
1470 <dt><i>message</i></dt>
1471 <dd>
1472 message of the syntax error (string)
1473 </dd><dt><i>filename</i></dt>
1474 <dd>
1475 translated filename of the syntax error position (string)
1476 </dd><dt><i>lineNo</i></dt>
1477 <dd>
1478 line number of the syntax error position (integer)
1479 </dd><dt><i>characterNo</i></dt>
1480 <dd>
1481 character number of the syntax error position (integer)
1482 </dd>
1483 </dl><a NAME="DebugServer.signalClientThreadList" ID="DebugServer.signalClientThreadList"></a>
1484 <h4>DebugServer.signalClientThreadList</h4>
1485 <b>signalClientThreadList</b>(<i>currentId, threadList</i>)
1486 <p>
1487 Public method to process the client thread list info.
1488 </p><dl>
1489 <dt><i>currentID</i></dt>
1490 <dd>
1491 id of the current thread (integer)
1492 </dd><dt><i>threadList</i></dt>
1493 <dd>
1494 list of dictionaries containing the thread data
1495 </dd>
1496 </dl><a NAME="DebugServer.signalClientThreadSet" ID="DebugServer.signalClientThreadSet"></a>
1497 <h4>DebugServer.signalClientThreadSet</h4>
1498 <b>signalClientThreadSet</b>(<i></i>)
1499 <p>
1500 Public method to handle the change of the client thread.
1501 </p><a NAME="DebugServer.signalClientVariable" ID="DebugServer.signalClientVariable"></a>
1502 <h4>DebugServer.signalClientVariable</h4>
1503 <b>signalClientVariable</b>(<i>scope, variables</i>)
1504 <p>
1505 Public method to process the client variable info.
1506 </p><dl>
1507 <dt><i>scope</i></dt>
1508 <dd>
1509 scope of the variables (-1 = empty global, 1 = global, 0 = local)
1510 </dd><dt><i>variables</i></dt>
1511 <dd>
1512 the list of members of a classvariable from the client
1513 </dd>
1514 </dl><a NAME="DebugServer.signalClientVariables" ID="DebugServer.signalClientVariables"></a>
1515 <h4>DebugServer.signalClientVariables</h4>
1516 <b>signalClientVariables</b>(<i>scope, variables</i>)
1517 <p>
1518 Public method to process the client variables info.
1519 </p><dl>
1520 <dt><i>scope</i></dt>
1521 <dd>
1522 scope of the variables (-1 = empty global, 1 = global, 0 = local)
1523 </dd><dt><i>variables</i></dt>
1524 <dd>
1525 the list of variables from the client
1526 </dd>
1527 </dl><a NAME="DebugServer.signalClientWatchConditionError" ID="DebugServer.signalClientWatchConditionError"></a>
1528 <h4>DebugServer.signalClientWatchConditionError</h4>
1529 <b>signalClientWatchConditionError</b>(<i>condition</i>)
1530 <p>
1531 Public method to process the client watch expression error info.
1532 </p><dl>
1533 <dt><i>condition</i></dt>
1534 <dd>
1535 expression of watch expression to clear (string)
1536 </dd>
1537 </dl><a NAME="DebugServer.startClient" ID="DebugServer.startClient"></a>
1538 <h4>DebugServer.startClient</h4> 1538 <h4>DebugServer.startClient</h4>
1539 <b>startClient</b>(<i>unplanned = True, clType = None, forProject = False, runInConsole = False</i>) 1539 <b>startClient</b>(<i>unplanned = True, clType = None, forProject = False, runInConsole = False</i>)
1540 <p> 1540 <p>
1541 Public method to start a debug client. 1541 Public method to start a debug client.
1542 </p><dl> 1542 </p><dl>

eric ide

mercurial