Years of experience with VS6, VS.NET (v7) and never ran into this:
Simple HelloWorld C++ console application. When I try to debug it, I get
"Debugging information for 'helloworld.exe' cannot be found or does not match. Binary was not built with debug information."
I checked the project options and changed the linker option to generate debug info. Now it executes, but something totally different; going into file crt0.c and gs_support.c, never executing my main() program. Anybody know what's going on
TIA
Pete
P.S. I have a more serious app that was developed with VS7 and that I need to debug. I'm running into the same problem with it using VS2005.

VS 2005 Debug Settings
Hazlitt
When I execute it using F10 (or F11) it goes into function __tmainCRTStartup() in file crt0.c (not my file). Continuing stepping through, it calls _tmain(__argc, _targv, _tenviron) function which appears to call my main, but again, my breakpoints are ignored. Also, I've tried stepping into this _tmain() function using F11 but it won't let me.
As far as I can tell, I'm in the Debug mode since the linker places the executable into directory "Debug" and in the solution Configuration Manager the active configuration chosen is Debug.
qjd101
What happens if you set a breakpint in your code Does it work It should...
Usually the message that there is no debuginfo arrises only, when you are in release mode. Switch to Debug mode.
Anyhow, your main is called in the context of the CRT. It is possible to see and execute this code too. This is not a bug, its a feature. When I try this on my machine and I press F10 it starts with the main function... so I can not repro the problem.
What are your rpoblems with your application
SteveD10
Deleted solution and project files (.sln, .vcproj, etc.)
Created a new solution - Win32 Console App
Deleted the newly created stdafx files
Altered project settings a bit regarding precompiled headers, etc.
Imported existing .cpp and .h files.
Voila!! It works.
John Rager