Esempio n. 1
0
 async def debugserver_status(self) -> Optional[List[str]]:
     response = await self.debug_server(request=DebugServerRequest(
         status=DebugServerRequest.Status()))
     commands = response.status.lldb_bootstrap_commands
     return commands if commands else None
Esempio n. 2
0
 async def debugserver_stop(self) -> None:
     await self.debug_server(request=DebugServerRequest(
         stop=DebugServerRequest.Stop()))
Esempio n. 3
0
async def debugserver_stop(client: CompanionClient) -> None:
    await _unary(client=client,
                 request=DebugServerRequest(stop=DebugServerRequest.Stop()))
Esempio n. 4
0
 async def debugserver_start(self, bundle_id: str) -> List[str]:
     response = await self.debug_server(request=DebugServerRequest(
         start=DebugServerRequest.Start(bundle_id=bundle_id)))
     return response.status.lldb_bootstrap_commands
Esempio n. 5
0
async def debugserver_start(client: CompanionClient, bundle_id: str) -> List[str]:
    response = await _unary(
        client=client,
        request=DebugServerRequest(start=DebugServerRequest.Start(bundle_id=bundle_id)),
    )
    return response.status.lldb_bootstrap_commands