From: cristianrosa Date: Wed, 15 Dec 2010 16:05:15 +0000 (+0000) Subject: Improve debugging information X-Git-Tag: v3.6_beta2~665 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/917c2ef999f2b31df7221183ca8caea0aef85b57?hp=30115d894863934d38429547b64f470c11bf6fb7 Improve debugging information git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9258 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/simix/smx_network.c b/src/simix/smx_network.c index d1c1b42b3c..fa62223c6e 100644 --- a/src/simix/smx_network.c +++ b/src/simix/smx_network.c @@ -191,7 +191,7 @@ smx_action_t SIMIX_comm_new(e_smx_comm_type_t type) */ void SIMIX_comm_destroy(smx_action_t action) { - DEBUG1("Destroy action %p", action); + DEBUG2("Destroy action %p (refcount:%d)", action, action->comm.refcount); if (action->comm.refcount <= 0) xbt_die(bprintf("the refcount of comm %p is already 0 before decreasing it. That's a bug!",action));