Login | Register
My pages Projects Community openCollabNet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Catacomb] TRACE() doesn't trace ..?



Sorry i reply to myself :

I just had to change

#ifndef DEBUG

#undef DBG0

#undef DBG1

#undef DBG2

#undef DBG3

#define DBG0(A)

#define DBG1(A,B)

#define DBG2(A,B,C)

#define DBG3(A,B,C,D)

#endif

 

TO

 

#ifdef DEBUG

#undef DBG0

#undef DBG1

#undef DBG2

#undef DBG3

#define DBG0(A)

#define DBG1(A,B)

#define DBG2(A,B,C)

#define DBG3(A,B,C,D)

#endif

 


De : catacomb-bounces@webdav.org [mailto:catacomb-bounces@webdav.org] De la part de FABRE Nicolas
Envoyé : jeudi 17 mars 2005 14:42
À : catacomb@webdav.org
Objet : [Catacomb] TRACE() doesn't trace ..?

 

Hi

day after day i understand a bit more how does all this stuff in catacomb work ..

but sometimes I ma stuck :

do I need to modify something to make the macro TRACE() work ? I see that this macro is called from a lot of function (for example in dbms.c :

int dbms_closedb(dav_repos_db * d)

{

    TRACE();

    dbms_destroy(&(d->db));

    return 0;

}

But i can’t see the TRACE with the function name in the error_log !

It also doesn’t work if I put a DBG0(“test”) …

Should it ?