| 103 | } |
| 104 | |
| 105 | bool DebuggerClientDap::isServerConnected() const { |
| 106 | if ( !mSessions.empty() ) { |
| 107 | auto sessionIt = mSessions.find( mCurrentSessionId ); |
| 108 | if ( sessionIt != mSessions.end() && sessionIt->second.bus ) |
| 109 | return sessionIt->second.bus->state() == Bus::State::Running; |
| 110 | } |
| 111 | return false; |
| 112 | } |
| 113 | |
| 114 | bool DebuggerClientDap::supportsTerminateRequest() const { |
| 115 | return mAdapterCapabilities.supportsTerminateRequest; |
no test coverage detected