Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] debug messages for recursive destruction of containers and types
authorLucas Schnorr <Lucas.Schnorr@imag.fr>
Fri, 20 Jan 2012 14:38:34 +0000 (15:38 +0100)
committerLucas Schnorr <Lucas.Schnorr@imag.fr>
Sun, 22 Jan 2012 23:55:24 +0000 (00:55 +0100)
src/instr/instr_paje.c

index 79c78e3..c749648 100644 (file)
@@ -357,6 +357,7 @@ void destroyContainer (container_t container)
 
 static void recursiveDestroyContainer (container_t container)
 {
 
 static void recursiveDestroyContainer (container_t container)
 {
+  XBT_DEBUG("recursiveDestroyContainer %s", container->name);
   xbt_dict_cursor_t cursor = NULL;
   container_t child;
   char *child_name;
   xbt_dict_cursor_t cursor = NULL;
   container_t child;
   char *child_name;
@@ -368,6 +369,7 @@ static void recursiveDestroyContainer (container_t container)
 
 static void recursiveDestroyType (type_t type)
 {
 
 static void recursiveDestroyType (type_t type)
 {
+  XBT_DEBUG("recursiveDestroyType %s", type->name);
   xbt_dict_cursor_t cursor = NULL;
   type_t child;
   char *child_name;
   xbt_dict_cursor_t cursor = NULL;
   type_t child;
   char *child_name;