Home > Back-end >  How to display debug error in xamarin vscode?
How to display debug error in xamarin vscode?

Time:07-01

When attempting to redirect to another page on my xamarin app, if there is a runtime error in the xaml page that I am redirecting to or the constructor for the view model, the page doesn't redirect but it also does not display any error and sits on the same page. Is there a way to debug this in vscode like I would with the chrome debugger console?

A stack trace or something along these lines to find out what the problem is would make life a lot easier.

CodePudding user response:

Just wrap the InitializeComponent(); of this page in the try-catch block and process the error.

  • Related