I would like to tell Visual Studio to break at the first instruction of a program (before the main() function is called). I remember being able to do this in CodeWarrior IDE for embedded development, is this possible in Visual Studio?
I would like to tell Visual Studio to break at the first instruction of
Share
Debug + New Breakpoint + Break at Function. Use wmainCRTStartup if you compile with Unicode support enabled, drop the w if you don’t. You’ll be stepping through the CRT initialization code from there.