MCPcopy Create free account
hub / github.com/KDE/kdevelop / addCodeBreakpoint

Method addCodeBreakpoint

kdevplatform/debugger/breakpoint/breakpointmodel.cpp:803–811  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801}
802
803Breakpoint* BreakpointModel::addCodeBreakpoint()
804{
805 Q_D(BreakpointModel);
806
807 beginInsertRows(QModelIndex(), d->breakpoints.count(), d->breakpoints.count());
808 auto* n = new Breakpoint(this, Breakpoint::CodeBreakpoint);
809 endInsertRows();
810 return n;
811}
812
813Breakpoint* BreakpointModel::addCodeBreakpoint(const QUrl& url, int line)
814{

Calls 4

setExpressionMethod · 0.80
QModelIndexClass · 0.70
countMethod · 0.45
setLocationMethod · 0.45