Maybe the compiler can generate a file with the contents of a module with mixins expanded, and use these files as the input to the compiler and linker, so these can be used in the debugging process.
I just realized that code generated at compile-time (with string mixins)
is hard (or impossible) to debug (I mean at runtime, not just at
compile-time). Do you think it's a big shortcomming of D? How can this
be solved?
- Compile-time generated code... not that nice Ary Borenszweig
- Re: Compile-time generated code... not that nice Robert Jacques
- Re: Compile-time generated code... not that nice Jarrett Billingsley
- Re: Compile-time generated code... not that nice Ary Borenszweig
- Re: Compile-time generated code... not that n... Jarrett Billingsley
- Re: Compile-time generated code... not that n... davidl
- Re: Compile-time generated code... not that nice Steve Teale