Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugger is not working on Visual Studio 2022

I am using Visual studio 2022 with .NET Framework 6.0 while i am trying to debug application not hit the breakpoint at the starting point. try to apply debugger on program.cs class

I have applied all these changes but still not working for me .I don't know what happen.

  1. TOOLS->Options->Debugging->General, disable "Require source files to exactly match the original version" .
  2. TOOLS->Options->Debugging->Symbols, enable the Microsoft Symbols Server.
  3. TOOLS->Options->Debugging, check "Enable Just My Code' and "use Manage/Unmanage mode".

Also to many times restart the system and update the visual studio .

Please suggest the solution .

like image 939
Jaya acharya Avatar asked Jul 09 '26 05:07

Jaya acharya


2 Answers

That happens to me ~ once per week. To resolve it, I can shut down Visual Studio and delete the hidden .vs folder. After that it's fine again.

Microsoft is probably debugging this already, except they can't, because their breakpoints are not working.

like image 199
Thomas Weller Avatar answered Jul 11 '26 18:07

Thomas Weller


Just disable the "Enable JavaScript debugging....." from TOOLS->Options->Debugging->Genera window.

enter image description here

like image 41
tika Avatar answered Jul 11 '26 18:07

tika