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

Method fetchFrames

plugins/debuggercommon/miframestackmodel.cpp:151–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149};
150
151void MIFrameStackModel::fetchFrames(int threadNumber, int from, int to)
152{
153 //to+1 so we know if there are more
154 QString arg = QStringLiteral("%1 %2").arg(from).arg(to+1);
155 auto c = session()->createCommand(StackListFrames, arg);
156 c->setHandler(new FrameListHandler(this, threadNumber, to));
157 c->setThread(threadNumber);
158 session()->addCommand(std::move(c));
159}
160
161#include "moc_miframestackmodel.cpp"

Callers

nothing calls this directly

Calls 4

setThreadMethod · 0.80
setHandlerMethod · 0.60
addCommandMethod · 0.60
createCommandMethod · 0.45

Tested by

no test coverage detected