How to Create Breakpoint programmically


If you are debugging your code and want to set breakpoint programmatically you can use Debugger class Break method as follows:

System.Diagnostics.Debugger.Break();

 

 

About author


User avatar

Waqas Anwar

Founder of EzzyLearning.com, Senior Consultant, Microsoft .NET and Web Technologies

Comments