How to see result of a mixin? (equivalent of running C preprocessor)

Ary Borenszweig ary at esperanto.org.ar
Fri Jul 24 13:07:49 PDT 2009


asd wrote:
> I'm trying to get D-ObjC bridge working and I'm getting weird errors triggered somewhere deeply in a mix of templates and mixins that's too hard for me to understand.
> 
> How can I analyze such problem in D? Is it possible to tell dmd to run only compile-time functions/templates and output that as a D source?

You can debug templates and mixins using Descent:

http://dsource.org/project/descent


More information about the Digitalmars-d-learn mailing list