Unable to StepInto the code while debugging?

In Visual Studio, System.Diagnostics.DebuggerStepThroughAttribute is added automatically by some of the code generators. You may face challenges while debugging the code because this attribute tells the debugger not to stop in the specifed method/class which is attached to it.

Observation
If you are able to setup breakpoints in the code and hit them but are unable to step-Into or Step-Through then there are chances that this attribute is added in your code.

How to get it worked
In most of the cases you can comment-out the lines of code for this attribute.