listBreakpointsBody = body.asListBreakpointsBody();
} catch (JsonProtocolParseException e) {
callback.failure(new Exception("Failed to read server response", e));
return;
}
List<BreakpointInfo> infos = listBreakpointsBody.breakpoints();
Collection<Breakpoint> updatedBreakpoints;
try {
updatedBreakpoints = syncBreakpoints(infos);
} catch (RuntimeException e) {
callback.failure(new Exception("Failed to read server response", e));