diff --git a/src/error.h b/src/error.h index 5d0cabc22f4ab84fec07b42ebc16818cad6f3861..94a7e3d1122503cf220807cd50e63f26c86214bf 100644 --- a/src/error.h +++ b/src/error.h @@ -5,7 +5,7 @@ \*/ /* - * $Id: error.h,v 1.20 1998/07/16 20:42:21 grubba Exp $ + * $Id: error.h,v 1.21 1998/07/16 21:56:15 grubba Exp $ */ #ifndef ERROR_H #define ERROR_H @@ -67,6 +67,8 @@ extern int throw_severity; #ifdef DEBUG #define SET_ONERROR(X,Y,Z) \ do{ \ + fprintf(stderr, "SET_ONERROR(%p, %p, %p) %s:%d\n", \ + &(X), (Y), (Z), __FILE__, __LINE__); \ if(!recoveries) break; \ X.func=(error_call)(Y); \ X.arg=(void *)(Z); \ @@ -77,6 +79,7 @@ extern int throw_severity; }while(0) #define UNSET_ONERROR(X) do {\ + fprintf(stderr, "UNSET_ONERROR(%p) %s:%d\n", &(X), __FILE__, __LINE__); \ if(!recoveries) break; \ if(recoveries->onerror != &(X)) { \ if (recoveries->onerror) { \