Examples of debug()


Examples of com.volantis.mcs.dom.debug.DebugDocument.debug()

            // Log the entire dom and current element every time through here.
            // This makes it *much* easier to find bugs in here.
            if (logger.isDebugEnabled()) {
                DebugDocument debug = new DebugDocument();
                if (document != null) {
                    logger.debug("ENTIRE DOM:\n" + debug.debug(document));
                }
                logger.debug("THIS ELEMENT:\n" + debug.debug(element));
            }

            // We mark this element as visited so that we know not to re-visit
View Full Code Here

Examples of com.volantis.mcs.dom.debug.DebugStyledDocument.debug()

                         new MutableStylePropertySetImpl();
        interesting.add(StylePropertyDetails.WIDTH);
        DebugStyledDocument debugStyledDocument;

        debugStyledDocument = new DebugStyledDocument(interesting);
        String before = debugStyledDocument.debug(document);

        document = transformer.transform(protocolMock, document);

        debugStyledDocument = new DebugStyledDocument(interesting);
        String after = debugStyledDocument.debug(document);
View Full Code Here

Examples of com.voyagegames.core.json.JsonObject.debug()

     
      assertTrue(mqdj.info != null);
      assertTrue(mqdj.route != null);
    } catch (final Exception e) {
      log.log(TAG, e.toString(), e);
      log.log(TAG, obj.debug());
      fail("Unexpected exception");
    }
  }
 
  private static final String TEST_VALUE =
View Full Code Here

Examples of edu.brown.costmodel.SingleSitedCostModel.TransactionCacheEntry.debug()

                // nothing
                if (txn_entry.isSinglePartitioned()) {
                    singlepartition_ctrs[i] += txn_weight;
                    if (!partitions.isEmpty()) {
                        assert (txn_entry.getAllTouchedPartitionsHistogram().getValueCount() == 1) : txn_entry + " says it was single-partitioned but the partition count says otherwise:\n"
                                + txn_entry.debug();
                        singlepartition_with_partitions_ctrs[i] += txn_weight;
                    }
                    histogram_sp_procs.put(proc_key, txn_weight);

                    // If the txn runs on multiple partitions, then the cost
View Full Code Here

Examples of edu.brown.designer.DesignerEdge.debug()

                        // or whether we need to consider
                        max_weight = orig_edge.getTotalWeight();
                    } catch (Exception ex) {
                        LOG.error(vertex + " => " + vertex_orig_parent);
                        if (orig_edge != null) {
                            LOG.error(orig_edge.debug());
                        } else {
                            LOG.error("ORIG EDGE: null");
                        }
                        ex.printStackTrace();
                        System.exit(1);
View Full Code Here

Examples of edu.brown.hstore.txns.AbstractTransaction.debug()

        } // FOR
       
        // Added our own debug info
        AbstractTransaction ts = this.hstore_site.getTransaction(txn_id);
        if (ts != null) {
            responses.put(this.local_site_id, ts.debug());
        }

        // Then wait for all of our responses
        boolean success = false;
        try {
View Full Code Here

Examples of edu.brown.hstore.txns.LocalTransaction.debug()

                    assert(this.lockQueue.contains(specTxn.getTransactionId()) == false) :
                        String.format("Failed to remove speculative %s before executing", specTxn);
                }
                assert(specTxn.getBasePartition() == this.partitionId) :
                    String.format("Trying to speculatively execute %s at partition %d but its base partition is %d\n%s",
                                  specTxn, this.partitionId, specTxn.getBasePartition(), specTxn.debug());
                assert(specTxn.isMarkedControlCodeExecuted() == false) :
                    String.format("Trying to speculatively execute %s at partition %d but was already executed\n%s",
                                  specTxn, this.partitionId, specTxn.getBasePartition(), specTxn.debug());
                assert(specTxn.isSpeculative() == false) :
                    String.format("Trying to speculatively execute %s at partition %d but was already speculative\n%s",
View Full Code Here

Examples of edu.brown.markov.MarkovVertex.debug()

                for (MarkovEdge e : this.candidate_edges) {
                    MarkovVertex v = markov.getOpposite(element, e);
                    sb.append(String.format("  [%d] %s  --[%s]--> %s%s%s",
                              i++, element, e, v,
                              (next_vertex.equals(v) ? " <== SELECTED" : ""),
                              (trace.val && this.candidate_edges.size() > 1 ? "\n"+StringUtil.addSpacers(v.debug()) : "")));
                } // FOR
                LOG.debug(sb.toString());
            } // DEBUG
           
            // If there was only one next Statement that we could possibly execute here,
View Full Code Here

Examples of edu.brown.profilers.ProfileMeasurement.debug()

            ex.printStackTrace();
            throw new VoltAbortException(ex.getMessage());
        } finally {
            NOTIFY_BEFORE.drainPermits();
            pm_before.stop();
            LOG.info("AWAKE - " + pm_before.debug());
        }
       
        // -------------------- DISTRIBUTED QUERY --------------------
        voltQueueSQL(updateAll);
        final VoltTable results[] = voltExecuteSQL();
View Full Code Here

Examples of edu.brown.utils.PredicatePairs.debug()

            PredicatePairs cset = table_csets.get(table_pair);

            if (t) {
                LOG.trace("Vertex0: " + vertex0.getCatalogKey());
                LOG.trace("Vertex1: " + vertex0.getCatalogKey());
                LOG.trace("ColumnSet:\n" + cset.debug() + "\n");
            }

            DesignerEdge edge = this.addEdge(agraph, AccessType.PARAM_JOIN, cset, vertex0, vertex1);
            if (!this.multi_stmt_edge_xref.containsKey(edge)) {
                this.multi_stmt_edge_xref.put(edge, new HashSet<Set<Statement>>());
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.