MCPcopy Create free account
hub / github.com/Vector35/debugger / updateContent

Method updateContent

ui/breakpointswidget.cpp:393–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391
392
393void DebugBreakpointsWidget::updateContent()
394{
395 std::vector<DebugBreakpoint> breakpoints = m_controller->GetBreakpoints();
396
397 std::vector<BreakpointItem> bps;
398 for (const DebugBreakpoint& bp : breakpoints)
399 {
400 ModuleNameAndOffset info;
401 info.module = bp.module;
402 info.offset = bp.offset;
403 bps.emplace_back(bp.enabled, info, bp.address);
404 }
405
406 m_model->updateRows(bps);
407}

Callers

nothing calls this directly

Calls 2

GetBreakpointsMethod · 0.45
updateRowsMethod · 0.45

Tested by

no test coverage detected