06-16-2010 10:36 AM
Symptom:
After building a debuggable application (EXE), I tried to connect to it by:
1. Running the EXE
2. Operate » Debug Application or Shared Library...
The IDE tried to connect to the EXE and then posted this dialog:
After clicking OK, my Connection Status looked like this:
Explanation:
It turns out you cannot debug an application if there are any subVIs without diagrams. In my case, I'm calling someone else's VI in ONE location. That VI happens to NOT have a diagram.
In case someone ever sees this puzzling "fatal error" dialog during connection, watch out for VIs where the diagrams have been removed.
Work Around:
Use a DDS (Diagram Disable Structure) to comment out the VI w/o diagram. Then, build your application and debug it. Enable the DDS case with the VI before building the final application.
06-16-2010 10:48 AM
06-16-2010 11:07 AM
10-22-2010 01:32 PM
I currently have the problem described at the top of the this thread.
In my case, my LV2009 build connects just fine to the debugger. Now the same code is saved using LV2010, then rebuild the application and each time the OS reports the application has stopped and "failed to connect" message appears.
Any ideas how I fix this, I'm unable to debug the exe (the source code works just fine).
10-22-2010 04:20 PM
I successfully debugged my application without use of the Project Operate debugger. How: (I set "open FP when called" and FP indicators on VIs for debugging the exe). But although all is well the debugger still fails to connect, even after creating a new build in the project from scratch.