11-22-2011 09:52 PM
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.
11-23-2011 03:19 AM
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
01-12-2012 03:12 PM
@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.
01-17-2012 04:51 PM
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.
01-17-2012 06:32 PM
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.
01-18-2012
04:45 AM
- last edited on
05-21-2024
09:47 AM
by
Content Cleaner
See here.
01-19-2012 12:27 PM
Sweet! Thanks.