locked
Breakpoint does not work in .cs File RRS feed

  • Question

  • User390760 posted

    I have a xamarin form solution in visual studio 2019, I want to run step by step, I put a breakpoint and run de aplication but breakpoint does not work it.

    Wednesday, January 22, 2020 7:59 PM

Answers

  • User368382 posted

    Are you referring to the xaml.cs or the ViewModel .cs file? If it's the ViewModel, when I've had this happen to me it's because the app is breaking before it hits the ViewModel due to an issue in the xaml. I usually stick a try/catch around the InitializeComponent(); in the constructor of the xaml.cs to see what I've done wrong :)

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, January 23, 2020 9:59 AM