Reputation: 49
When I navigate back to the same view, OnNavigatedTo(..) is not called. In my debug window, I get following error:
A first chance exception of type 'System.InvalidOperationException' occurred in Microsoft.Practices.Prism.dll
How can I get more debug information? I want to know where PRISM fails..
I can not find out where the error occurs, because the viewmodel and view are already (correctly) created. I'm just navigating back to it.
Upvotes: 0
Views: 246
Reputation: 1233
You can choose which exceptions to break on in the Exception Settings tab while debugging. For more information, see https://msdn.microsoft.com/en-us/library/x85tt0dd.aspx.
In your case, you would need to enable System.InvalidOperationException
under Common Language Runtime Exceptions.
Upvotes: 1