LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Highlight execution and breakpoints not working correclty

Solved!
Go to solution

HI,

 

I have a vi I am working on that I am trying to debug, before I run the vi I can select highlight execution mode and that works.  but If I run the vi then try to enable highlight execution mode nothing happens, I am sure I have been able to do this in the past.

 

likewise with breakpoints I can set them while the vi is not running and they pause when the code reaches them.  I cant un pause them or run highlight execution mode if fact do anything except stop the vi. The cursor shows as a text select cursor no mater where I place it. 

 

both of these problems seem to be triggered by a certain event but I cant figure it out because sometimes they do work. it is on an event case I am trying to debug that only has about 5 cases.  The vi is not re-entrant and is normal priority.

 

the code is too large to share on here but I'll work on trying to create a simplified version that shows the fault. that I can share.

I am using LabVIEW 2018 with the latest updates, has anyone else seen anything like this?  

0 Kudos
Message 1 of 10
(4,391 Views)

I have seen very sluggish IDE response when a VI is running (usually when something in the VI is hogging resources).

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 2 of 10
(4,363 Views)

Text cursor sounds wrong. I think I remember something similar, but I did not connect that to any problem with LabVIEW itself, but with computer issues (100% CPU).

When having a clone or password-protected VI in front of you, it can behave like this, but you mentioned "not re-entrant" so this should be fine.

 

Just to check: You had selected the breakpoint tool, or automatic tool selection, right?


Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD
0 Kudos
Message 3 of 10
(4,337 Views)

My PC is now intermittently playing up (showing 100% CPU) and the problem i had has gone away, i am due to get a new pc within the next month so i will see how things are after that.

thanks for your comments 

0 Kudos
Message 4 of 10
(4,331 Views)

HI sorry for bringing this one back up again but i never did get it sorted.  i thought it was because my windows 7 PC was playing up, i have since been given a new windows 10 laptop and i have upgraded to Labview version 19.0f2(32bit) and i still have the same problem.

 

I have attached a very cut down version of the VI used, the vi doesn't do anything so please don't comment on that side of things.  What i would like you to try is to click the run button then try these 4 things, try to add a probe or stop it using the abort execution button or try to turn on highlight execution or try to enable a breakpoint somewhere in the code.  when i try any of these 3 things with this vi they do not do anything and i don't know why.  

 

Anyone know why?

0 Kudos
Message 5 of 10
(4,176 Views)
Solution
Accepted by topic author Dave76

@Dave76 wrote:

HI sorry for bringing this one back up again but i never did get it sorted.  i thought it was because my windows 7 PC was playing up, i have since been given a new windows 10 laptop and i have upgraded to Labview version 19.0f2(32bit) and i still have the same problem.

 

I have attached a very cut down version of the VI used, the vi doesn't do anything so please don't comment on that side of things.  What i would like you to try is to click the run button then try these 4 things, try to add a probe or stop it using the abort execution button or try to turn on highlight execution or try to enable a breakpoint somewhere in the code.  when i try any of these 3 things with this vi they do not do anything and i don't know why.  

 

Anyone know why?


Yes, I know why

Capture.PNG

The Front panel is modal


"Should be" isn't "Is" -Jay
Message 6 of 10
(4,170 Views)

Thanks, school boy error.  i should have spotted that.

0 Kudos
Message 7 of 10
(4,166 Views)

Good thing that you are not in school anymore Smiley Very Happy

(Guessing from the "76" in your username)


Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD
0 Kudos
Message 8 of 10
(4,108 Views)

Your VI is set to run as a dialog window so the focus is locked to the front panel, hence you can't interact with the block diagram.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 9 of 10
(4,092 Views)

@Mark_Yedinak wrote:

Your VI is set to run as a dialog window so the focus is locked to the front panel, hence you can't interact with the block diagram.


Well spotted Mark 


"Should be" isn't "Is" -Jay
0 Kudos
Message 10 of 10
(4,076 Views)