debugger: move isCppBreakpoint to Breakpoint

Change-Id: I241401fa010166982e5a95a699c99fbaa87188ef
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-01-24 16:41:30 +01:00
committed by hjk
parent 983a6ef506
commit 7201923562
7 changed files with 19 additions and 19 deletions

View File

@@ -1634,20 +1634,6 @@ void DebuggerEngine::showStoppedByExceptionMessageBox(const QString &description
showMessageBox(QMessageBox::Information, tr("Exception Triggered"), msg);
}
bool DebuggerEngine::isCppBreakpoint(const BreakpointParameters &p)
{
//Qml specific breakpoint types
if (p.type == BreakpointAtJavaScriptThrow
|| p.type == BreakpointOnQmlSignalHandler)
return false;
// Qml is currently only file
if (p.type != BreakpointByFileAndLine)
return true;
return !p.fileName.endsWith(QLatin1String(".qml"), Qt::CaseInsensitive)
&& !p.fileName.endsWith(QLatin1String(".js"), Qt::CaseInsensitive);
}
void DebuggerEngine::openMemoryView(quint64 startAddr, unsigned flags,
const QList<MemoryMarkup> &ml, const QPoint &pos,
const QString &title, QWidget *parent)