Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Why won't highlight execution and breakpoints work?

I'm using labview 2011 real-time and on cRIO and PXI chases and when I try to debug using execution highlighting and breakpoints they don't do jack.  Usually I can set a breakpoint during initialization, but if multiple loops are involved, especially timed loops nothing happens. 

 

Now the processor is not anywhere near maxed out.  I have pretty much given up trying to use these tools when this happens, but today a co-worker experienced the same problem and asked me what is going on.

So, Someone tell me what could be going on!

 

thanks!

 

0 Kudos
Message 1 of 4
(5,662 Views)

 Hi David-n-Mo, if highlight execution or breakpoints are not working,  it can be that you have the debugging options disabled for that VI, or that you have a re-entrant VI.  You can check the status of this 2 options in VI Properties in the execution category.

Execution.PNG

 

 Do you have problems debugin them while if they run on your main computer? are you running the VIs as a Real Tinme Application? Are you able to place breakpoints in the VI?

Best Regards

Benjamin C
Principal Systems Engineer // CLA // CLED
0 Kudos
Message 2 of 4
(5,656 Views)

In both of the cases I'm thinking of the VI was the top level with debugging enabled and not re-entrant. I also checked with my co-worker and she confirmed that her's is also top level with debugging enabled and not re-entrant. 

 

... it occurs to me that i have had a vi that failed to debug due to insane objects detected by MassCompile.

 

 

0 Kudos
Message 3 of 4
(5,649 Views)

Assuming the insane objects are occuring hand-in-hand with the break points not working, I would suggest we go after the insane objects. Here is a link to a knowledgebase that discusses different possible approaches to dealing wit those insane objects. http://digital.ni.com/public.nsf/allkb/AFA28DCC3DE89839862566B200594E8C?OpenDocument

Ben D.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(5,639 Views)