I am new in Xamarin Forms. Using xamarin application breakpoints work very well under Android but fails with UWP.
Checking option project → Properties → Build → "Compile using the native code tool chain" causes navigation to not work.
NB: vs 2017 is up to date (version 15.5.7)
Set breakpoints in source code To set a breakpoint in source code: Click in the far left margin next to a line of code. You can also select the line and press F9, select Debug > Toggle Breakpoint, or right-click and select Breakpoint > Insert breakpoint. The breakpoint appears as a red dot in the left margin.
If a source file has changed and the source no longer matches the code you're debugging, the debugger won't set breakpoints in the code by default. Normally, this problem happens when a source file is changed, but the source code wasn't rebuilt. To fix this issue, rebuild the project.
Visual Studio's/Atmel Studio's Breakpoint Window gives you an overview of all breakpoints you have set in your project. You open the Breakpoint Window with the menu item Debug > Windows > Breakpoints or by pressing [Alt+F9].
This can happen if xamarin is used with .net standard, by default the shared library uses the 'portable' debug mode, if it is changed to 'Full' it should work correctly. Go to Project properties -> build -> Advanced -> Debuggingh information and set Full.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With