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

Method sendFileBreakpoints

src/tools/ecode/plugins/debugger/debuggerplugin.cpp:1104–1122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1102}
1103
1104void DebuggerPlugin::sendFileBreakpoints( const std::string& filePath ) {
1105 if ( !mDebugger || !mListener || !mDebugger->isServerConnected() )
1106 return;
1107
1108 if ( !mListener->isStopped() ) {
1109 mPendingBreakpoints.insert( filePath );
1110 mListener->setPausedToRefreshBreakpoints();
1111 mDebugger->pause( 1 );
1112 return;
1113 }
1114
1115 {
1116 Lock l( mBreakpointsMutex );
1117 auto fileBps = mBreakpoints.find( filePath );
1118 if ( fileBps == mBreakpoints.end() )
1119 return;
1120 }
1121 mListener->sendBreakpoints();
1122}
1123
1124void DebuggerPlugin::updateDebuggerConfigurationList() {
1125 if ( nullptr == mUIDebuggerConfList )

Callers

nothing calls this directly

Calls 8

isServerConnectedMethod · 0.80
isStoppedMethod · 0.80
sendBreakpointsMethod · 0.80
insertMethod · 0.45
pauseMethod · 0.45
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected