LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems in debugging a project with included external dlls

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.

0 Kudos
Message 1 of 3
(3,067 Views)

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

--
Peter A.
Field Sales Engineer, NI Germany
0 Kudos
Message 2 of 3
(2,985 Views)

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

 

 

0 Kudos
Message 3 of 3
(2,935 Views)