A core feature of Visual Studio that allows developers to inspect, analyze, and troubleshoot code during execution.
If I use for example the SDK 10.0.19041.0 (from sdk-archive),
I have the source in
C:\Program Files (x86)\Windows Kits\10\Source\10.0.19041.0\ucrt
For example, if I debug abs function, it goes to :
C:\Program Files (x86)\Windows Kits\10\Source\10.0.19041.0\ucrt\stdlib\abs.cpp
//
// abs.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Defines abs() and _abs64(), which compute the absolute value of a number.
//
#include <stdlib.h>
#pragma function(abs, _abs64)
extern "C" int __cdecl abs(int const number)
{
return number >= 0 ? number : -number;
}
extern "C" __int64 __cdecl _abs64(__int64 const number)
{
return number >= 0 ? number : -number;
}