[nem-en] Debugging macros again

vc vc at rsdn.ru
Tue Jan 9 21:21:59 CET 2007


> We were thinking about it in the very beginnings, but unfortunately we
> didn't came to any good solution. Compiler just knows that there is an
> error, it doesn't know if the error originated in macro generated code
> or in original source.
> Though maybe we could add some heuristics and check inside location of
> given chunk of code if this is source code or generated code... this
> should work at least in some scenarios, though there is no information
> which macro generated given code.

At now in VS Integration we easily separate generated code by location.
Location mark is off in compiler mode, but we can enable it always.

And we must think about how manage problem "what macros must generate fake
code, and what not". 




More information about the devel-en mailing list