Check the Tools, Options, Debugging, General, "Enable Just My Code" setting.
Why does Vs 2022 code step open a .cs file and how do I stop this?
Something happened to my VS2022 (community) software {default options ?} to cause the following:
I set a breakpoint and start debugging - the operation stops at the breakpoint
I click on the step into icon and then a .cs file opens in the edito . Examples:
Code stepped into opens .cs file
If StrTemp.Contains("Factory\bin\Debug") Then string.cs (see image)
StrTemp = Path.GetDirectoryName(StrTemp) path.cs
If Not Directory.Exists(StrPath) Then directory.cs
This is not limited to one solution or project so I assume that I have unknowingly corrupted some value in a parts of the debug functions in TOOLS > OPTIONS.
I would be grateful for any help with this problem. Thank you.