Solved

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

Posted on 2016-08-27
7
23 Views
Last Modified: 2016-09-05
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.
0
Comment
Question by:Bob Valentine
  • 5
7 Comments
 
LVL 3

Expert Comment

by:Dave
Comment Utility
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.
0
 

Author Comment

by:Bob Valentine
Comment Utility
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.
0
 

Author Comment

by:Bob Valentine
Comment Utility
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?
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:Bob Valentine
Comment Utility
Please keep this question open, as I spoke too soon and I still have the same issue after re-installing Visual Studio 2015 Community.
0
 

Accepted Solution

by:
Bob Valentine earned 0 total points
Comment Utility
I finally found out the resolution to the debug issue that I was having as explained in my prior original post of this question. I have found if you delete the .suo file from your project and then open your project, you should be able to press the F11 key and step through your code line by line without throwing the exception: ProjectData.vb not found, Operators.vb not found, etc.

This issue happened in my case because I transferred my project from one computer to another computer. The .suo file contains Specific user Options that may not be compatible with the other computer. Therefore, if the .suo file is deleted on the second computer the user options settings will be reset to the default settings.

I have attached a copy of the Solution Properties screen that shows the location of the Debug Source Files. It shows the source locations and the files that the debugger will not look for (locations on the f: drive).
Solution-Properties.pdf
0
 

Author Closing Comment

by:Bob Valentine
Comment Utility
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.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now