Replies: 3 comments
-
The exception might be expected by the test, or it might be caught by something before it gets to the test. Exception on its own doesn't necessarily mean something went wrong - especially in tests. |
Beta Was this translation helpful? Give feedback.
-
vitek-karas Its not expected by the test. I try to the debug followint test: SetAndGetReturnsObject() |
Beta Was this translation helpful? Give feedback.
-
I remember I did Edit: that will prevent building and starting at all. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I run unit tests they passed (Microsoft.Extensions.Caching.Memory.Tests), but when I try to debug some of them it throws following exception:

Visual Studio 2022 17.1.6
Windows 11 22000.652
N.B:
I followed these guides:
https://github.com/dotnet/runtime/tree/main/docs/workflow https://github.com/dotnet/runtime/blob/main/docs/workflow/requirements/windows-requirements.md
Any idea why I am unable to debug unit tests?
Beta Was this translation helpful? Give feedback.
All reactions