08-26-2010 07:31 AM - edited 08-26-2010 07:32 AM
Hi I have created a .NET Controller for a NET assembly written in C#
Most of the things seem to run smoothly but I can't debug. When I try to "Debug Porject" I get an error:
FATAL RUN-TIME ERROR
Unknown source position, thread id 0x000008DC
A non-debuggable thread caused a 'Unknown' fault at address 0x7C812AFB
I can only click Break and the the programm stops and I can't step through the program.
Are there some changes I have to apply in the IDE or how can I get around this.
09-08-2010 09:44 AM
Hi daeda,
unfortunately I have not found much information on the errors you see. Can you give us some more information? What CVI Version do you use? Can the .NET-assembly be called correctly in other languages?
Are you able to create controllers for other .NET assemblies (e.g. shipped ones that are located in the Global Assembly Cache)?
Thanks
09-14-2010 10:34 AM
Hi I use CVI 9.1.0.
Since this whole "calling from other languages" is not very smooth I didn't try to call it from an other language.
I tried the examples included in CVI for .NET controllers which are located in the NI folder.
Those examples worked fine.
I found a topic here on the site, I guess it was some of those hints NI employees give on their personal sites.
It was about how to find out which dll is making problems.
The whole topic was about projects that didn't work in debug mode but in release mode
I don't know the user anymore but there I found out that the kernel.dll or something like that is making problems.
Maybe you know the link or where to find it, because I didn't.
Hope this helps a bit