Search code examples
apache-flexflash-builder

Flash Builder 4: Variable not displaying in debug window (Variables tab)


In my flex 3.5 project, I have a class (MyItem) extending Canvas. In this I have declared a private variable named itemInfo which is type of ItemInfo (which is another subclass of Canvas).

I wrote code to hide/show the iteminfo when the mouse is over/out of MyItem. I am not getting any error but it is not showing the itemInfo as expected, when debugged the code, surprisingly the variables tab in debug window does not have the variable itemInfo at all.

I have declared a dummy:int variable and it is also not visible.

I am stuck please help. Thanks in advance.


Solution

  • Well after the frustrating hours and sleepless night I came back and restarted the FB and it started working.

    Just to let you know I did cleared build, reboot the system last day. More surprisingly I was getting same error when I started a new project (IN THE SAME WORKSPACE) and it was not detecting any variables I declared. which was pathetic. I then created a new project in the NEW WORKSPACE and it started detecting the variables and I switched back to the originial workspace and got it working. I dont know exactly which one has corrected it but this is all what I have did.