LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't debug LabVIEW built shared library

I'm using LabVIEW 8.20 and have built a shared library containing a single VI that will be called from C/C++.
In the build specification, I've enabled debugging and marked 'Wait for debugger on launch'.
 
I start a C, C++ or LabVIEW application that calls the VI. Now, the "One or more VIs are paused..." message is displayed.
From the Project Explorer window I select Operate->Debug Application or Shared Library... and tries to connect to the application.
The "Failed to connect to remote application" is displayed each time.
I've followed every step in the Debugging Applications and Shared Libraries section of the LabVIEW Help.
 
If I turn the VI into an Application instead of a Shared Library there's no problem debugging it.
 
Regards,
tosko
0 Kudos
Message 1 of 2
(2,933 Views)

I'm having the exact same problem, only I've tried to prevent all debugging.

 

I still get the "One or more VIs are paused" message when I call the function via the DLL, but don't get it when I run the executable.

 

@tosko: Did you ever fix this issue?

 

@Everyone: Any ideas on a fix?

 

Edit: Nevermind. I didn't realize I had the following option checked: "My DLL Properties" (dialog) -> Advanced (left menu item) -> Wait for debugger on launch (checkbox).  I unchecked it, rebuilt and it works like a charm.

Message Edited by StevenATK on 04-14-2010 01:52 PM
0 Kudos
Message 2 of 2
(2,571 Views)