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.