Avatar of Bob Valentine
Bob Valentine
Flag for United States of America asked on

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

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
.NET ProgrammingVisual Basic.NETProgramming

Avatar of undefined
Last Comment
Bob Valentine

8/22/2022 - Mon
TechieMD

Go to Tools->Options->Debugging->General and then click the Step Over Properties And Operators (Managed Only) checkbox.
Bob Valentine

ASKER
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?
ASKER CERTIFIED SOLUTION
Bob Valentine

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Bob Valentine

ASKER
My solution solved the debugging issue that I was having after transferring my project files to a second computer.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck