You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Breakpoint in MainWindow's constructor doesn't work #342
It appears the debugger is potentially attaching too late, and I'm not able to set breakpoints in app.xaml's constructor and launched events as well as MainWindow's constructor.
To Reproduce
Repro steps:
Create a new navview template: dotnet new winui-navview
Launch vscode: code .
Accept vs code's winapp dialog to add launch dialog
Set breaking point MainWindow.xaml.cs's constructor, anywhere in App.xaml.cs's code and in NavView_SelectionChanged
F5 to launch and run. Notice no breakpoints in the constructor or app.xaml is ever hit. When selecting a different navigation item, that breakpoint is hit.
Activity