79 has decided to clear a temporary watch expression |
79 has decided to clear a temporary watch expression |
80 @signal clientWatchConditionError(condition) emitted after the client has |
80 @signal clientWatchConditionError(condition) emitted after the client has |
81 signaled a syntax error in a watch expression |
81 signaled a syntax error in a watch expression |
82 @signal clientRawInput(prompt, echo) emitted after a raw input request was |
82 @signal clientRawInput(prompt, echo) emitted after a raw input request was |
83 received |
83 received |
84 @signal clientBanner(banner) emitted after the client banner was received |
84 @signal clientBanner(version, platform, dbgclient, venvname) emitted after |
85 @signal clientCapabilities(int capabilities, string cltype) emitted after |
85 the client banner data was received |
|
86 @signal clientCapabilities(capabilities, cltype, venvname) emitted after |
86 the clients capabilities were received |
87 the clients capabilities were received |
87 @signal clientCompletionList(completionList, text) emitted after the client |
88 @signal clientCompletionList(completionList, text) emitted after the client |
88 the commandline completion list and the reworked searchstring was |
89 the commandline completion list and the reworked searchstring was |
89 received from the client |
90 received from the client |
90 @signal passiveDebugStarted(str, bool) emitted after the debug client has |
91 @signal passiveDebugStarted(str, bool) emitted after the debug client has |
135 clientSignal = pyqtSignal(str, str, int, str, str) |
136 clientSignal = pyqtSignal(str, str, int, str, str) |
136 clientExit = pyqtSignal(int, str) |
137 clientExit = pyqtSignal(int, str) |
137 clientBreakConditionError = pyqtSignal(str, int) |
138 clientBreakConditionError = pyqtSignal(str, int) |
138 clientWatchConditionError = pyqtSignal(str) |
139 clientWatchConditionError = pyqtSignal(str) |
139 clientRawInput = pyqtSignal(str, bool) |
140 clientRawInput = pyqtSignal(str, bool) |
140 clientBanner = pyqtSignal(str, str, str) |
141 clientBanner = pyqtSignal(str, str, str, str) |
141 clientCapabilities = pyqtSignal(int, str) |
142 clientCapabilities = pyqtSignal(int, str, str) |
142 clientCompletionList = pyqtSignal(list, str) |
143 clientCompletionList = pyqtSignal(list, str) |
143 clientInterpreterChanged = pyqtSignal(str) |
144 clientInterpreterChanged = pyqtSignal(str) |
144 utPrepared = pyqtSignal(int, str, str) |
145 utPrepared = pyqtSignal(int, str, str) |
145 utStartTest = pyqtSignal(str, str) |
146 utStartTest = pyqtSignal(str, str) |
146 utStopTest = pyqtSignal() |
147 utStopTest = pyqtSignal() |
1539 @param prompt the input prompt (string) |
1540 @param prompt the input prompt (string) |
1540 @param echo flag indicating an echoing of the input (boolean) |
1541 @param echo flag indicating an echoing of the input (boolean) |
1541 """ |
1542 """ |
1542 self.clientRawInput.emit(prompt, echo) |
1543 self.clientRawInput.emit(prompt, echo) |
1543 |
1544 |
1544 def signalClientBanner(self, version, platform, debugClient): |
1545 def signalClientBanner(self, version, platform, debugClient, venvName): |
1545 """ |
1546 """ |
1546 Public method to process the client banner info. |
1547 Public method to process the client banner info. |
1547 |
1548 |
1548 @param version interpreter version info (string) |
1549 @param version interpreter version info |
1549 @param platform hostname of the client (string) |
1550 @type str |
1550 @param debugClient additional debugger type info (string) |
1551 @param platform hostname of the client |
1551 """ |
1552 @type str |
1552 self.clientBanner.emit(version, platform, debugClient) |
1553 @param debugClient additional debugger type info |
1553 |
1554 @type str |
1554 def signalClientCapabilities(self, capabilities, clientType): |
1555 @param venvName name of the virtual environment |
|
1556 @type str |
|
1557 """ |
|
1558 self.clientBanner.emit(version, platform, debugClient, venvName) |
|
1559 |
|
1560 def signalClientCapabilities(self, capabilities, clientType, venvName): |
1555 """ |
1561 """ |
1556 Public method to process the client capabilities info. |
1562 Public method to process the client capabilities info. |
1557 |
1563 |
1558 @param capabilities bitmaks with the client capabilities (integer) |
1564 @param capabilities bitmaks with the client capabilities |
1559 @param clientType type of the debug client (string) |
1565 @type int |
|
1566 @param clientType type of the debug client |
|
1567 @type str |
|
1568 @param venvName name of the virtual environment |
|
1569 @type str |
1560 """ |
1570 """ |
1561 try: |
1571 try: |
1562 self.__debuggerInterfaceRegistry[clientType][0] = capabilities |
1572 self.__debuggerInterfaceRegistry[clientType][0] = capabilities |
1563 self.clientCapabilities.emit(capabilities, clientType) |
1573 self.clientCapabilities.emit(capabilities, clientType, venvName) |
1564 except KeyError: |
1574 except KeyError: |
1565 # ignore silently |
1575 # ignore silently |
1566 pass |
1576 pass |
1567 |
1577 |
1568 def signalClientCompletionList(self, completionList, text): |
1578 def signalClientCompletionList(self, completionList, text): |