Discussion:
LaqbVIEW 7.1.1 does not find a specific breakpoint, but stops execution there
(too old to reply)
LuI
2008-08-11 10:40:05 UTC
Permalink
Hi all, I've got a small test LV7.11 Vi that opens one of a set of data files and loads it into a FG. It is a flat sequence structure containing the code. Works OK.Some hours ago I debug'd this using breakpoints. I've run into a situation, where the sequence is surrounded by a red frame signaling a breakpoint. LabVIEW breaks execution whenever it reaches the sequence. Now that I have fixed the code I want to remove the breakpoint, but cannot. Neither clicking it with the 'Set/clear breakpoint' tool nore Browse or Search fo breakpoints does find any: 'No items found'. Has anyone seen this.? How can I get rid of it? 'Just' disabling debugging?Greetings from Germany!-- Uwe
muks
2008-08-11 10:40:06 UTC
Permalink
Have you accidently clicked the pause button?
muks
2008-08-11 10:40:06 UTC
Permalink
Can you post your code?
LuI
2008-08-11 10:40:07 UTC
Permalink
Here you are...


ANSI-AAMI-EC13-Test_FG aus Testdaten_02.vi:
http://forums.ni.com/attachments/ni/170/348202/1/ANSI-AAMI-EC13-Test_FG aus Testdaten_02.vi
muks
2008-08-11 11:10:06 UTC
Permalink
<img src="Loading Image..."> Message Edited by muks on 08-11-2008 05:53 AM


missing.PNG:
http://forums.ni.com/attachments/ni/170/348203/1/missing.PNG
LuI
2008-08-11 10:40:06 UTC
Permalink
No no, it looks like a breakpoint, works as if it where, but LabVIEW does not fiind it from the 'IDE'. If I disable debugging than it runs over this. I'ts 'just' annoing...Greetings from Germany!-- Uwe
craigc
2008-08-11 11:10:06 UTC
Permalink
Hi,
&nbsp;
Here you go
&nbsp;
It is just a matter of selecting the Breakpoint tool and searching around the red line untill it turns white ;)
Craig


ANSI-AAMI-EC13-Test_FG%20aus%20Testdaten_02[1]_Modified.vi:
http://forums.ni.com/attachments/ni/170/348204/1/ANSI-AAMI-EC13-Test_FG%20aus%20Testdaten_02[1]_Modified.vi
LuI
2008-08-11 11:40:04 UTC
Permalink
Thx! It did not work with me, anyhow.Greetings from Germany!-- Uwe
LuI
2008-08-11 11:40:05 UTC
Permalink
Still does not work with LV711. And I'm interested in the reason how this could happen. Anyone @NI ?
muks
2008-08-11 12:10:05 UTC
Permalink
I replaced your flat sequence with a stacked sequence and i see it is getting stucked with th mouse even case.<img src="Loading Image..."> Message Edited by muks on 08-11-2008 06:42 AM


event.PNG:
http://forums.ni.com/attachments/ni/170/348210/1/event.PNG
muks
2008-08-11 12:10:05 UTC
Permalink
In your front panel why is the "Start FG" button always pressed?Is that what u expect?
muks
2008-08-11 12:10:06 UTC
Permalink
But as you can see when i replaced the flat sequence the break point seems to have got cleared.Even I am not quiet sure why that red rectangle was encapsulating ur flat sequence.May be some one can throw some light on it. Does replacing the flat sequece help?
LuI
2008-08-11 12:40:06 UTC
Permalink
Thats a flaw in my code. But its unimportant, as I use the 'Mouse-up' event in order to continue. Simply a copied code snipped... Greetings from Germany!-- Uwe
muks
2008-08-11 12:40:07 UTC
Permalink
as I use the 'Mouse-up' event in order to continue.
So the code is waiting for the event. Are you still stuck?
muks
2008-08-11 12:40:08 UTC
Permalink
Muks,you made my day. Replacing the
flat sequence with a stacked one and vice versa solved that problem.
Maybe it was an internal flaw in LV 7.11? Shall I update? I'll re-think
it, especially as the brand-new 8.6 DVDs came in today...Greetings from Germany!
Glad&nbsp; to help.But do share what was causing the problem if you had figured that out .Might come handy for&nbsp; someone.
LuI
2008-08-11 12:10:06 UTC
Permalink
Muks, you made my day. Replacing the flat sequence with a stacked one and vice versa solved that problem. Maybe it was an internal flaw in LV 7.11? Shall I update? I'll re-think it, especially as the brand-new 8.6 DVDs came in today...Greetings from Germany!-- Uwe
craigc
2008-08-11 14:10:05 UTC
Permalink
Hi Lul,
&nbsp;
When i removed the breakpoint i also had a refresh problem.&nbsp; I had to minimise then maximise the screen in order for it to update the diagram.&nbsp; I have found LabVIEW does this from time to time and worth keeping an eye out for.
Craig
muks
2008-08-11 14:40:15 UTC
Permalink
Hi craig, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanx for chipping in with your ideas. I tried that too but still that red rectangle all swallowing up the sequences. I faintly remember encountering it before but dont remember the fix.
LuI
2008-08-11 14:40:18 UTC
Permalink
Hi, again thanx to all who helped. I have solved that issue by changing the flat sequence into a stacked one. This removed that 'effective breakpoint', if I can tell it such. In order to have code easier to read and document I switched back to a flat sequence.&nbsp;Again, this is still LV7.11, allthough I have every newer version including 86 as arrived today. /.11 has the nice feature to be able to install a FD version onto a private account on a productive machne for debugging purposes. I don't have all the required devices on my workhorse PC...I'll update this thread if I get any response from NI on the cause of that 'feature'.Greetings from Germany!-- Uwe
altenbach
2008-08-11 16:40:05 UTC
Permalink
I suspect that ther was some corruption in your VI, because if I do a search for&nbsp;"breakpoints" in LabVIEW 8.5.1, it does not find any. :o
However, the "edit...remove breakpoints from hierarchy" removes it just fine. Unfortunately, this was not available in 7.1 if I remember correctly
&nbsp;
&nbsp;
New in 8.6 is the breakpoint manager and it can easily be used to clear that breakpoint. Time to upgrade. :D
&nbsp;
&nbsp;


BreakPointManager.png:
Loading Image...
muks
2008-08-11 16:40:08 UTC
Permalink
New in 8.6 is the breakpoint manager and it can easily be used to clear that breakpoint.
:smileymad: One more reason to upgrade. I have a mind block because i still remember the difficulties i faced when i switched from 6.0 to 7.0.I remember&nbsp; disabling the automatic tool select and tabbing it for a change.Hmmmmm........ Wish LabVIEW dont change much in terms of usability in future
craigc
2008-08-11 18:40:04 UTC
Permalink
wierd, I just removed it by the normal method, sure i had to search around for the actual breakpoint but i found it (waited untill the breakpoint marker went white).&nbsp; Then i clicked it, refreshed the screen and blamo was gone!
Loading...