// Command interrupts, continues and steps through the program. func (s *RPCServer) Command(command api.DebuggerCommand, cb service.RPCCallback) { st, err := s.debugger.Command(&command) if err != nil { cb.Return(nil, err) return } var out CommandOut out.State = *st cb.Return(out, nil) return }
func (s *RPCServer) Command(command *api.DebuggerCommand, cb service.RPCCallback) { st, err := s.debugger.Command(command) cb.Return(st, err) }