add some debugging for disconnect
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Sun, 12 Aug 2007 21:23:55 +0200
changeset 1352 34176d861b6e
parent 1351 0a6aaa6acbd3
child 1353 0dd2acd3418f
add some debugging for disconnect
src/core/composite-trace-resolver.cc
--- a/src/core/composite-trace-resolver.cc	Sun Aug 12 21:23:40 2007 +0200
+++ b/src/core/composite-trace-resolver.cc	Sun Aug 12 21:23:55 2007 +0200
@@ -313,6 +313,7 @@
     (*i)->Connect (subpath, cb, ctx);
     } break;
   case DISCONNECT:
+    NS_DEBUG ("disconnect from path="<<subpath<<" name="<<(*i)->name);
     (*i)->Disconnect (subpath, cb);
     break;
   }
@@ -321,6 +322,7 @@
 void 
 CompositeTraceResolver::Disconnect (std::string path, CallbackBase const &cb)
 {
+  NS_DEBUG ("disconnect path="<<path);
   DoRecursiveOperation (path, cb, TraceContext (), DISCONNECT);
 }