X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.db.impl%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fimpl%2Fgraph%2FBarrierTracing.java;h=68fdd824ed29f95eee0fa8f1cb0a49eb9dcebf92;hp=2433b897f888d15044e135433aa444fb48f498d0;hb=472f4b2af82d02fb46f9a929fb6c8090bb4c5301;hpb=a88c02c2d0f4250caf887a130b9f4314c6564722 diff --git a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/graph/BarrierTracing.java b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/graph/BarrierTracing.java index 2433b897f..68fdd824e 100644 --- a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/graph/BarrierTracing.java +++ b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/graph/BarrierTracing.java @@ -32,16 +32,10 @@ public class BarrierTracing { synchronized public static void printBAPS() { for(BlockingAsyncProcedure bap : baps.keySet()) { - Throwable e = baps.get(bap); - System.err.println("BlockingAsyncProcedure"); - System.err.println("-key: " + bap.key); - System.err.println("-queryGraph: " + bap.queryGraph); - System.err.println("-callerGraph: " + bap.callerGraph); - System.err.println("-procedure: " + bap.procedure); - System.err.println("-pendingTaskSupport: " + bap.pendingTaskSupport); - System.err.println("-result: " + bap.result); - System.err.println("-exception: " + bap.exception); - e.printStackTrace(); + bap.print(); + Throwable t = baps.get(bap); + if(t != null) + t.printStackTrace(); } }