Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to fix this debug exception: Operators.vb not found.

Posted on 2016-08-30
4
Medium Priority
?
128 Views
Last Modified: 2016-09-04
I am having a problem with the debugger in Visual Studio 2015 Community on my desktop Windows 10 PC. When I set a breakpoint and then Step Through my code by pressing the F8 key (Step Into), when I come to the following code: "If Method = "MACRS Then",  I get the following message: "Operators.vb not found. You need to find Operators.vb to view the source for the current call stack frame. Locating source for f:\dd\vb\runtime\msvalib\helpers\Operators.vb." I have searched my hard drive for the Operators.vb file, but cannot find it anywhere. (I do not have an F drive, and never did.)

I have Visual Studio 2015 Community on my laptop and the debugger seems to step over that same line without throwing an exception. So I compared the two debug exception settings and set them the same, but this did not fix the problem on my desktop version. I also did a search on my laptop to see if I could find the Operators.vb file and copy it to my desktop PC, but I did not find the Operators.vb file on my laptop either.

I have Cleared and then Rebuilt my application, but this also did not fix the problem. I even deleted and then re-installed Visual Studio 2015 Community, and that also did not fix the situation.  I have searched the internet for solutions, but there was no help there either. The topics that seemed to be right on topic had no solution, just the question.

This is frustrating because it seems like it should be a simple fix, a debug setting, or something similar, but I can't figure it out. Any help will be greatly appreciated.
Operators-vb-Not-Found.pdf
0
Comment
Question by:Bob Valentine
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 5

Expert Comment

by:TechieMD
ID: 41777233
Go to Tools->Options->Debugging->General and then click the Step Over Properties And Operators (Managed Only) checkbox.
0
 

Author Comment

by:Bob Valentine
ID: 41777319
TechieMD, thanks for your help. However, when I looked at the Step Over Properties And Operators (Managed Only) exception setting, the checkbox was already checked. So unfortunately for me, this does not fix the problem I am having with the debugger in Visual Studio 2015 Community.

Any other suggestions for help in fixing the debugger so that it will be able to find the Operators.vb file? BTW, the debugger also asks for ProgramData.vb when it encounters other lines of code. What is going on? I can't be the only person who has ever encountered this problem, or can I?
0
 

Accepted Solution

by:
Bob Valentine earned 0 total points
ID: 41777626
I finally figured out the root of the problem. The problem was created after I transferred my VB.Net project file from one PC to a second PC. The problem was contained in the .suo file. I learned that this file contains option settings for a specific user on a specific PC.

So I deleted the .suo file and opened my project in Visual Studio 2015 Community and now I was able to press the F11 key to step into my code line by line without throwing a debug exception that looks for the Operators.vb file and others. I also went to Tools>Options>Debugging>General and checked the Enable Just My Code checkbox so that the debugger is only debugging my code.

So all is good. I hope this will help others who might transfer their project (including the .suo file ) to another developer's PC and then have the same problem that I did with the debugger.
0
 

Author Closing Comment

by:Bob Valentine
ID: 41783537
My solution solved the debugging issue that I was having after transferring my project files to a second computer.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Starting up a Project

722 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