Question

I am new to Visual Studio. I have Visual Studio 2010 and Windows 7. I recently checked out a Visual C++ Project. The project was originally a VC++ 6 Project, but a general VC++ Project is available to open with the project that I checked out, so I open the VC++ Project to work with.

When I try to debug the project, none of my breakpoints are hit and the Disassembly window comes up instead. The breakpoints have the error: "Breakpoints will not currently be hit. No symbols loaded for this document."

I have researched this error and fruitlessly tried many things, but I'm wondering if there is something simple I am missing about working in VS10 with a project written in a different version of Visual Studio.

Was it helpful?

Solution

Make sure you 'Rebuild' to ensure your binaries are fresh before you start the debug session. If you get build errors, you will need to fix the code or project settings.

[Added] Make sure you're building and debugging a Debug build configuration. A Release build usually won't include debug information.

If you have VC 6 available, you could instead install VC6 and Daffodil, then set the project's Platform Target to v60. This way you're building with VC6 build tools, thus minimizing the need for code changes.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top