debugger: add a 'break at main' checkbox in the 'start and debug external' dialog

This commit is contained in:
hjk
2009-06-12 12:57:22 +02:00
parent 94b1b1fd7b
commit b052ce2c21
8 changed files with 57 additions and 24 deletions

View File

@@ -168,13 +168,8 @@ void BreakWindow::contextMenuEvent(QContextMenuEvent *ev)
BreakByFunctionDialog dlg(this);
if (dlg.exec())
emit breakByFunctionRequested(dlg.functionName());
} else if (act == act8) {
#ifdef Q_OS_WIN
emit breakByFunctionRequested("qMain");
#else
emit breakByFunctionRequested("main");
#endif
}
} else if (act == act8)
emit breakByFunctionMainRequested();
}
void BreakWindow::deleteBreakpoint(const QModelIndex &idx)