On Oct 19, 2011, at 11:07 AM, Gor Gyolchanyan wrote: > Do anybody know a good way to (statically) debug a generated code? > Currently it takes lots of effort to determine the place, where the > code is being incorrectly generated. my method is to try to have a single mixing rather than several (i.e. making nested mixing simple concatenate the corresponding code). So I can pragma(msg,myMixinFunction()); and possibly even replace the mixing with the generated code when debugging it.
this supposing you were referring to mixing problems, templates normally behave better, but I tend to pass explicit template parameters to improve their behavior in case of errors Fawzi
