[Gc] Re: Re: Re: FW: Re: Cannot print call chain

biosli biosli at hotmail.com
Fri Jul 16 10:09:52 PDT 2010

Hi all:

The reason why can not print call chain, I find it!!

Hans and Ivan are right!! I didn't defined GC_DEBUG in all my project!!

I define GC_DEBUG in stdafx.h as
#ifdef _DEBUG
#  define GC_DEBUG
I thought when my project include gc.lib, debug log will print.
But I commit a blunder, GC_DEBUG must be "seen" in all my project.

So, I add 
#if defined(_DEBUG) && !defined(GC_DEBUG)
#  define GC_DEBUG
at gc.h, it works.(And does it need add in cvs?)

Thanks for all your help. And I feel sorry about that.

Zeyi Lee

More information about the Gc mailing list