u/Early_Attorney_8490

▲ 3 r/VisualStudio+2 crossposts

Debugger exited unexpectedly when passing from controller to View. MVC

Has anyone else hit a debugging issue today? It appears to be related to a Windows update that rolled out because it hit my team slowly throughout the day.

Visual Studio all versions, .net 8 MVC with razor cshtml.

I had a dev report early, then two more devs reported mid day, then I experienced it around 3pm EST. My other two devs also reported it later in the day.

I've traced it. Essentially the application runs without issue but the debugger exits when a controller passes to a view. All views seem to be affected, even views without a layout, and without a model passed in (bare html). I've tested all these scenarios.

This is a weird one because it affects many different (similar architecture) projects. It does not affect Framework 4.8 MVC projects. Those run and debug just fine in VS.

Help?

reddit.com
u/Early_Attorney_8490 — 1 day ago