Examples of DebugInfo


Examples of edu.cmu.cs.fusion.debugging.DebugInfo

    return null;
  }

  @Override
  public void refresh() {
    DebugInfo info = content.getInfo();

    String[] rels = info != null ? makeIntoRelArr(info.getRels()) : new String[] {};
    String[] aliases = info != null ? makeIntoPointerArr(info.getAliases()) : new String[] {};
    String[] labels = info != null ? makeIntoObjLabelArr(info.getAliases()) : new String[] {};
    String statement = info != null ? info.getStatement() : "-";

    relPane.setItems(rels);
    objPane.setItems(labels);
    aliasPane.setItems(aliases);
    statementLabel.setText(statement);
View Full Code Here

Examples of nexj.core.scripting.PCodeFunction.DebugInfo

       * @return Gets the line number if debug information available, or -1
       *         otherwise
       */
      public int getLine()
      {
         DebugInfo di = function.getDebugInfo();

         return (di == null) ? -1 : di.getLine(di.getPos(offset + 1));
      }
View Full Code Here

Examples of nexj.core.scripting.PCodeFunction.DebugInfo

      /**
       * @return Gets the URL if debug information available, or -1 otherwise
       */
      public String getURL()
      {
         DebugInfo di = function.getDebugInfo();

         return (di == null) ? null : di.getURL(di.getPos(offset + 1));
      }
View Full Code Here

Examples of org.apache.commons.jexl2.DebugInfo

        return null;
    }

    /** {@inheritDoc} */
    public String debugString() {
        DebugInfo info = debugInfo();
        return info != null ? info.debugString() : "";
    }
View Full Code Here

Examples of org.apache.commons.jexl2.DebugInfo

     * @param n the node
     * @throws ParseException
     */
    void jjtreeCloseNodeScope(JexlNode n) throws ParseException {
        if (n instanceof ASTAmbiguous && n.jjtGetNumChildren() > 0) {
            DebugInfo dbgInfo = null;
            Token tok = this.getToken(0);
            if (tok != null) {
                dbgInfo = new DebugInfo(tok.image, tok.beginLine, tok.beginColumn);
            } else {
                dbgInfo = n.debugInfo();
            }
            throw new JexlException.Parsing(dbgInfo, "Ambiguous statement, missing ';' between expressions", null);
        }
View Full Code Here

Examples of org.apache.commons.jexl2.DebugInfo

    }

    public Expression parse(String expressionString, int line, int column) throws ExpressionParsingException {
        org.apache.commons.jexl2.Expression compiledExpression;
        try {
            DebugInfo debug = new DebugInfo(expressionString, line, column);
            compiledExpression = engine.createExpression(expressionString, debug);
        } catch (JexlException e) {
            throw new ExpressionParsingException(line, column, expressionString, e);
        }
View Full Code Here

Examples of org.apache.isis.noa.util.DebugInfo


public class ShowDebugFrame {
    public static void main(final String[] args) {
        DebugFrame frame = new DebugFrame() {
            DebugInfo info1 = new DebugInfo() {
                public void debugData(final DebugString debug) {
                    debug.appendln("Debug data");
                }

                public String debugTitle() {
                    return "Debug title";
                }
            };

            DebugInfo info2 = new DebugInfo() {
                public void debugData(final DebugString debug) {
                    debug.appendln("Debug data 2");
                }

                public String debugTitle() {
                    return "Debug title 2";
                }
            };

            DebugInfo info3 = new DebugInfo() {
                public void debugData(final DebugString debug) {
                    debug.appendln("Debug data 3");
                }

                public String debugTitle() {
View Full Code Here

Examples of org.apache.ode.bpel.o.DebugInfo

    private DebugInfo createDebugInfo(BpelObject bpelObject, String description) {
        int lineNo = bpelObject == null ? -1 : bpelObject.getLineNo();
        String str = description == null && bpelObject != null ? bpelObject.toString() : null;
        Map<QName, Object> extElmt = bpelObject == null ? null : bpelObject.getExtensibilityElements();
        DebugInfo debugInfo = new DebugInfo(_processDef.getSource(), lineNo, extElmt);
        debugInfo.description = str;
        return debugInfo;
    }
View Full Code Here

Examples of org.apache.ode.bpel.o.DebugInfo

        OAssign oassign = (OAssign) dest;
        AssignActivity ad = (AssignActivity) source;
        for (Copy scopy : ad.getCopies()) {
            OAssign.Copy ocopy = new OAssign.Copy(_context.getOProcess());
            ocopy.keepSrcElementName = scopy.isKeepSrcElement();
            ocopy.debugInfo = new DebugInfo(_context.getSourceLocation(), scopy.getLineNo(),
                    source.getExtensibilityElements());
            try {
                if (scopy.getFrom() == null)
                    throw new CompilationException(__cmsgs.errMissingFromSpec().setSource(scopy));
                ocopy.from = compileFrom(scopy.getFrom());
View Full Code Here

Examples of org.apache.ode.bpel.o.DebugInfo

        OAssign oassign = (OAssign) dest;
        AssignActivity ad = (AssignActivity) source;
        for (Copy scopy : ad.getCopies()) {
            OAssign.Copy ocopy = new OAssign.Copy(_context.getOProcess());
            ocopy.keepSrcElementName = scopy.isKeepSrcElement();
            ocopy.debugInfo = new DebugInfo(_context.getSourceLocation(), scopy.getLineNo(),
                    source.getExtensibilityElements());
            try {
                if (scopy.getFrom() == null)
                    throw new CompilationException(__cmsgs.errMissingFromSpec().setSource(scopy));
                ocopy.from = compileFrom(scopy.getFrom());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.