Link to home
Start Free TrialLog in
Avatar of Bob Valentine
Bob ValentineFlag for United States of America

asked on

Visual Studio 2015- Debugger breaks and says: "ProjectData.vb not found"

Just recently when I set a break point and tried to step through my code, I got a message that says "ProjectData.vb not found". It also says "You need to find ProjectData.vb to view the source for the current call stack frame."

I don't know what I may have changed to cause the debugger to look for this file because I used to be able to set a break point and then step through my code without this problem. I have searched my computer for the ProjectData.vb file, but it is not on my computer, and I don't know where to get a copy of the file. I have also done a Google search, but have not found the solution.

I also do not know which debug setting that the error message is referring to when it says:"The debug source files settings for the active solution indicate that the debugger will not ask to find the file: f\dd\vb\runtime\msvbalib\Helpers\ProjectData.vb. I don't even have an f drive on my computer.

Where do I find a copy of the ProjectData.vb file, or what setting do I need to set in the debugger to get the Debugger to stop looking for this file, if I really don't need it in order to step through my code? I need to be able to set break points in my code and then step through my code. I am hoping that someone may be able to help me.
Avatar of Dave
Dave
Flag of United States of America image

If it worked well before, I suggest you try to clean and rebuild your project, and then check it again. I am not very sure what's the real reason is. But it seems that your project need this file, if it is moved or lost, it will generate error, maybe you could check the path and make sure it has this file.

The above happened with me earlier, i tried the above and it worked.
Avatar of Bob Valentine

ASKER

Thank you Dave for your reply.

I tried cleaning and rebuilding my project, but that didn't fix the situation. I also tried repairing Visual Studio 2015 Community, and that didn't fix the problem either.

So, I finally decided that the only other thing to try was to uninstall Visual Studio 2015 Community and then re-install it. And that worked! I can now debug my code by setting break points and then stepping through the code by pressing F8, like I used to be able to do before the issue started. I must have had a corrupted file.

This might help others in the future that have a similar problem.
I spoke too soon! I still have the problem after uninstalling and then re-installing Visual Studio 2015 Community on my Windows 10 computer.

However, I do have it running correctly on my Windows 7 computer. I am having the issue with Visual Studio 2015 Community that is running on my Windows 10 computer. Maybe it has something to do with Windows 10. I do not know. I will have to keep on trying to solve the issue.

Anybody else have this problem on Windows 10 and found a solution? Or know what the fix is?
Please keep this question open, as I spoke too soon and I still have the same issue after re-installing Visual Studio 2015 Community.
ASKER CERTIFIED SOLUTION
Avatar of Bob Valentine
Bob Valentine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I am the original poster of this question and I found the solution to my Debug issue and have described what I did to fix the issue.