title: On OSX Lion XCode shuts down the MacBook
body: <p>I have latest OSX Lion with XCode 4.1 on Macbook Pro. As soon as I type some code in XCode, my Screen shuts off and only option I have is to hard reboot my laptop. I have tried software updates to ensure everything is latest. How can I know who is causing this trip and shutoff of the screen and what are my options to fix it?</p>