Debugging without executing your application
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!
Via [10-4 episode on the Historical Debugger in Visual Studio 2010]
Comment Notification
If you would like to receive an email when updates are made to this post, please register here
Subscribe to this post's comments using
Comments
Leave a Comment