GC.BlkAttr.FINALIZE

Namespace rswhite4 at googlemail.com
Sun Mar 2 12:44:47 PST 2014


On Sunday, 2 March 2014 at 20:21:51 UTC, Steven Schveighoffer 
wrote:
> 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

Great... :D I have no idea how. :P Should I recompile phobos 
also? Or try something special...?


More information about the Digitalmars-d-learn mailing list