src/eric7/Debugger/DebugViewer.py

branch
eric7
changeset 10065
de4ae767b0e3
parent 9653
e67609152c5e
child 10285
654deae7687e
equal deleted inserted replaced
10064:8c3207703dac 10065:de4ae767b0e3
532 # just show base filename to make it readable 532 # just show base filename to make it readable
533 s = (os.path.basename(s[0]), s[1], s[2]) 533 s = (os.path.basename(s[0]), s[1], s[2])
534 self.lvvStackComboBox.addItem("{0}:{1}:{2}".format(*s)) 534 self.lvvStackComboBox.addItem("{0}:{1}:{2}".format(*s))
535 self.lvvStackComboBox.blockSignals(block) 535 self.lvvStackComboBox.blockSignals(block)
536 536
537 def __clientLine(self, fn, line, debuggerId, threadName): 537 def __clientLine(self, fn, line, debuggerId, threadName): # noqa: U100
538 """ 538 """
539 Private method to handle a change to the current line. 539 Private method to handle a change to the current line.
540 540
541 @param fn filename 541 @param fn filename
542 @type str 542 @type str
581 self.__clearStackComboBox(self.lvvStackComboBox) 581 self.__clearStackComboBox(self.lvvStackComboBox)
582 582
583 self.__removeDebugger(debuggerId) 583 self.__removeDebugger(debuggerId)
584 584
585 def __clientSyntaxError( 585 def __clientSyntaxError(
586 self, message, filename, lineNo, characterNo, debuggerId, threadName 586 self,
587 message, # noqa: U100
588 filename, # noqa: U100
589 lineNo, # noqa: U100
590 characterNo, # noqa: U100
591 debuggerId,
592 threadName,
587 ): 593 ):
588 """ 594 """
589 Private method to handle a syntax error in the debugged program. 595 Private method to handle a syntax error in the debugged program.
590 596
591 @param message message of the syntax error 597 @param message message of the syntax error
603 """ 609 """
604 self.__setDebuggerIconAndState(debuggerId, "syntax") 610 self.__setDebuggerIconAndState(debuggerId, "syntax")
605 self.__setThreadIconAndState(debuggerId, threadName, "syntax") 611 self.__setThreadIconAndState(debuggerId, threadName, "syntax")
606 612
607 def __clientException( 613 def __clientException(
608 self, exceptionType, exceptionMessage, stackTrace, debuggerId, threadName 614 self,
615 exceptionType, # noqa: U100
616 exceptionMessage, # noqa: U100
617 stackTrace, # noqa: U100
618 debuggerId,
619 threadName,
609 ): 620 ):
610 """ 621 """
611 Private method to handle an exception of the debugged program. 622 Private method to handle an exception of the debugged program.
612 623
613 @param exceptionType type of exception raised 624 @param exceptionType type of exception raised
751 @type int 762 @type int
752 """ 763 """
753 if frameNo >= 0: 764 if frameNo >= 0:
754 self.lvvStackComboBox.setCurrentIndex(frameNo) 765 self.lvvStackComboBox.setCurrentIndex(frameNo)
755 766
756 def __debuggerSelected(self, current, previous): 767 def __debuggerSelected(self, current, previous): # noqa: U100
757 """ 768 """
758 Private slot to handle the selection of a debugger backend in the 769 Private slot to handle the selection of a debugger backend in the
759 debuggers list. 770 debuggers list.
760 771
761 @param current reference to the new current item 772 @param current reference to the new current item

eric ide

mercurial