Friday, September 21, 2007

Searching for the disappearing "run as" and "debug as" buttons on Flex 2 plug-in install.


I was beginning to record some of my exercises that I use to teach Flex (to save some time in previewing it live, as well as it being handy when I do online teaches of Flex). I keep on forgetting the fact that on my installation of the plug-in version of Flex Builder 2 on Eclipse 3.1.2 standard has its "run as" and "debug as" buttons missing!

So where are the buttons, or more precisely, how to enable them?

Answer:

  1. Switch between Development Perspective and Debug Perspective. The Run As and Debug As Buttons show up!
  2. Make a copy of the debug perspective, call it Development2.
  3. Remove unneccessary views (debug, variables, breakpoints, expressions) from the Development2 perspective.
  4. Delete the Development perspective (optional)
  5. Rename the Development2 perspective back to Development (if you deleted the missing buttons version)

and voila! buttons are back.