Debugging without executing your application
- Posted: Jul 30, 2009 at 11:06 AM
- 391 Views
- 4 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
I came across Habib Heydarian's blog and he has one of the coolest tips I've seen in a while with debugging. Habib shows how to debug an application without actually running it.
He uses the Immediate Window (Debug –> Windows –> Immediate Window) to actually create an instance of the Window then uses the Show Dialog method to display it. Since this code is executing, it will trigger break points in your code!