LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CIN debug

Just for anyones information trying to debug CINs in LabVIEW!
 
I recently run into a problem where I had to debug some old code that contained a CIN and when trying to run a debug version of that CIN that should simply cause a user breakpoint to occur and break into my system debugger (Visual C) I consistently crashed without ever getting to the debugger. Windows only showed the "An exception has occurred in LabVIEW.exe" dialog with a Debug button but when I hit the Debug button LabVIEW silently dies.
The same CIN did neatly break into the system debugger after clicking on that Debug buttont and prompt me for the source file of the CIN when run in LabVIEW 8.0 and 8.5.
 
I did make a test project to see if it was something with the setup of my CIN code or whatever but could not find anything specific. It seems that the Exception Handler around the CIN node simply catches all exceptions and silently closes LabVIEW down in 8.2(.1). I wonder if there is an INI file setting like the extFuncCatching=False for the Library Node that would still allow exceptions to simply be handed to the system debugger instead, but since it works in LabVIEW 8.5 the problem is currently sort of not important for me.
 
For anyone wanting to fiddle around I have included my test CIN project.
 
Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 1 of 1
(2,617 Views)