132 @param params dictionary containing the reply data |
132 @param params dictionary containing the reply data |
133 @type dict |
133 @type dict |
134 """ |
134 """ |
135 self.debugClientDisconnected.emit(params["debugger_id"]) |
135 self.debugClientDisconnected.emit(params["debugger_id"]) |
136 |
136 |
137 def __handleLastDbgClientExited(self, params): # noqa: U100 |
137 def __handleLastDbgClientExited(self, params): # noqa: U-100 |
138 """ |
138 """ |
139 Private method to handle a report of the eric-ide server, that the last |
139 Private method to handle a report of the eric-ide server, that the last |
140 debug client has disconnected. |
140 debug client has disconnected. |
141 |
141 |
142 @param params dictionary containing the reply data |
142 @param params dictionary containing the reply data |
143 @type dict |
143 @type dict |
144 """ |
144 """ |
145 self.__clientStarted = False |
145 self.__clientStarted = False |
146 self.lastClientExited.emit() |
146 self.lastClientExited.emit() |
147 |
147 |
148 def __handleMainClientExited(self, params): # noqa: U100 |
148 def __handleMainClientExited(self, params): # noqa: U-100 |
149 """ |
149 """ |
150 Private method to handle the main client exiting. |
150 Private method to handle the main client exiting. |
151 |
151 |
152 @param params dictionary containing the reply data |
152 @param params dictionary containing the reply data |
153 @type dict |
153 @type dict |
205 Public method to stop the debug client synchronously. |
205 Public method to stop the debug client synchronously. |
206 """ |
206 """ |
207 if self.__serverInterface.isServerConnected() and self.__clientStarted: |
207 if self.__serverInterface.isServerConnected() and self.__clientStarted: |
208 loop = QEventLoop() |
208 loop = QEventLoop() |
209 |
209 |
210 def callback(reply, params): # noqa: U100 |
210 def callback(reply, params): # noqa: U-100 |
211 """ |
211 """ |
212 Function to handle the server reply |
212 Function to handle the server reply |
213 |
213 |
214 @param reply name of the server reply |
214 @param reply name of the server reply |
215 @type str |
215 @type str |