If you are using VB, you can add the keyword Stop in your code to suspend execution. The Stop statement is the equivalent to adding a breakpoint. Sometimes it is just faster to type “Stop” than it is to remember to hit F9 or reach for the mouse.
If you are using C#, you can use the Debugger.Break() method in your code, provided you are using the System.Diagnostics namespace.
Technorati Tags: VS2005Tip,VS2008Tip