| 1583 | |
| 1584 | |
| 1585 | bool LldbAdapter::SetProperty(const std::string& name, const Ref<Metadata>& value) |
| 1586 | { |
| 1587 | if (name == "current_platform") |
| 1588 | { |
| 1589 | if (value->IsString()) |
| 1590 | { |
| 1591 | auto platform = value->GetString(); |
| 1592 | if (!platform.empty()) |
| 1593 | { |
| 1594 | auto error = m_debugger.SetCurrentPlatform(platform.c_str()); |
| 1595 | if (error.Success()) |
| 1596 | return true; |
| 1597 | } |
| 1598 | } |
| 1599 | } |
| 1600 | else if (name == "current_process_plugin") |
| 1601 | { |
| 1602 | if (value->IsString()) |
| 1603 | { |
| 1604 | m_processPlugin = value->GetString(); |
| 1605 | return true; |
| 1606 | } |
| 1607 | } |
| 1608 | return false; |
| 1609 | } |
| 1610 | |
| 1611 | |
| 1612 | bool LldbAdapter::ConnectToDebugServer(const std::string& server, std::uint32_t port) |
nothing calls this directly
no outgoing calls
no test coverage detected