src/eric7/Debugger/CallTraceViewer.py

branch
eric7
changeset 10689
3ede487187f2
parent 10439
21c28b0f9e41
child 10806
2f6df822e3b9
equal deleted inserted replaced
10688:0d9853ceb288 10689:3ede487187f2
218 """ 218 """
219 if item is not None and column > 0: 219 if item is not None and column > 0:
220 columnStr = item.text(column) 220 columnStr = item.text(column)
221 match = self.__entryRe.fullmatch(columnStr.strip()) 221 match = self.__entryRe.fullmatch(columnStr.strip())
222 if match: 222 if match:
223 filename, lineno, func = match.groups() 223 filename, lineno, _func = match.groups()
224 try: 224 try:
225 lineno = int(lineno) 225 lineno = int(lineno)
226 except ValueError: 226 except ValueError:
227 # do nothing, if the line info is not an integer 227 # do nothing, if the line info is not an integer
228 return 228 return
319 @rtype bool 319 @rtype bool
320 """ 320 """
321 return self.__callTraceEnabled 321 return self.__callTraceEnabled
322 322
323 @pyqtSlot(str, int, str, bool, str) 323 @pyqtSlot(str, int, str, bool, str)
324 def __clientExit(self, program, status, message, quiet, debuggerId): 324 def __clientExit(self, _program, _status, _message, _quiet, debuggerId):
325 """ 325 """
326 Private slot to handle a debug client terminating. 326 Private slot to handle a debug client terminating.
327 327
328 @param program name of the exited program 328 @param _program name of the exited program (unused)
329 @type str 329 @type str
330 @param status exit code of the debugged program 330 @param _status exit code of the debugged program (unused)
331 @type int 331 @type int
332 @param message exit message of the debugged program 332 @param _message exit message of the debugged program (unused)
333 @type str 333 @type str
334 @param quiet flag indicating to suppress exit info display 334 @param _quiet flag indicating to suppress exit info display (unused)
335 @type bool 335 @type bool
336 @param debuggerId ID of the debugger backend 336 @param debuggerId ID of the debugger backend
337 @type str 337 @type str
338 """ 338 """
339 if debuggerId == self.__tracedDebuggerId: 339 if debuggerId == self.__tracedDebuggerId:

eric ide

mercurial