I decided to try to turn on Visual Studio output for Routed Events in order to figure out why my handler was not being called. I went to
Tools >> Options >> Debugging >> Output Windows >> WPF Trace Settings
I changed the "RoutedEvents" setting from "Off" to "Verbose". (The "All Debug Output" setting under the "General" section was already set to "On")
Then I started debugging again and expected to be inundated with messages in the output window. Instead I got... nothing. No additional output whatsoever. I was clicking buttons left and right. Nothing.
I tried other levels of output but none of them seem to have any effect on my debug output.
I tried creating a brand new WPF Sample app. Put a button in there and clicked on it. No output there either.
Is there some other setting I need to change? Or does the output go to some other special window or something?
This is Visual Studio 17.8.6 with a WPF app and .NET 8.0. I am running a Debug build