1
0
Fork 0

better debugging info

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@236 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.2
Xuefer 2006-10-11 00:27:27 +00:00
parent 784cff26d0
commit 4528a97a8c
1 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,9 @@
#if 0
#define DEBUG
#endif
#if 0
#define SHOW_DPRINT
#endif
@ -1078,7 +1081,7 @@ restore:
CG(compiled_filename) = stored_xce->name.str.val;
CG(zend_lineno) = 0;
#ifdef DEBUG
fprintf(stderr, "restoring\n");
fprintf(stderr, "restoring %s\n", stored_xce->name.str.val);
#endif
xc_processor_restore_xc_entry_t(&xce, stored_xce, xc_readonly_protection TSRMLS_CC);
#ifdef SHOW_DPRINT
@ -1110,7 +1113,7 @@ restore:
CG(in_compilation) = 0;
CG(compiled_filename) = NULL;
#ifdef DEBUG
fprintf(stderr, "restored\n");
fprintf(stderr, "restored %s\n", stored_xce->name.str.val);
#endif
return op_array;
}