static void storeClassForDebug()

in src/main/java/com/intellij/rt/debugger/agent/CaptureAgent.java [122:137]


  static void storeClassForDebug(String className, byte[] bytes) {
    if (CaptureStorage.DEBUG) {
      try {
        FileOutputStream stream = new FileOutputStream("instrumented_" + className.replaceAll("/", "_") + ".class");
        try {
          stream.write(bytes);
        }
        finally {
          stream.close();
        }
      }
      catch (IOException e) {
        e.printStackTrace();
      }
    }
  }