When I get an exception in code called by Silverlight whilst in debug mode I cannot F5 or F10 past the expection. It’s like VS (2008) gets stuck on the exception and can’t get past it. I have to close the application and restart.
I am using Vs2008 Team Edition for Software Developers.
Anyone else experienced this? Know any workarounds or settings to check?
Thanks,
Mark
I haven’t used Silverlight, but this sounds like normal debugging behaviour. When debugging C# apps in VS, when you reach an unhandled exception the debugger stops on that line.
Your choices are:
Implement some exception handling (try/catch).
Not sure if this feature is available yet with Silverlight, but can you drag the arrow that points to the currently executing line to a different line?