By default, the debugger skips over non-user code (if you want more details, see Just My Code).
Just My Code is a Visual Studio debugging feature that automatically steps over calls to system, framework, and other non-user code. In the Call Stack window, Just My Code collapses these calls into [External Code] frames.
Just My Code works differently in .NET, C++, and JavaScript projects.
For most programming languages, Just My Code is enabled by default.
Enable Just My Code is a global setting that applies to all Visual Studio projects in all languages.
To set this compiler option in the Visual Studio development environment:
References
Tutorial: Debug C++ code - Visual Studio (Windows) | Microsoft Docs
教程:调试 C++ 代码 - Visual Studio (Windows) | Microsoft Docs
Debug user code with Just My Code - Visual Studio (Windows) | Microsoft Docs
使用“仅我的代码”调试用户代码 - Visual Studio (Windows) | Microsoft Docs
/JMC (Just My Code debugging) | Microsoft Docs
Announcing C++ Just My Code Stepping in Visual Studio - C++ Team Blog (microsoft.com)
Visual Studio C++调试技巧和窍门 | Microsoft Docs
Debugging Tips and Tricks for C++ in Visual Studio - C++ Team Blog (microsoft.com)