System info: Windows 7, MSVS 2010
The following is a simple program, in which I am testing how Call Stack
option in debug works
#include<stdio.h>
#include "stdafx.h"
int main()
{
printf("hello"); //breakpoint
}
When I debug the control hits the break point and the Call Stack is:
testapp.exe!main() Line 10 C++
testapp.exe!__tmainCRTStartup() Line 555 + 0x19 bytes C
testapp.exe!mainCRTStartup() Line 371 C
kernel32.dll!75e7ed6c()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
ntdll.dll!77a537eb()
ntdll.dll!77a537be()
How do I interpret this result? Ad what is __tmainCRTStartup()
?
Update
Just checked, the same output in Call Stack even if I am having .c file instead of .cpp file.