cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

How do we debug lvlibp which is involved by a .exe file

Highlighted

How do we debug lvlibp which is involved by a .exe file

When I debug a debug-enabled lvlibp which is called by a source code A, I can set breakpoint in a *.lvlibp:VI and the breakpoint is valid. But the breakpoint is invalid when I build the source code A to A.exe. It seems like that a copy of lvlibp is running. How do I debug the lvlibp file which is involved by a executable file.

 

Thanks!

0 Kudos
Message 1 of 4
(63 Views)

Re: How do we debug lvlibp which is involved by a .exe file

Operate->Debug Application Or Shared Library...

 

That will open up a dialog allowing you to connect to an application to debug it.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
0 Kudos
Message 2 of 4
(58 Views)

Re: How do we debug lvlibp which is involved by a .exe file


@悟啊呀呀 wrote:

When I debug a debug-enabled lvlibp which is called by a source code A, I can set breakpoint in a *.lvlibp:VI and the breakpoint is valid. But the breakpoint is invalid when I build the source code A to A.exe. It seems like that a copy of lvlibp is running. How do I debug the lvlibp file which is involved by a executable file.

 

Thanks!


You should not be debugging a packed library!  in fact it should have been documented and the test artifacts should trace the requirements to whatever requirements are met by the PPL!  

 

That being said, what Version of LabVIEW is used?  Some changes have been made to names recently when building PPLs. (still trying to understand all of them myself) a Nugget would be nice

\/\/\/\/\/\

0 Kudos
Message 3 of 4
(34 Views)

Re: How do we debug lvlibp which is involved by a .exe file

Hi, crossrulz. It's worked! Thank you!

May I ask you another question?

When I run the application debug mode, I can open the block diagram to trace my problem. How can I open a VI which is called dynamically by its path? Now, I have to open the Tools->Profile->Performance and memory to find the VI I needed. Do you have any convenient way?

0 Kudos
Message 4 of 4
(21 Views)