32 |
32 |
33 class DebugServer(QTcpServer): |
33 class DebugServer(QTcpServer): |
34 """ |
34 """ |
35 Class implementing the debug server embedded within the IDE. |
35 Class implementing the debug server embedded within the IDE. |
36 |
36 |
37 @signal clientProcessStdout emitted after the client has sent some output |
37 @signal clientProcessStdout(str) emitted after the client has sent some output |
38 via stdout |
38 via stdout |
39 @signal clientProcessStderr emitted after the client has sent some output |
39 @signal clientProcessStderr(str) emitted after the client has sent some output |
40 via stderr |
40 via stderr |
41 @signal clientOutput emitted after the client has sent some output |
41 @signal clientOutput(str) emitted after the client has sent some output |
42 @signal clientRawInputSent emitted after the data was sent to the debug client |
42 @signal clientRawInputSent() emitted after the data was sent to the debug client |
43 @signal clientLine(filename, lineno, forStack) emitted after the debug client |
43 @signal clientLine(filename, lineno, forStack) emitted after the debug client |
44 has executed a line of code |
44 has executed a line of code |
45 @signal clientStack(stack) emitted after the debug client has executed a |
45 @signal clientStack(stack) emitted after the debug client has executed a |
46 line of code |
46 line of code |
47 @signal clientThreadList(currentId, threadList) emitted after a thread list |
47 @signal clientThreadList(currentId, threadList) emitted after a thread list |
48 has been received |
48 has been received |
49 @signal clientThreadSet emitted after the client has acknowledged the change |
49 @signal clientThreadSet() emitted after the client has acknowledged the change |
50 of the current thread |
50 of the current thread |
51 @signal clientVariables(scope, variables) emitted after a variables dump has |
51 @signal clientVariables(scope, variables) emitted after a variables dump has |
52 been received |
52 been received |
53 @signal clientVariable(scope, variables) emitted after a dump for one class |
53 @signal clientVariable(scope, variables) emitted after a dump for one class |
54 variable has been received |
54 variable has been received |
55 @signal clientStatement(boolean) emitted after an interactive command has |
55 @signal clientStatement(bool) emitted after an interactive command has |
56 been executed. The parameter is 0 to indicate that the command is |
56 been executed. The parameter is 0 to indicate that the command is |
57 complete and 1 if it needs more input. |
57 complete and 1 if it needs more input. |
58 @signal clientException(exception) emitted after an exception occured on the |
58 @signal clientException(exception) emitted after an exception occured on the |
59 client side |
59 client side |
60 @signal clientSyntaxError(exception) emitted after a syntax error has been detected |
60 @signal clientSyntaxError(exception) emitted after a syntax error has been detected |
73 @signal clientCapabilities(int capabilities, string cltype) emitted after the clients |
73 @signal clientCapabilities(int capabilities, string cltype) emitted after the clients |
74 capabilities were received |
74 capabilities were received |
75 @signal clientCompletionList(completionList, text) emitted after the client |
75 @signal clientCompletionList(completionList, text) emitted after the client |
76 the commandline completion list and the reworked searchstring was |
76 the commandline completion list and the reworked searchstring was |
77 received from the client |
77 received from the client |
78 @signal passiveDebugStarted emitted after the debug client has connected in |
78 @signal passiveDebugStarted(str, bool) emitted after the debug client has connected in |
79 passive debug mode |
79 passive debug mode |
80 @signal clientGone emitted if the client went away (planned or unplanned) |
80 @signal clientGone(bool) emitted if the client went away (planned or unplanned) |
81 @signal utPrepared(nrTests, exc_type, exc_value) emitted after the client has |
81 @signal utPrepared(nrTests, exc_type, exc_value) emitted after the client has |
82 loaded a unittest suite |
82 loaded a unittest suite |
83 @signal utFinished emitted after the client signalled the end of the unittest |
83 @signal utFinished() emitted after the client signalled the end of the unittest |
84 @signal utStartTest(testname, testdocu) emitted after the client has started |
84 @signal utStartTest(testname, testdocu) emitted after the client has started |
85 a test |
85 a test |
86 @signal utStopTest emitted after the client has finished a test |
86 @signal utStopTest() emitted after the client has finished a test |
87 @signal utTestFailed(testname, exc_info) emitted after the client reported |
87 @signal utTestFailed(testname, exc_info) emitted after the client reported |
88 a failed test |
88 a failed test |
89 @signal utTestErrored(testname, exc_info) emitted after the client reported |
89 @signal utTestErrored(testname, exc_info) emitted after the client reported |
90 an errored test |
90 an errored test |
91 """ |
91 """ |