MCPcopy Create free account
hub / github.com/KDE/kdevelop / operator<<

Function operator<<

kdevplatform/debugger/interfaces/idebugsession.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20};
21
22QDebug operator<<(QDebug debug, const PrintPosition& p)
23{
24 const QDebugStateSaver saver(debug);
25 // IDebugSession::currentLine() is zero-based, so add 1 to print the conventional one-based line number.
26 debug.noquote().nospace() << p.url.toString(QUrl::PreferLocalFile) << ':' << p.line + 1 << ", addr: " << p.addr;
27 return debug;
28}
29} // unnamed namespace
30
31namespace KDevelop {

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected