Visual Studio has an option (under Debugging / General) "Enable Just My Code"
What is 'Just My Code'? Visual Studio doesn't explain the feature.
From Visual Studio Docs:
Enable Just My Code: The debugger displays and steps into user code ("My Code") only, ignoring system code and other code that is optimized or that does not have debugging symbols.