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!
Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.