forked from qt-creator/qt-creator
Debugger[CDB]: Refactor breakpoint handling.
Add a command to list breakpoints enabling id access. Implemented breakpoint handling similar to gdb using breakpoint ids (no longer delete and re-set all breakpoints on a change). Save the module that is reported back in the session so that it can be re-used for the next start. Keep a per-debugger-session cache of fileName->Module for adding breakpoints to accelerate setting breakpoints in the same file. Polish the breakpoint tooltip.
This commit is contained in:
@@ -117,6 +117,12 @@ BreakpointDialog::BreakpointDialog(QWidget *parent)
|
||||
connect(m_ui.comboBoxType, SIGNAL(activated(int)), SLOT(typeChanged(int)));
|
||||
m_ui.lineEditIgnoreCount->setValidator(
|
||||
new QIntValidator(0, 2147483647, m_ui.lineEditIgnoreCount));
|
||||
const QString moduleToolTip =
|
||||
tr("Specifying the module (base name of the library or executable)\n"
|
||||
"for function or file type breakpoints can significantly speed up\n"
|
||||
"debugger start-up times (CDB, LLDB).");
|
||||
m_ui.labelModule->setToolTip(moduleToolTip);
|
||||
m_ui.lineEditModule->setToolTip(moduleToolTip);
|
||||
}
|
||||
|
||||
void BreakpointDialog::setType(BreakpointType type)
|
||||
|
||||
Reference in New Issue
Block a user