| 257 | |
| 258 | |
| 259 | bool DebugControlsWidget::canExec() |
| 260 | { |
| 261 | auto currentAdapter = m_controller->GetAdapterType(); |
| 262 | if (currentAdapter == "") |
| 263 | return false; |
| 264 | auto adapter = DebugAdapterType::GetByName(currentAdapter); |
| 265 | if (!adapter) |
| 266 | return false; |
| 267 | return adapter->CanExecute(m_controller->GetData()); |
| 268 | } |
| 269 | |
| 270 | |
| 271 | bool DebugControlsWidget::canConnect() |
nothing calls this directly
no test coverage detected