In C#
[System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent()
{
//Anything
}
In VB.NET
<System.diagnostics.debuggerstepthrough()>
Private Sub InitializeComponent()
'Anything
End Sub
The advantage of it is that you can save lot of time if you want to step
into your code at run time, but don't want to step into some
procedures unless they raise an exception.
0 comments:
Post a Comment