On Sun, 02 Mar 2014 15:44:47 -0500, Namespace <rswhi...@googlemail.com>
wrote:
On Sunday, 2 March 2014 at 20:21:51 UTC, Steven Schveighoffer wrote:
On Sat, 01 Mar 2014 09:57:44 -0500, Namespace <rswhi...@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...?
You HAVE to recompile phobos, because druntime is statically included
inside it ;)
-Steve