02-23-2009 11:25 AM
I create quite a few .exe's for distribution and generally have no problems. But recently I have a had problem on one that is mysterious so I decided add the debugging features which are supposed to give me the back panel and allow tracing. As far as I can see, all the proper switches are set in the application builder for debugging, but I never get the items I expect either in the Operate, Tools or Window menus and can't pull up the back panel.
Has anyone been able to make this work correctly and do you have any tips for me?
Thanks,
Dave
02-23-2009 03:34 PM
A few things are important:
In the build setting of the executable enter the option 'Allow remote debugging'
Show the menu bar of the main VI.
From your development LabVIEW you go to 'Operate->Debug application...' you enter the machine name where the actual executable is allready running.
LabVIEW will try to connect, and you can select the VI to open. With the menu option 'Window' Show Block diagram you can see the code and put probes inplace.
Ton
02-24-2009 09:47 AM - edited 02-24-2009 09:47 AM
Thanks Ton.
I had missed that you could debug only from a remote machine. I understand you can truly only debug from a machine with Labview on board, but tracing ability would be nice.
Thanks again,
Dave
02-24-2009 12:03 PM
Rimfire wrote:Thanks Ton.
I had missed that you could debug only from a remote machine. I understand you can truly only debug from a machine with Labview on board, but tracing ability would be nice.
Thanks again,
Dave
Message Edited by Rimfire on 02-24-2009 09:47 AM
Hi Dave,
You can debug an executable on the local machine as well, just put 'localhost' as computer name from LabVIEW.
The only important thing to remember is that you need LabVIEW to debug.
Ton