eric6/Debugger/DebugViewer.py

branch
multi_processing
changeset 7407
a0b6acee2c20
parent 7405
bf6be3cff6cf
child 7410
401791e6f50f
equal deleted inserted replaced
7405:bf6be3cff6cf 7407:a0b6acee2c20
63 self.debugUI = None 63 self.debugUI = None
64 64
65 self.setWindowIcon(UI.PixmapCache.getIcon("eric")) 65 self.setWindowIcon(UI.PixmapCache.getIcon("eric"))
66 66
67 self.__mainLayout = QVBoxLayout() 67 self.__mainLayout = QVBoxLayout()
68 self.__mainLayout.setContentsMargins(0, 0, 0, 0) 68 self.__mainLayout.setContentsMargins(0, 3, 0, 0)
69 self.setLayout(self.__mainLayout) 69 self.setLayout(self.__mainLayout)
70 70
71 # add the viewer showing the connected debug backends 71 # add the viewer showing the connected debug backends
72 self.__debuggersLayout = QHBoxLayout() 72 self.__debuggersLayout = QHBoxLayout()
73 self.__debuggersLayout.addWidget(QLabel(self.tr("Debuggers:"))) 73 self.__debuggersLayout.addWidget(QLabel(self.tr("Debuggers:")))
430 @param line linenumber 430 @param line linenumber
431 @type int 431 @type int
432 @param debuggerId ID of the debugger backend 432 @param debuggerId ID of the debugger backend
433 @type str 433 @type str
434 """ 434 """
435 self.__setDebuggerIconAndState(debuggerId, "mediaPlaybackPause", "broken") 435 self.__setDebuggerIconAndState(debuggerId, "mediaPlaybackPause",
436 "broken")
436 437
437 def __clientSyntaxError(self, message, filename, lineNo, characterNo, 438 def __clientSyntaxError(self, message, filename, lineNo, characterNo,
438 debuggerId): 439 debuggerId):
439 """ 440 """
440 Private method to handle a syntax error in the debugged program. 441 Private method to handle a syntax error in the debugged program.
448 @param characterNo character number of the syntax error position 449 @param characterNo character number of the syntax error position
449 @type int 450 @type int
450 @param debuggerId ID of the debugger backend 451 @param debuggerId ID of the debugger backend
451 @type str 452 @type str
452 """ 453 """
453 self.__setDebuggerIconAndState(debuggerId, "syntaxError22", "exception") 454 self.__setDebuggerIconAndState(debuggerId, "syntaxError22",
455 "exception")
454 456
455 def __clientException(self, exceptionType, exceptionMessage, stackTrace, 457 def __clientException(self, exceptionType, exceptionMessage, stackTrace,
456 debuggerId): 458 debuggerId):
457 """ 459 """
458 Private method to handle an exception of the debugged program. 460 Private method to handle an exception of the debugged program.

eric ide

mercurial