diff --git a/include/picconf.h b/include/picconf.h index 8ed33f66..cdd8a51a 100644 --- a/include/picconf.h +++ b/include/picconf.h @@ -4,6 +4,7 @@ #define DEBUG 1 #if DEBUG +# define OBJECT_CREATION_DEBUG 1 # define GC_DEBUG 1 # define VM_DEBUG 1 #endif diff --git a/src/main.c b/src/main.c index ae749982..5242a71d 100644 --- a/src/main.c +++ b/src/main.c @@ -38,7 +38,9 @@ main() pic = pic_open(); - //test_object_creation(pic); +#if OBJECT_CREATION_DEBUG + test_object_creation(pic); +#endif ai = pic_gc_arena_preserve(pic);