Package org.intellij.erlang.debugger.remote

Examples of org.intellij.erlang.debugger.remote.ErlangRemoteDebugRunConfiguration


    Process process = commandLine.createProcess();
    myErlangProcessHandler = new OSProcessHandler(process, commandLine.getCommandLineString());
    getSession().getConsoleView().attachToProcess(myErlangProcessHandler);
    myErlangProcessHandler.startNotify();
    if (runningState instanceof ErlangRemoteDebugRunningState) {
      ErlangRemoteDebugRunConfiguration runConfiguration = (ErlangRemoteDebugRunConfiguration) getRunConfiguration();
      if (StringUtil.isEmptyOrSpaces(runConfiguration.getErlangNode())) {
        throw new ExecutionException("Bad run configuration: remote Erlang node is not specified.");
      }
      myDebuggerNode.debugRemoteNode(runConfiguration.getErlangNode(), runConfiguration.getCookie());
    }
    else {
      ErlangRunningState.ErlangEntryPoint entryPoint = runningState.getDebugEntryPoint();
      myDebuggerNode.runDebugger(entryPoint.getModuleName(), entryPoint.getFunctionName(), entryPoint.getArgsList());
    }
View Full Code Here

TOP

Related Classes of org.intellij.erlang.debugger.remote.ErlangRemoteDebugRunConfiguration

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.