MCPcopy Create free account
hub / github.com/SpartanJ/eepp / enable

Method enable

src/tools/ecode/plugins/debugger/models/breakpointsmodel.cpp:96–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void BreakpointsModel::enable( const std::string& filePath,
97 const SourceBreakpointStateful& breakpoint, bool enable ) {
98 Lock l( mResourceLock );
99 auto found = std::find( mBreakpoints.begin(), mBreakpoints.end(),
100 std::make_pair( filePath, breakpoint ) );
101 if ( found != mBreakpoints.end() ) {
102 found->second.enabled = enable;
103 invalidate( Model::UpdateFlag::DontInvalidateIndexes );
104 }
105}
106
107void BreakpointsModel::move( const std::string& doc, Int64 fromLine, Int64 toLine,
108 Int64 numLines ) {

Callers 1

breakpointSetEnabledMethod · 0.45

Calls 3

findFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected