LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Removing a breakpoint

I'm having trouble with a breakpoint on a while loop. I can see a red border inside of the while loop (which is odd since they are usually on the outside.) If I right click on it, I only have the option to add a breakpoint, and not remove it. (If I add it, the I have two borders, outside and inside.)
Is there a way to delete all breakpoints in a vi?

The problem seems like a bug to me, but it would be nice not to have to start deleting code in order to make it run again.
0 Kudos
Message 1 of 5
(3,488 Views)
From the tools palette (hold shift and right click if the palette isn't on screen), choose the breakpoint tool (looks like a little stop sign). With that tool left click inside the while loop (but not on top of any wires or functions). This should remove the breakpoint.

Also, under Browse in the menu bar is an option called "Breakpoints". Click on this and a list of all breakpoints in the current VI will show up. You can clear the breakpoints from this menu.

I had problems with a breakpoint that was hidden under a string constant. When you click on a wire to add a breakpoint, it puts the symbol in the center of the wire. If you have a string constant with a short wire connecting it to something on the right (or left), then the center of the wire is som
ewhere between the center of the constant and what the wire is connected to. I kept wondering why my program stopped all the time. I think this is a minor bug (now that I know what to look for).

Hope this helps.

Rob
Message 2 of 5
(3,488 Views)
Yep that did the trick... thanks!
0 Kudos
Message 4 of 5
(3,488 Views)
Use the breakpoint tool and click on an empty space inside of the loop and it should go away. When the breakpoint is on the outside of the loop the execution breaks when it gets to the loop. When the breakpoint is inside of the loop the execution will stop before each iteration of the loop. It is not a bug.

You can also search for breakpoints in a vi by using Browse>>Breakpoints or Edit>>Find. A dialog will show you all the breakpoints and allow you to clear them.

Brian
0 Kudos
Message 3 of 5
(3,488 Views)
With LabView 6.1, the Browser 'breakpoints' only highlighted my wiring diagram temporarily leaving the red border. Tools Pallette breakpoint tool (hadn't ever deliberately used it) fixed my problem by clicking on it once. Thanks for specifying where the tool was.
0 Kudos
Message 5 of 5
(3,488 Views)