I'm using Visual Studio 2015 Update 3 and I have a very simple pure Win32 console C++ "Hello World" like this, that serves no purpose other than doing experimentation:
int main()
{
printf("Hello world");
char *test = (char*)malloc(100);
}
I cannot step into malloc if the project uses the Multi-threaded DLL runtime library (Project Properties->Configuration Properties->C/C++/->Runtime Library : Multi-threaded Debug DLL (/MDd)).
But when I change this setting to Multi-threaded Debug (/MTd), then steping into malloc works fine.
But stepping info printf always works fine. Stepping into my own code always works fine too.
Is there a way to enable stepping into the runtime library DLL ?
printfworks but not intomalloc. BTW I installed Update 2 yesterday, but once the installation was finished, it turned out to be actually Update 3. I haven't tried stepping intomallocwith earlier versions of VS. - Jabberwocky