66 complete and 1 if it needs more input. |
66 complete and 1 if it needs more input. |
67 @signal clientException(exception) emitted after an exception occured on |
67 @signal clientException(exception) emitted after an exception occured on |
68 the client side |
68 the client side |
69 @signal clientSyntaxError(exception) emitted after a syntax error has been |
69 @signal clientSyntaxError(exception) emitted after a syntax error has been |
70 detected on the client side |
70 detected on the client side |
|
71 @signal clientSignal(signal) emitted after a signal has been generated on |
|
72 the client side |
71 @signal clientExit(int) emitted with the exit status after the client has |
73 @signal clientExit(int) emitted with the exit status after the client has |
72 exited |
74 exited |
73 @signal clientClearBreak(filename, lineno) emitted after the debug client |
75 @signal clientClearBreak(filename, lineno) emitted after the debug client |
74 has decided to clear a temporary breakpoint |
76 has decided to clear a temporary breakpoint |
75 @signal clientBreakConditionError(fn, lineno) emitted after the client has |
77 @signal clientBreakConditionError(fn, lineno) emitted after the client has |
129 clientVariables = pyqtSignal(int, list) |
131 clientVariables = pyqtSignal(int, list) |
130 clientVariable = pyqtSignal(int, list) |
132 clientVariable = pyqtSignal(int, list) |
131 clientStatement = pyqtSignal(bool) |
133 clientStatement = pyqtSignal(bool) |
132 clientException = pyqtSignal(str, str, list) |
134 clientException = pyqtSignal(str, str, list) |
133 clientSyntaxError = pyqtSignal(str, str, int, int) |
135 clientSyntaxError = pyqtSignal(str, str, int, int) |
|
136 clientSignal = pyqtSignal(str, str, int, str, str) |
134 clientExit = pyqtSignal(int) |
137 clientExit = pyqtSignal(int) |
135 clientBreakConditionError = pyqtSignal(str, int) |
138 clientBreakConditionError = pyqtSignal(str, int) |
136 clientWatchConditionError = pyqtSignal(str) |
139 clientWatchConditionError = pyqtSignal(str) |
137 clientRawInput = pyqtSignal(str, bool) |
140 clientRawInput = pyqtSignal(str, bool) |
138 clientBanner = pyqtSignal(str, str, str) |
141 clientBanner = pyqtSignal(str, str, str) |
1261 (integer) |
1264 (integer) |
1262 """ |
1265 """ |
1263 if self.running: |
1266 if self.running: |
1264 self.clientSyntaxError.emit(message, filename, lineNo, characterNo) |
1267 self.clientSyntaxError.emit(message, filename, lineNo, characterNo) |
1265 |
1268 |
|
1269 def signalClientSignal(self, message, filename, lineNo, |
|
1270 funcName, funcArgs): |
|
1271 """ |
|
1272 Public method to process a signal generated on the client side. |
|
1273 |
|
1274 @param message message of the syntax error |
|
1275 @type str |
|
1276 @param filename translated filename of the syntax error position |
|
1277 @type str |
|
1278 @param lineNo line number of the syntax error position |
|
1279 @type int |
|
1280 @param funcName name of the function causing the signal |
|
1281 @type str |
|
1282 @param funcArgs function arguments |
|
1283 @type str |
|
1284 """ |
|
1285 if self.running: |
|
1286 self.clientSignal.emit(message, filename, lineNo, |
|
1287 funcName, funcArgs) |
|
1288 |
1266 def signalClientExit(self, status): |
1289 def signalClientExit(self, status): |
1267 """ |
1290 """ |
1268 Public method to process the client exit status. |
1291 Public method to process the client exit status. |
1269 |
1292 |
1270 @param status exit code as a string (string) |
1293 @param status exit code as a string (string) |