[nem-en] Re: What is additional_decls?

Andrey Khropov andrey.khropov at gmail.com
Sat Nov 18 15:12:51 CET 2006


Kamil Skalski wrote:

> http://nemerle.org/svn/vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completi
> on2/Engine/Engine-main.n
> > I get following error in VS (in red):
> > 
> > 
> > Object reference not set to an instance of an object.
> > Hide
> 
> 
> Ok, closing it and opening again several times helped ;)

I think the problem is that Nemerle.Compiler.Utils is somehow hybrid
csproj/nproj

Nproj file includes the following string:
<Import Project="Nemerle.Compiler.Utils.csproj" />

Maybe you should try to play with new Nemerle project created from scratch:
(Project->New, choose "Nemerle" type).

> Now I can
> see the error you mentioned, in line 123. Hm, do you have some hints
> on debugging the integration? In fact, what is the fastest route to:
> - add debug into compiler's source
> - deploy it

See  http://nemerle.org/svn/vs-plugin/trunk/Doc/Nemerle.VsIntegration-en.doc.
XML( http://rsdn.ru/article/nemerle/Nemerle.VsIntegration-en.xml ) should be
updated when Vlad processes the doc.

> - 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 "Output" pane in the host VS (menu:View->Output or Ctrl+Alt+O)

You can also set breakpoints in host VS (even NCC src files work although it
isn't part of the integration project)

-- 
AKhropov




More information about the devel-en mailing list