fix debugging info (use flags, not global variable).::
This commit is contained in:
parent
857ff4b895
commit
b1ee4dfb0d
12
C/tracer.c
12
C/tracer.c
@ -52,17 +52,7 @@ send_tracer_message(char *start, char *name, Int arity, char *mname, CELL *args)
|
|||||||
if (args) {
|
if (args) {
|
||||||
for (i= 0; i < arity; i++) {
|
for (i= 0; i < arity; i++) {
|
||||||
if (i > 0) fprintf(GLOBAL_stderr, ",");
|
if (i > 0) fprintf(GLOBAL_stderr, ",");
|
||||||
#if DEBUG
|
Yap_plwrite(args[i], NULL, 15, Handle_vars_f|AttVar_Portray_f, 1200);
|
||||||
#if COROUTINING
|
|
||||||
Yap_Portray_delays = TRUE;
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
Yap_plwrite(args[i], NULL, 15, Handle_vars_f, 1200);
|
|
||||||
#if DEBUG
|
|
||||||
#if COROUTINING
|
|
||||||
Yap_Portray_delays = FALSE;
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
if (arity) {
|
if (arity) {
|
||||||
fprintf(GLOBAL_stderr, ")");
|
fprintf(GLOBAL_stderr, ")");
|
||||||
|
Reference in New Issue
Block a user