I'm using .NET Core 2.2
with EF and when queries are being run against database, I see a bunch of ArgumentExceptions being logged in the Output -> Debug window such as:
Exception thrown: 'System.ArgumentException' in System.Linq.Expressions.dll
The thing is my app is working perfectly fine, I get proper results and everything. I see like a hundred of these in the Visual studio's debug for no apparent reason.
Is there anyway I could find more information about these exceptions? Maybe let Visual studio break on them or something like that?
Edit: This did not happen on a different machine. I guess something bad is happening with my system and I could not tell what.
Debug -> Windows -> Exception Settings->Common Language Runtime Exceptions
checkbox for theSystem.ArgumentException
. Also try to uncheckDebugging > General > Enable Just My Code
. Does it change something? – AlbertK Feb 3 '19 at 12:59