How do I do printf/writefln debugging in CTFE?

Chad J chadjoan at __spam.is.bad__gmail.com
Sun May 13 09:16:17 PDT 2012


On 05/13/2012 03:32 AM, Dmitry Olshansky wrote:
> On 13.05.2012 6:07, Chad J wrote:

>>
>> I want some way to print out the state of variables in a function being
>> executed at compile time. Can it be done?
>
> Try pulling this guy (aka __ctfeWrite):
> https://github.com/D-Programming-Language/dmd/pull/692
>

Cool, thanks!


More information about the Digitalmars-d-learn mailing list