Jump to content


Photo
- - - - -

Broken class, broken because one of the components is broken


  • Please log in to reply
1 reply to this topic

#1 neil

neil

    Extremely Active

  • Members
  • PipPipPipPip
  • 408 posts
  • Location:Surrey, UK
  • Version:LabVIEW 2012
  • Since:2004

Posted 02 July 2012 - 09:56 AM

Hi,

I am editing some code I inherited. It is a G# class that contains a bunch of typdefs. I have to edit one of the typedefs and now the class is broken. The reason it is broken is because the other typedefs are broken, but the reason the other typedefs are broken is because the class has blocked execution of the VI. The VI is blocked because the library is broken due to typedef problems noted above!

So in a nutshell it is broken because it is broken! :frusty:

Is this some strange library/class recursion problem? Does anybody know how I fix it?
CLA, CPI and CTM (Certified Tea Maker)

#2 neil

neil

    Extremely Active

  • Members
  • PipPipPipPip
  • 408 posts
  • Location:Surrey, UK
  • Version:LabVIEW 2012
  • Since:2004

Posted 02 July 2012 - 10:24 AM

ok, figured it out. The error was actually coming from the accessor property node of the member I had just changed. I only changed the Get without changing the Set and this caused it to report back it was broken. I did not change the Set as the typedef had the wrong type so I figured I would fix that first.

Trouble was, the error was buried in hundreds of other errors causes by the broken class. Once I figured out the problem it was a two minute fix, as expected.
CLA, CPI and CTM (Certified Tea Maker)