KoBe Posted May 12, 2011 Report Share Posted May 12, 2011 Hi people, found a strange behavior in some of my VI's during debug: Sometimes it happens to me, that a program stops always at the same point of a VI or SubVI, even though there is no breakpoint. It behaves like a breakpoint, but there is no breakpoint. I discovered, that it happens more often, when I have a Probe Watch Window open, but the position of the signal probe may be also in a different location in the VI block diagram, and it still stops at the same nonexisting "breakpoint". When I close the Probe Watch Window, the programm (e.g. a loop) does not stop anymore at the mentioned point. My question: How can I resolve this strange problem? Is this a feature of Labview and I only don't know how to handle it? I'm using LV 10.0 32-bit Professional Development Environment. Quote Link to comment
MikaelH Posted May 12, 2011 Report Share Posted May 12, 2011 I guess you know that a conditional probe can stop/pause the execution. //Mike 1 Quote Link to comment
mje Posted May 13, 2011 Report Share Posted May 13, 2011 Sounds fun. Just wondering if these mystery breakpoints perhaps occur inside in-place element structures? Several times I've observed strange breakpoint or stepping behavior when in IPE frames. I find doing any debugging in them is at best rolling the dice unless I wrap all of the code in a subVI, and place my breakpoint in the subVI scope. Quote Link to comment
jdunham Posted May 13, 2011 Report Share Posted May 13, 2011 If your VI stops at some breakpoint, and then you abort the VI, the "pause" button will often be left on. Then when you run that VI again, it will be paused and will stop at the first node to execute. So check whether the pause button in the toolbar is pressed in. Quote Link to comment
KoBe Posted May 16, 2011 Author Report Share Posted May 16, 2011 Hi, thanks a lot for your quick replies. I will check the point with the conditional probes. The Pause button was definitely not the problem. In my case it has also nothing to do with the IPE structure. I'll inform you, when I have news. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.