Using Reflection Where You Didn't Expect - Debug Watches!
April 17, 2024
• 700 views
reflection in C#debugdebuggingvisual studiointegrated development environmenthow to debugbeginner debuggingdebugging for beginnershow to debug for beginnersdebug tutorialdebugging programsdebuggerdebugging breakpointsdebugging guidedebug tipsdebug programmingdebug programdebug codedebugger visual studiodebug watchdebugging dotnetdebugging c# codedebugging c#debug c#debug watch visualdotnet reflectionreflection in c#dotnet
You've heard all of the stories about using reflection in your C# code: It's bad, it's slow, it's dangerous, don't do it! And while it's true that reflection does get a lot of misuse, there's still some cool things you can do with it... Like debugging your C# application!
In this video, I'll walk you through how I was able to get a bit more insight during my debugging because I set up a debug watch with reflection. Seemingly, the watch variable had a little bit more power than I expected when it came to reflection!
