I am trying to run a real time application on CRio in debug mode. In the middle of the run the error "The Application or shared library closed debug application" flashes and the Labview application is closed. This happens randomly, sometimes immediately after starting the debug mode and sometimes it takes few minutes to throw this error. Please suggest ways to come out of this problem.