MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / update

Method update

src/plugins/debugger/breakpoint.cpp:14–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14void Breakpoint::update(dap::Breakpoint &bp)
15{
16 if (bp.source.has_value() && bp.source.value().name.has_value()
17 && bp.source.value().path.has_value()) {
18 fileName = bp.source.value().name.value().c_str();
19 filePath = bp.source.value().path.value().c_str();
20 }
21
22 if (bp.line.has_value()) {
23 lineNumber = static_cast<int>(bp.line.value());
24 }
25}
26} // end namespace.

Callers 15

InvalidateAllMethod · 0.45
InvalidateRectangleMethod · 0.45
onSelectionChangedMethod · 0.45
paintEventMethod · 0.45
processTagsMethod · 0.45
commitChangesMethod · 0.45
updateLineNumberAreaMethod · 0.45
refreshViewMethod · 0.45
config_toolFunction · 0.45
merge_dictsFunction · 0.45
updateRequestMethod · 0.45

Calls 3

has_valueMethod · 0.80
c_strMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected