Package com.intellij.xdebugger

Examples of com.intellij.xdebugger.XSourcePosition


    myDebuggerNode.removeBreakpoint(breakpointPosition.getErlangModuleName(), breakpointPosition.getLine());
  }

  @Nullable
  private static ErlangSourcePosition getErlangSourcePosition(XLineBreakpoint<ErlangLineBreakpointProperties> breakpoint) {
    XSourcePosition sourcePosition = breakpoint.getSourcePosition();
    return sourcePosition != null ? ErlangSourcePosition.create(sourcePosition) : null;
  }
View Full Code Here


  @Nullable
  public static ErlangSourcePosition create(@NotNull Project project, @NotNull String module, int line) {
    ErlangFile file = ErlangModulesUtil.getErlangModuleFile(project, module);
    VirtualFile moduleFile = file != null ? file.getVirtualFile() : null;
    XSourcePosition sourcePosition = XDebuggerUtil.getInstance().createPosition(moduleFile, line);
    return sourcePosition != null ? new ErlangSourcePosition(sourcePosition) : null;
  }
View Full Code Here

      functionArity = arity;
      funExpressionName = null;
      funExpressionArity = -1;
    }

    XSourcePosition position = ApplicationManager.getApplication().runReadAction(new Computable<XSourcePosition>() {
      @Nullable
      @Override
      public XSourcePosition compute() {
        ErlangFile erlangModule = ErlangModulesUtil.getErlangModuleFile(project, module);
        if (erlangModule == null) return null;
View Full Code Here

TOP

Related Classes of com.intellij.xdebugger.XSourcePosition

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.