From: Jean-Marc Pigeon Date: Sun, 16 Nov 2025 20:10:09 +0000 (-0500) Subject: Still debugging rou_dbglive X-Git-Tag: tag-0.18~40 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=d1b826c838a290311090f9ce65db92b98d8eaebc;p=jmp%2Fmailleur Still debugging rou_dbglive --- diff --git a/lib/subrou.c b/lib/subrou.c index 449d894..69c0a7a 100644 --- a/lib/subrou.c +++ b/lib/subrou.c @@ -640,15 +640,14 @@ PUBLIC void rou_dbglive(const int dlevel,const char *prcref,const char *fmt,...) { #define DBG "DBGLIVE" -(void) rou_alert(0,"BIGRE Bigre dbglive=<%s>",dbglive); if ((debug>=dlevel)&&(dbglive!=(char *)0)) { - (void) rou_alert(0,"Bigre dbglive=<%s>",dbglive); if (strstr(dbglive,prcref)!=(char *)0) { char *nstr; va_list args; - (void) rou_asprintf(&nstr,"%s: %s",prcref,fmt); va_start(args,fmt); + (void) rou_asprintf(&nstr,"%s: %s",prcref,fmt); + (void) rou_alert(0,"Bigre dbglive=<%s> nstr=<%s>",dbglive,nstr); (void) rou_valert(dlevel,nstr,args); va_end(args); (void) free(nstr); diff --git a/sysconfig/mailleur b/sysconfig/mailleur index 9c599db..fc85325 100644 --- a/sysconfig/mailleur +++ b/sysconfig/mailleur @@ -1,7 +1,8 @@ #------------------------------------------- #options available to debug mailleur #OPTIONS="-d9" -#this is to debug a specific function within a specific module -#OPTIONS="-d9 -Dlvleml.c:checkto,modrec.c:docontact +#this is to debug a specific function within a specific procedure name +#Avaliable procedure name are defined within mailleur sources (#define OPEP) +#OPTIONS="-d9 -Dlvleml.c:checkto,modrec.c:docontact" #-------------------------------------------