Home > Net >  Watch window at debugging: CS0103: The name '<any local>' does not exists in the cur
Watch window at debugging: CS0103: The name '<any local>' does not exists in the cur

Time:12-06

Am using:

Visual Studio Community 2022 (64-bit), Version 17.4.2 with

.NET Framework, Version 4.8.09032.

There was an update yesterday, 02-12-2022, with I installed through the 'Visual Studio Installer'.

After this I can't watch local variables in the 'Watch' window while debugging. It gives me a CS0103 error (see image below).

Also in the window 'Locals' they do not appear.

(edit: Have posted the code of StringParser here Debugger Watch Window

CodePudding user response:

I cannot reproduce this error according to the code. Maybe you can provide more information about StringParser to help us reproduce the problem and give more suggestions.

You can try to enter image description here

  • Related