1213 stack = [] |
1213 stack = [] |
1214 for fn, ln, func, args in stackTrace: |
1214 for fn, ln, func, args in stackTrace: |
1215 stack.append((fn, ln, func, args)) |
1215 stack.append((fn, ln, func, args)) |
1216 self.clientStack.emit(stack) |
1216 self.clientStack.emit(stack) |
1217 self.__getClientVariables() |
1217 self.__getClientVariables() |
|
1218 self.__getClientDisassembly() |
1218 self.ui.setDebugProfile() |
1219 self.ui.setDebugProfile() |
1219 self.debugActGrp.setEnabled(True) |
1220 self.debugActGrp.setEnabled(True) |
1220 return |
1221 return |
1221 elif res == E5MessageBox.Ignore: |
1222 elif res == E5MessageBox.Ignore: |
1222 if exceptionType not in self.excIgnoreList: |
1223 if exceptionType not in self.excIgnoreList: |
1324 self.ui.activateDebugViewer() |
1325 self.ui.activateDebugViewer() |
1325 if scope == 1: |
1326 if scope == 1: |
1326 self.debugViewer.showVariable(variables, True) |
1327 self.debugViewer.showVariable(variables, True) |
1327 elif scope == 0: |
1328 elif scope == 0: |
1328 self.debugViewer.showVariable(variables, False) |
1329 self.debugViewer.showVariable(variables, False) |
1329 |
1330 |
|
1331 def __getClientDisassembly(self): |
|
1332 """ |
|
1333 Private method to ask the client for the latest traceback disassembly. |
|
1334 """ |
|
1335 self.debugServer.remoteClientDisassembly() |
|
1336 |
1330 def __clientBreakConditionError(self, filename, lineno): |
1337 def __clientBreakConditionError(self, filename, lineno): |
1331 """ |
1338 """ |
1332 Private method to handle a condition error of a breakpoint. |
1339 Private method to handle a condition error of a breakpoint. |
1333 |
1340 |
1334 @param filename filename of the breakpoint (string) |
1341 @param filename filename of the breakpoint (string) |