| 1102 | } |
| 1103 | |
| 1104 | void 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 | |
| 1124 | void DebuggerPlugin::updateDebuggerConfigurationList() { |
| 1125 | if ( nullptr == mUIDebuggerConfList ) |
nothing calls this directly
no test coverage detected