Debugger/EditBreakpointDialog.py

changeset 2988
f53c03574697
parent 2953
703452a2876f
child 3057
10516539f238
child 3160
209a07d7e401
equal deleted inserted replaced
2987:c99695c0f13a 2988:f53c03574697
149 def getAddData(self): 149 def getAddData(self):
150 """ 150 """
151 Public method to retrieve the entered data for an add. 151 Public method to retrieve the entered data for an add.
152 152
153 @return a tuple containing the new breakpoints properties 153 @return a tuple containing the new breakpoints properties
154 (filename, lineno, condition, temporary flag, enabled flag, ignore count) 154 (filename, lineno, condition, temporary flag, enabled flag,
155 ignore count)
155 """ 156 """
156 fn = self.filenameCombo.currentText() 157 fn = self.filenameCombo.currentText()
157 if not fn: 158 if not fn:
158 fn = None 159 fn = None
159 else: 160 else:
160 fn = os.path.expanduser(os.path.expandvars(fn)) 161 fn = os.path.expanduser(os.path.expandvars(fn))
161 162
162 return (fn, self.linenoSpinBox.value(), 163 return (fn, self.linenoSpinBox.value(),
163 self.conditionCombo.currentText(), 164 self.conditionCombo.currentText(),
164 self.temporaryCheckBox.isChecked(), self.enabledCheckBox.isChecked(), 165 self.temporaryCheckBox.isChecked(),
166 self.enabledCheckBox.isChecked(),
165 self.ignoreSpinBox.value()) 167 self.ignoreSpinBox.value())

eric ide

mercurial