See Also: DebuggerStepperBoundaryAttribute Members
The System.Diagnostics.DebuggerStepperBoundaryAttribute attribute is used as an escape from the effect of a System.Diagnostics.DebuggerNonUserCodeAttribute. When executing within the boundaries of the System.Diagnostics.DebuggerNonUserCodeAttribute, designer-provided code is executed as a step-through until the next user supplied code is encountered. When context switches are made on a thread, the next user-supplied code module stepped into may not relate to the code that was in the process of being debugged. To avoid this debugging experience, use the System.Diagnostics.DebuggerStepperBoundaryAttribute to escape from stepping through code to running code. For example, in vsprvslong, encountering a System.Diagnostics.DebuggerStepperBoundaryAttribute while stepping through code using the F10 key (or Step Over command) has the same effect as pressing the F5 key or using the Start Debugging command.