src/eric7/Debugger/DebugUI.py

branch
eric7
changeset 10683
779cda568acb
parent 10540
7631c0ba2877
child 10689
3ede487187f2
equal deleted inserted replaced
10682:47be220abdaf 10683:779cda568acb
1276 @param debuggerId ID of the debugger backend 1276 @param debuggerId ID of the debugger backend
1277 @type str 1277 @type str
1278 """ 1278 """
1279 self.__clientDebuggerIds.add(debuggerId) 1279 self.__clientDebuggerIds.add(debuggerId)
1280 1280
1281 def __clientLine(self, fn, line, debuggerId, threadName, forStack): # noqa: U100 1281 def __clientLine(self, fn, line, debuggerId, _threadName, forStack):
1282 """ 1282 """
1283 Private method to handle a change to the current line. 1283 Private method to handle a change to the current line.
1284 1284
1285 @param fn filename 1285 @param fn filename
1286 @type str 1286 @type str
1287 @param line linenumber 1287 @param line linenumber
1288 @type int 1288 @type int
1289 @param debuggerId ID of the debugger backend 1289 @param debuggerId ID of the debugger backend
1290 @type str 1290 @type str
1291 @param threadName name of the thread signaling the event 1291 @param _threadName name of the thread signaling the event (unused)
1292 @type str 1292 @type str
1293 @param forStack flag indicating this is for a stack dump 1293 @param forStack flag indicating this is for a stack dump
1294 @type bool 1294 @type bool
1295 """ 1295 """
1296 self.ui.raise_() 1296 self.ui.raise_()
1543 self.debugActions[self.lastAction](debuggerId) 1543 self.debugActions[self.lastAction](debuggerId)
1544 else: 1544 else:
1545 self.__continue(debuggerId) 1545 self.__continue(debuggerId)
1546 1546
1547 def __clientSignal( 1547 def __clientSignal(
1548 self, message, filename, lineNo, funcName, funcArgs, debuggerId # noqa: U100 1548 self, message, filename, lineNo, _funcName, _funcArgs, _debuggerId
1549 ): 1549 ):
1550 """ 1550 """
1551 Private method to handle a signal generated on the client side. 1551 Private method to handle a signal generated on the client side.
1552 1552
1553 @param message message of the syntax error 1553 @param message message of the syntax error
1554 @type str 1554 @type str
1555 @param filename translated filename of the syntax error position 1555 @param filename translated filename of the syntax error position
1556 @type str 1556 @type str
1557 @param lineNo line number of the syntax error position 1557 @param lineNo line number of the syntax error position
1558 @type int 1558 @type int
1559 @param funcName name of the function causing the signal 1559 @param _funcName name of the function causing the signal (unused)
1560 @type str 1560 @type str
1561 @param funcArgs function arguments 1561 @param _funcArgs function arguments (unused)
1562 @type str 1562 @type str
1563 @param debuggerId ID of the debugger backend 1563 @param _debuggerId ID of the debugger backend (unused)
1564 @type str 1564 @type str
1565 """ 1565 """
1566 self.ui.raise_() 1566 self.ui.raise_()
1567 self.ui.activateWindow() 1567 self.ui.activateWindow()
1568 QApplication.processEvents() 1568 QApplication.processEvents()
1679 @param debuggerId ID of the debugger backend 1679 @param debuggerId ID of the debugger backend
1680 @type str 1680 @type str
1681 """ 1681 """
1682 self.debugServer.remoteClientDisassembly(debuggerId) 1682 self.debugServer.remoteClientDisassembly(debuggerId)
1683 1683
1684 def __clientBreakConditionError(self, filename, lineno, debuggerId): # noqa: U100 1684 def __clientBreakConditionError(self, filename, lineno, _debuggerId):
1685 """ 1685 """
1686 Private method to handle a condition error of a breakpoint. 1686 Private method to handle a condition error of a breakpoint.
1687 1687
1688 @param filename filename of the breakpoint 1688 @param filename filename of the breakpoint
1689 @type str 1689 @type str
1690 @param lineno line umber of the breakpoint 1690 @param lineno line umber of the breakpoint
1691 @type int 1691 @type int
1692 @param debuggerId ID of the debugger backend 1692 @param _debuggerId ID of the debugger backend (unused)
1693 @type str 1693 @type str
1694 """ 1694 """
1695 from .EditBreakpointDialog import EditBreakpointDialog 1695 from .EditBreakpointDialog import EditBreakpointDialog
1696 1696
1697 EricMessageBox.critical( 1697 EricMessageBox.critical(
1737 Preferences.Prefs.rsettings.setValue( 1737 Preferences.Prefs.rsettings.setValue(
1738 recentNameBreakpointConditions, condHistory 1738 recentNameBreakpointConditions, condHistory
1739 ) 1739 )
1740 Preferences.Prefs.rsettings.sync() 1740 Preferences.Prefs.rsettings.sync()
1741 1741
1742 def __clientWatchConditionError(self, cond, debuggerId): # noqa: U100 1742 def __clientWatchConditionError(self, cond, _debuggerId):
1743 """ 1743 """
1744 Private method to handle a expression error of a watch expression. 1744 Private method to handle a expression error of a watch expression.
1745 1745
1746 Note: This can only happen for normal watch expressions 1746 Note: This can only happen for normal watch expressions
1747 1747
1748 @param cond expression of the watch expression 1748 @param cond expression of the watch expression
1749 @type str 1749 @type str
1750 @param debuggerId ID of the debugger backend 1750 @param _debuggerId ID of the debugger backend (unused)
1751 @type str 1751 @type str
1752 """ 1752 """
1753 from .EditWatchpointDialog import EditWatchpointDialog 1753 from .EditWatchpointDialog import EditWatchpointDialog
1754 1754
1755 EricMessageBox.critical( 1755 EricMessageBox.critical(

eric ide

mercurial