LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

allow debugging option for application builder

I got to know the allow debugging option should be unchecked for optimization of a stand-alone program.

In this case, what level should be unchecked? is it enough in top-level vi ? or all sub-VIs?

What's the relationship between  "allow debugging" in the property of vi and "enable debugging" in the propery of application on the project file?

I am using LV2009.

 

labmaster.

0 Kudos
Message 1 of 7
(5,782 Views)

Hi

 

Allow Debugging at the VI Properties Exectuion page enabled causes some overhead since extra code will be added for debugging purposes which enables LabVIEW to set breakpoints and probes.

 

Allow Debugging at the Advanced page of an Executable's Build Specification enabled gives you the ability for remote debugging your executable. This makes a tremendous change in the size of your executable (e.g. MB instead of KB) and should only be used if you need to debug your executable.

 

 

Christian

0 Kudos
Message 2 of 7
(5,771 Views)

@Christian_M wrote:

Hi

 

Allow Debugging at the VI Properties Exectuion page enabled causes some overhead since extra code will be added for debugging purposes which enables LabVIEW to set breakpoints and probes.

 


Is the debugging code removed in the executable if this is checked? Assuming the build specification's debugging is unchecked.

0 Kudos
Message 3 of 7
(5,748 Views)

By default, the LabVIEW Application Builder removes the Front Panel and the Block Diagram for all VIs listed in the Dependencies. As there is no block diagram in the application, there is no need for LabVIEW to keep any debugging information.

What I see in LabVIEW 2010: Even if you set a VI's properties to "Allow Debugging = False" and enable debugging in the Build Specification, build the application and start a debugging session, you can debug this VI. This is curious but nice to have.

0 Kudos
Message 4 of 7
(5,713 Views)

Sorry to jump in the middle of the "conversation" but, how do you "start a debugging session"?

 

I am having some problems building an application from a VI and was hoping to find some help around here.

 

Thanks.

0 Kudos
Message 5 of 7
(5,704 Views)

See here.

0 Kudos
Message 6 of 7
(5,694 Views)

Sweet! Thanks.

0 Kudos
Message 7 of 7
(5,674 Views)