eric7/Debugger/DebugUI.py

branch
eric7
changeset 8322
b422b4e77d19
parent 8318
962bce857696
child 8336
d566c2970f39
equal deleted inserted replaced
8319:ea11a3948f40 8322:b422b4e77d19
1260 if Preferences.getDebugger("BreakAlways"): 1260 if Preferences.getDebugger("BreakAlways"):
1261 res = E5MessageBox.Yes 1261 res = E5MessageBox.Yes
1262 else: 1262 else:
1263 if stackTrace: 1263 if stackTrace:
1264 if exceptionType.startswith('unhandled'): 1264 if exceptionType.startswith('unhandled'):
1265 buttons = E5MessageBox.StandardButtons( 1265 buttons = E5MessageBox.No | E5MessageBox.Yes
1266 E5MessageBox.No |
1267 E5MessageBox.Yes)
1268 else: 1266 else:
1269 buttons = E5MessageBox.StandardButtons( 1267 buttons = (E5MessageBox.No |
1270 E5MessageBox.No | 1268 E5MessageBox.Yes |
1271 E5MessageBox.Yes | 1269 E5MessageBox.Ignore)
1272 E5MessageBox.Ignore)
1273 res = E5MessageBox.critical( 1270 res = E5MessageBox.critical(
1274 self.ui, Program, 1271 self.ui, Program,
1275 self.tr( 1272 self.tr(
1276 '<p>The debugged program raised the exception' 1273 '<p>The debugged program raised the exception'
1277 ' <b>{0}</b><br>"<b>{1}</b>"<br>' 1274 ' <b>{0}</b><br>"<b>{1}</b>"<br>'

eric ide

mercurial