Package com.google.code.vimsztool.debug

Examples of com.google.code.vimsztool.debug.BreakpointManager


  public void refreshClassInfo(List<String> classNames) {
   
    if (loader == null) return;
    URL[] urls = loader.getURLs();
    loader = new ReflectAbleClassLoader(urls, this.getClass().getClassLoader());
    BreakpointManager bpmgr = BreakpointManager.getInstance();
   
    for (String className : classNames ) {
      packageInfo.addClassNameToCache(className);
      packageInfo.addClasstoDstClass(className);
      String classPath = getOutputDir() + "/" + className.replace('.', '/') + ".class";
      File outFile = new File(classPath);
      classMetaInfoManager.loadSingleMetaInfo(outFile);
      bpmgr.verifyBreakpoint(className);
    }
    classMetaInfoManager.constructAllSubNames();
  }
View Full Code Here


  }
 
  private void hotSwapClass(CompileResultInfo resultInfo) {
   
    Debugger debugger = Debugger.getInstance();
    BreakpointManager bpm = BreakpointManager.getInstance();
    List<String[]> outputs = resultInfo.getOutputInfo();
    for (String[] names : outputs) {
      String className = names[0];
      String outputPath = names[1];
      HotSwapUtil.replace(debugger, new File(outputPath), className);
      bpm.tryResetBreakpointRequest(className);
    }
   
  }
View Full Code Here

TOP

Related Classes of com.google.code.vimsztool.debug.BreakpointManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.