I have a sandbox feature, and I've added two event receivers - FeatureActivated and FeatureInstalled. The FeatureInstalled event handler executes, if I attach to the SPUCWorkerProcess and the SPUCHostProcess I can debug the code. However, my breakpoints in the FeatureActivated code are not hit. Also, though in the project properties I have selected the No activation option, in the Solution gallery the feature is always activated.
How can I debug the FeatureActivated event handler in a sandboxed solution? I've also tried Debugger.Break, but it does not work.