Visual Studio 2015 with .NET 4.6.1
I have a user code that calls the infrastructure code (not user code, but code created to make the application easier), and the infrastructure code calls the user code and continues to execute. So: usercode1 -> infrastructure method -> usercode2
In debugging, I want to step over only the infrastructure method, but I want to continue in usercode2 without debugging through the inside of the infrastructure method.
I tried to use attributes DebuggerStepThroughand DebuggerNonUserCodeinfrastructure of the method, but they seem to step over usercode2, unless I have a breakpoint there.
Any recommendations on how to step over only the infrastructure code and continue debugging in usercode2?
source
share