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

Method stopDocumentLineTracking

kdevplatform/debugger/breakpoint/breakpoint.cpp:337–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335}
336
337void Breakpoint::stopDocumentLineTracking()
338{
339 if (!m_movingCursor)
340 return;
341
342 // Remove the associated breakpoint mark.
343 {
344 const auto guard = m_model->markChangeGuard();
345 m_movingCursor->document()->removeMark(m_movingCursor->line(), BreakpointModel::AllBreakpointMarks);
346 }
347
348 removeMovingCursor();
349}
350
351void Breakpoint::removeMovingCursor()
352{

Callers 2

removeRowsMethod · 0.80

Calls 3

markChangeGuardMethod · 0.80
documentMethod · 0.45
lineMethod · 0.45

Tested by

no test coverage detected