Debugging FullScreen Silverlight On a Single Monitor
I've been having an error when trying to use any of the SL controls after going into full screen mode on my application. I spent a few minutes with one of the Microsoft PM's here @ Mix in the Sandbox area and we tracked down what the error is. The error was caused because I was hiding my "Go Full Screen " button after full screen was enabled. Simply not hiding that allowed things to work. This is apparently a known bug with the beta1 bits.
In tracking it down we encountered an interesting issue with trying to debug a Full Screen application on a single monitor. In the past, I hadn't had a problem because I was always on a machine with dual displays and had Visual Studio on the non Full screen monitor. This time I was on my laptop, and when we set a breakpoint in the Application_UnhandledException method it kept me from being able to get back to Visual Studio to actually debug and see the exception. It stopped and the breakpoint worked, but the Full Screen SL application would not let go of control of the display.
To get around this, we simply added the following line to the Application_UnhandledException method to force the application back to non full screen.
Application.Current.Host.Content.IsFullScreen = false;
References (1)
-
Response: Online Dating TipsI have just foun this kind of online dating tips in a new site. Very interesting and helpfull.
Reader Comments