[nem-en] What is additional_decls?

vc vc at rsdn.ru
Sat Nov 18 16:40:10 CET 2006


> Ok, closing it and opening again several times helped ;)

Good! But nevertheless use Nemerle.Compiler.Utils.nproj.

> Hm, do you have some hints
> on debugging the integration? 

1. If you run instance VS (with Nemerle.Compiler.Utils.nproj) under another
instance of VS you can set break points in compiler source code, see context
(variables, colstec) and step throw code.
2. You can use System.Diagnostics.Trace.WriteLine() to print into Output
window (menu: View\Output) of first instance of VS (that under which you
debugging).


> In fact, what is the fastest route to:
> - add debug into compiler's source

It is obligatory.

> - deploy it

Butch file Build-1-phase.cmd do all that.

> - run the problematic project / file
> - see the debug output from compiler, which was generated while
> analyzing given source code file
> 
> Actually the problem is with last step :)  Where does debug info appear?

See above (Trace.WriteLine()).




More information about the devel-en mailing list