GC.BlkAttr.FINALIZE

Steven Schveighoffer schveiguy at yahoo.com
Sun Mar 2 12:21:58 PST 2014


On Sat, 01 Mar 2014 09:57:44 -0500, Namespace <rswhite4 at googlemail.com>  
wrote:

>
> I tried to enable the printf's in rt/lifetime.d (e.g.:  
> https://github.com/D-Programming-Language/druntime/blob/e47a00bff935c3f079bb567a6ec97663ba384487/src/rt/lifetime.d#L1125)  
> to see what happens if I/the GC delete an array. But I see no output, no  
> matter what I try to allocate/deallocate.

Enabling debugging code in druntime is really hard. I remember struggling  
with that when I was changing the array append code. It does work when you  
get it right...

-Steve


More information about the Digitalmars-d-learn mailing list