LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

There is an error while romote debugging

Solved!
Go to solution

Hello,

 

(BTW: I have german version and dont know if the names are correct written in english)


I've created a (not small) application and use the "Enable debugging" attribute of my project. With AppBuilder it generates an EXE.
This exe I've put on the test computer (client) and run-> OK, I can run it.

Then I go on the development machine in LabView on Menu "Troubleshooting application or DLL ...".
I connect to the computer and it started to download the required files from the client. But eventually it went no further, then I looked at the client, and there was an error:
"It is a fatal error occurred. The connection is terminated."  (in german "schwerwiegender Fehler")

Why is that?
How can I solve the problem?
Is there somewhere a log file where it describes why this error occurs?

 

In the attached file there are the screenshots of the error.

 

Thank you.

-------------------------------------------------------------------
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
0 Kudos
Message 1 of 14
(4,225 Views)

Here the images (which are in zip file):

host_settings.jpg

 

host_error_0.jpg

 

host_error_1.jpg

 

host_error_1.jpg

 

Wichtige Fehlermeldung:

"Verbindung zur Applikation im Netzwerk konnte nicht hergestellt werden"

 

 

 

host_error_2.jpg

 

Wichtige Fehlermeldung:

"Es ist ein schwerwiegender Fehler aufgetreten. Die Verbindung wird beendet."

 

(sorry, in german)

-------------------------------------------------------------------
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
0 Kudos
Message 2 of 14
(4,221 Views)
0 Kudos
Message 3 of 14
(4,219 Views)

Thank you for reply, but:

1. I follow the same steps as described

2. it starts to download the VIs from remote PC, so the NI Service Locator is running

 

So this is not the solution.

 

Any other ideas?

-------------------------------------------------------------------
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
0 Kudos
Message 4 of 14
(4,210 Views)

Hello,

 

have you tried to "remote debug" a small Application?

If this works, maybe we have some networking issues involved here.

I would recomend to take the Development System and the Test System out of your Office Network and use good old Cross Over Cable.

 

Best Regards!

 

Moritz M.

0 Kudos
Message 5 of 14
(4,208 Views)

Thanks for reply,

 

With a small application IT IS WORKING!

(very small: only while loop and information of current state)

 

So, perhaps it is a network problem, but perhaps not ...

 

Any other ideas?

-------------------------------------------------------------------
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
0 Kudos
Message 6 of 14
(4,204 Views)

Next step:

 

I have found out, that the error comes from a built compressed/packed library (lvlibp) which I use in my application.

I have added this library to my very small application and now there is the same issue: Same error and I cannot remote debug.

 

Any Ideas?

 

I attached the lvlibp file (zipped).

Perhaps anybody could try with it?

 

Thank you

-------------------------------------------------------------------
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
0 Kudos
Message 7 of 14
(4,199 Views)

Wonderful !

 

And now there is an exception and LabView 11 crashed (not the first time, perhaps 20 times at all now)  😞

 

Screenshot:

errors.jpg

-------------------------------------------------------------------
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
0 Kudos
Message 8 of 14
(4,197 Views)

OK, back to the root question:

Has anybody an idea why it does not remote debug?

Has anybody experience with integrating a lvlibp (packed lv lib) into application and remote debug it?

 

Is there anything I have to keep in mind?

 

Thank you

-------------------------------------------------------------------
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
0 Kudos
Message 9 of 14
(4,194 Views)

Next step:

If I use the lvclass directly in my application, IT WORKS with remote debugging:

useClassDirectly.jpg

 

 

If I use the same class in compressed lib, it does not work:

(then error ocuures as described above)

useCompressedLib.jpg

 

Any Idea?

 

I have tried several property values of the compressed lib:

-"Fehlersuche aktivieren" ic checked (enable debug)

-no excludes (unchecked remove Typedefines...)

 

 

BTW: It does not update the version number of library. I set checkbox to automatically increase version number, but when I insert this lvlibp into small app, and open properties of this lvlibp, it tells me version 1.0.0.0

 

 

I have attached Source Code of small application using lvlibp library (MidSmallUsingClasses)

and of lvlibp project itself (TestClass)

Please help me: try to build, include in some application as packed library and remote debug.

 

Thank you in advance.

Please help me.

 

-------------------------------------------------------------------
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
Download All
0 Kudos
Message 10 of 14
(4,191 Views)