LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Hover on variable causes debugger error

My install of CVI has gotton cranky lately and is throwing expections quite regularly when I hover over a variable in the debugger (to read the current value)

 

When the debugger tries to display the current value in the popup label, I get a "custom control has raised and exception" (or something close to that).  I've seen this error in other cases, but never this until now.  After the expection is raised, the CVI IDE runs ok, minus the "hover" ability when debugging.  It stays broken until I restart the app... but then quickly fails again.

 

Any ideas?

 

 

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

Hi,

 

Could you please provide me with the following information:

  1. What version of LabWindows/CVI are you using?
  2. What Custom Control are you using?
  3. Have you recently deleted any files that your project was referencing? Are there still existing references to these files in the project?

 

Thanks,

Adri

 

Adri Kruger
National Instruments
LabVIEW Product Marketing
0 Kudos
Message 2 of 10
(4,768 Views)

1.) CVI 9.0

2.) I am not using any custom controls. This error is being thrown by CVI, not my application. 

3.) I don't think so, but I may have a file referenced in my workspace that has been deleted (has dozens of files), but it would not be required to build.   

 

Note. my application runs fine.  Only when I break in CVI's debugger and hover on a variable (sometimes) do I get the error.  I'm fairly confident that the "custom control" throwing the execption is the popup indicator that shows the variable's current value since that feature long works after I get the error.

 

Greg 

0 Kudos
Message 3 of 10
(4,762 Views)

Greg,

 

Have you tried running a repair of LabWindows/CVI? 

 

-Adri

Message Edited by Adri K. on 02-23-2009 03:19 PM
Adri Kruger
National Instruments
LabVIEW Product Marketing
0 Kudos
Message 4 of 10
(4,753 Views)

Hey Greg,

 

What you're seeing can often be the result of some type of build corruption.  One thing to try to restore a good state to your build is to to delete the  cvibuild.xxx directory for your project, and then to mark your files for complilation by selecting Build>>Mark Project for Compilation. 

 

NickB

National Instruments

 

0 Kudos
Message 5 of 10
(4,746 Views)

Hello

I had the same behavior many and many times in last days, then I came here and found this thread.

According to NickB suggestion, I deleted all temporary files and rebuilt the project.

It seems does not help: with program stopped on a breakpoint, I tried to move mouse pointer on some variables of my interest and the error message popped up, as usual, randomly, without no apparent correlation with the kind of variable, or whatever I can see.

After the message popup, the tooltips that shows normally the variable values doesn't show anymore and if I try to rebuild the project I receive the following message:

"An unspecified error has occurred, probably due to corrupted data"

 

Than the only way to restart my session is exiting from CVI ide and restarting.

 

Best regards

Carlo

 

Carlo A.
Megaris




Message 6 of 10
(4,670 Views)

Hello Carlo,

 

Because this is such a difficult issue to debug (the apparent randomness of variables that cause the error and randomness of the error timing), I need to send you a couple files to proceed further.  

 

Do I have your permission to get your email address from the board administrator?

 

Thanks,

 

NickB

National Instruments 

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

nickb wrote:

Do I have your permission to get your email address from the board administrator?


Yes, of course...anyway I changed the privacy settings on my profile, too.

 

Carlo

Carlo A.
Megaris




0 Kudos
Message 8 of 10
(4,613 Views)
Message Edited by menchar on 03-17-2009 03:26 PM
0 Kudos
Message 9 of 10
(4,588 Views)
I've seen the cutom control exception error in CVI 8.5 when using the distribution editor.
0 Kudos
Message 10 of 10
(4,586 Views)