diff --git a/src/plugins/debugger/breakbyfunction.ui b/src/plugins/debugger/breakbyfunction.ui deleted file mode 100644 index d6c045219c3..00000000000 --- a/src/plugins/debugger/breakbyfunction.ui +++ /dev/null @@ -1,58 +0,0 @@ - - - BreakByFunctionDialog - - - - 0 - 0 - 337 - 101 - - - - Set Breakpoint at Function - - - - 6 - - - 9 - - - - - - - Function to break on: - - - - - - - - - - - - Qt::Horizontal - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - diff --git a/src/plugins/debugger/breakwindow.cpp b/src/plugins/debugger/breakwindow.cpp index 5492691345d..0ff0a255a0d 100644 --- a/src/plugins/debugger/breakwindow.cpp +++ b/src/plugins/debugger/breakwindow.cpp @@ -111,26 +111,6 @@ public slots: }; -/////////////////////////////////////////////////////////////////////// -// -// BreakByFunctionDialog -// -/////////////////////////////////////////////////////////////////////// - -class BreakByFunctionDialog : public QDialog, Ui::BreakByFunctionDialog -{ -public: - explicit BreakByFunctionDialog(QWidget *parent) - : QDialog(parent) - { - setupUi(this); - connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept())); - connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject())); - } - QString functionName() const { return functionLineEdit->text(); } -}; - - /////////////////////////////////////////////////////////////////////// // // BreakWindow @@ -351,15 +331,9 @@ void BreakWindow::contextMenuEvent(QContextMenuEvent *ev) setBreakpointsFullPath(si, !fullpath); else if (act == addBreakpointAction) addBreakpoint(); - //else if (act == breakAtFunctionAction) { - // BreakByFunctionDialog dlg(this); - // if (dlg.exec()) - // setModelData(RequestBreakByFunctionRole, dlg.functionName()); - //} else if (act == breakAtMainAction) - // setModelData(RequestBreakByFunctionMainRole); - else if (act == breakAtThrowAction) + else if (act == breakAtThrowAction) setModelData(RequestBreakByFunctionRole, "__cxa_throw"); - else if (act == breakAtCatchAction) + else if (act == breakAtCatchAction) setModelData(RequestBreakByFunctionRole, "__cxa_begin_catch"); } diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro index f4ebe54f727..62035c48e69 100644 --- a/src/plugins/debugger/debugger.pro +++ b/src/plugins/debugger/debugger.pro @@ -95,7 +95,6 @@ SOURCES += breakhandler.cpp \ FORMS += attachexternaldialog.ui \ attachcoredialog.ui \ attachtcfdialog.ui \ - breakbyfunction.ui \ breakcondition.ui \ breakpoint.ui \ dumperoptionpage.ui \