cancel
Showing results for 
Search instead for 
Did you mean: 

watch window auto-populating

SOLVED
ElectroLund
Active Participant
Solved!

watch window auto-populating

Message contains an image

CVI 2013 SP1.

 

I've added a few variables to the watch window and upon each debug config compile, the watch window is stuffing itself with duplicates of this variable.  See attachment. As you can imagine, this project is getting slower and slower to debug.  And there's no "select all" feature in the Watch window to remove them all.

 

watch window.png

11 REPLIES 11
Constantin--P
NI Employee (retired)
Solution

Re: watch window auto-populating

Message contains a hyperlink

Hello ElectroLund,

 

Could this be the same issue as in this post: http://forums.ni.com/t5/LabWindows-CVI/duplicate-watch/td-p/2893688 ?

 

Constantin

ElectroLund
Active Participant

Re: watch window auto-populating

Ah, yes you are right.  I had searched before posting, but didn't find that one.  Thanks!

john_cvi_user
Member

Re: watch window auto-populating

Still happening in 2015

 

Constantin--P
NI Employee (retired)

Re: watch window auto-populating

Hello John,

 

Can you describe a little bit the steps you are doing when the problem occurs?

Can you reproduce the issue with a simple project or only with a specific project?

Do you use confined watch window or released? Can you check if the isssue is present in both cases?

 

Thanks,

Constantin

ElectroLund
Active Participant

Re: watch window auto-populating

In my case, I have the windows released, so perhaps that's part of the problem?

Constantin--P
NI Employee (retired)

Re: watch window auto-populating

Hello Electro.

 

Do you also have the same problem in CVI 2015?

I'm not sure if it's related to having the watch window released, I just remember seeing it once when the watch window was released.

 

Constantin

ElectroLund
Active Participant

Re: watch window auto-populating

Yes, I too still have the issue on 2015.

Constantin--P
NI Employee (retired)

Re: watch window auto-populating

Then I have the same questions for you:

 

Does it happen with any project or only a specific project?

Could you provide some steps to reproduce.

Can you check if having the watch window released or confined makes any difference?

 

Thanks

john_cvi_user
Member

Re: watch window auto-populating

not sure that I am doing anything different to previous versions of cvi which I have used for many years.

 

In debug mode,

set breakpoint to stop where required.

highligh the variable or structure to watch

click the "add watch expression" button (glasses with (a-b) beneath), this adds an instance to the watch window.

 

several iterations of running the porogram later I end up with a screen full of duplicate variable is the watch window as previoulsy described in this post.

 

will try confing the window and will let you know later