Debugging problems in Visual Studio 2005 - No source code available for the current location

Posted by espais on Super User See other posts from Super User or by espais
Published on 2010-03-25T13:13:00Z Indexed on 2010/03/25 13:23 UTC
Read the original article Hit count: 361

Hi all

I've searched up and down Google for others with a similar problem, and while I can find the error I don't think that other people have the same base problem that I do.

Basically, I had to create a project for a unit-testing environment in order to run this test suite.

First, I add my original C file, compile, and then a test file (C++) is generated. I then exclude my original source from the project, include this test script (which includes the original source at the top), and then run.

I can debug the test file fine, but when it jumps to the original C file I get the dreaded 'no source code available for the current location' error.

Both files are located within the same location, and I compiled the original file without any issue.

Anybody have any thoughts about this? Its driving me crazy!

© Super User or respective owner

Related posts about visual-studio-2005

Related posts about debugging