56 @signal clientVariable(scope, variables) emitted after a dump for one class |
56 @signal clientVariable(scope, variables) emitted after a dump for one class |
57 variable has been received |
57 variable has been received |
58 @signal clientStatement(bool) emitted after an interactive command has |
58 @signal clientStatement(bool) emitted after an interactive command has |
59 been executed. The parameter is 0 to indicate that the command is |
59 been executed. The parameter is 0 to indicate that the command is |
60 complete and 1 if it needs more input. |
60 complete and 1 if it needs more input. |
|
61 @signal clientDisassembly(disassembly) emitted after the client has sent |
|
62 a disassembly of the code raising an exception |
61 @signal clientException(exception) emitted after an exception occured on |
63 @signal clientException(exception) emitted after an exception occured on |
62 the client side |
64 the client side |
63 @signal clientSyntaxError(exception) emitted after a syntax error has been |
65 @signal clientSyntaxError(exception) emitted after a syntax error has been |
64 detected on the client side |
66 detected on the client side |
65 @signal clientSignal(signal) emitted after a signal has been generated on |
67 @signal clientSignal(signal) emitted after a signal has been generated on |
126 clientThreadList = pyqtSignal('PyQt_PyObject', list) |
128 clientThreadList = pyqtSignal('PyQt_PyObject', list) |
127 clientThreadSet = pyqtSignal() |
129 clientThreadSet = pyqtSignal() |
128 clientVariables = pyqtSignal(int, list) |
130 clientVariables = pyqtSignal(int, list) |
129 clientVariable = pyqtSignal(int, list) |
131 clientVariable = pyqtSignal(int, list) |
130 clientStatement = pyqtSignal(bool) |
132 clientStatement = pyqtSignal(bool) |
|
133 clientDisassembly = pyqtSignal(dict) |
131 clientException = pyqtSignal(str, str, list) |
134 clientException = pyqtSignal(str, str, list) |
132 clientSyntaxError = pyqtSignal(str, str, int, int) |
135 clientSyntaxError = pyqtSignal(str, str, int, int) |
133 clientSignal = pyqtSignal(str, str, int, str, str) |
136 clientSignal = pyqtSignal(str, str, int, str, str) |
134 clientExit = pyqtSignal(int, str, bool) |
137 clientExit = pyqtSignal(int, str, bool) |
135 clientBreakConditionError = pyqtSignal(str, int) |
138 clientBreakConditionError = pyqtSignal(str, int) |
1255 @param var list encoded name of variable to retrieve (string) |
1258 @param var list encoded name of variable to retrieve (string) |
1256 @param framenr framenumber of the variables to retrieve (int) |
1259 @param framenr framenumber of the variables to retrieve (int) |
1257 """ |
1260 """ |
1258 self.debuggerInterface.remoteClientVariable( |
1261 self.debuggerInterface.remoteClientVariable( |
1259 scope, filterList, var, framenr, self.__maxVariableSize) |
1262 scope, filterList, var, framenr, self.__maxVariableSize) |
1260 |
1263 |
|
1264 def remoteClientDisassembly(self): |
|
1265 """ |
|
1266 Public method to ask the client for the latest traceback disassembly. |
|
1267 """ |
|
1268 try: |
|
1269 self.debuggerInterface.remoteClientDisassembly() |
|
1270 except AttributeError: |
|
1271 # remote client doesn't support that |
|
1272 pass |
|
1273 |
1261 def remoteClientSetFilter(self, scope, filterStr): |
1274 def remoteClientSetFilter(self, scope, filterStr): |
1262 """ |
1275 """ |
1263 Public method to set a variables filter list. |
1276 Public method to set a variables filter list. |
1264 |
1277 |
1265 @param scope the scope of the variables (0 = local, 1 = global) |
1278 @param scope the scope of the variables (0 = local, 1 = global) |
1497 |
1510 |
1498 @param more flag indicating that more user input is required |
1511 @param more flag indicating that more user input is required |
1499 """ |
1512 """ |
1500 self.clientStatement.emit(more) |
1513 self.clientStatement.emit(more) |
1501 |
1514 |
|
1515 def signalClientDisassembly(self, disassembly): |
|
1516 """ |
|
1517 Public method to process the disassembly info from the client. |
|
1518 |
|
1519 @param disassembly dictionary containing the disassembly information |
|
1520 @type dict |
|
1521 """ |
|
1522 if self.running: |
|
1523 self.clientDisassembly.emit(disassembly) |
|
1524 |
1502 def signalClientException(self, exceptionType, exceptionMessage, |
1525 def signalClientException(self, exceptionType, exceptionMessage, |
1503 stackTrace): |
1526 stackTrace): |
1504 """ |
1527 """ |
1505 Public method to process the exception info from the client. |
1528 Public method to process the exception info from the client. |
1506 |
1529 |