diff --git a/src/plugins/debugger/breakbyfunction.ui b/src/plugins/debugger/breakbyfunction.ui deleted file mode 100644 index d6c045219c3f256eaf4e3e99afc3cc28c3bc1301..0000000000000000000000000000000000000000 --- a/src/plugins/debugger/breakbyfunction.ui +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ui version="4.0"> - <class>BreakByFunctionDialog</class> - <widget class="QDialog" name="BreakByFunctionDialog"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>337</width> - <height>101</height> - </rect> - </property> - <property name="windowTitle"> - <string>Set Breakpoint at Function</string> - </property> - <layout class="QVBoxLayout"> - <property name="spacing"> - <number>6</number> - </property> - <property name="margin"> - <number>9</number> - </property> - <item> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="QLabel" name="functionLabel"> - <property name="text"> - <string>Function to break on:</string> - </property> - </widget> - </item> - <item> - <widget class="QLineEdit" name="functionLineEdit"/> - </item> - </layout> - </item> - <item> - <widget class="Line" name="line"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - </widget> - </item> - <item> - <widget class="QDialogButtonBox" name="buttonBox"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="standardButtons"> - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> - </property> - </widget> - </item> - </layout> - </widget> - <resources/> - <connections/> -</ui> diff --git a/src/plugins/debugger/breakwindow.cpp b/src/plugins/debugger/breakwindow.cpp index 5492691345d87c683725b52d501fb7b83e55be11..0ff0a255a0d0bdf8299bd286edf5167a0471e908 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 f4ebe54f7270dd3bc87f6dfd0cdaa278c5c74853..62035c48e69301662c85194cd1d7c89c12509630 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 \