@NotNull
  private static Map<Integer, TraceElement> resolveTrace(@NotNull ArrayReference mapArray) {
    final Value keys = mapArray.getValue(0);
    final Value values = mapArray.getValue(1);
    if (keys instanceof ArrayReference && values instanceof ArrayReference) {
      return resolveTrace((ArrayReference)keys, (ArrayReference)values);
    }

    throw new UnexpectedValueException("keys and values must be stored in arrays in peek resolver");
  }
@NotNull
  private static Map<Integer, TraceElement> resolveTrace(@NotNull ArrayReference mapArray)