Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

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.
0
Bob Valentine
Asked:
Bob Valentine
  • 5
1 Solution
 
DaveCommented:
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
 
Bob ValentineAuthor Commented:
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
 
Bob ValentineAuthor Commented:
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Bob ValentineAuthor Commented:
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
 
Bob ValentineAuthor Commented:
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
 
Bob ValentineAuthor Commented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now