How to know in which part of the code an exception happened by looking at Visual Studio Output

2

I noticed that in some requests the output of my Visual Studio displays some messages like for example:

  

Exception Generated: 'System.Collections.Generic.KeyNotFoundException' in mscorlib.dll

     

Exception Generated: 'System.NullReferenceException' in SiteTeste.dll

PrintScreen of errors in output

Some exceptions are displayed on the class / line that the error happened, however looking at these I'm in the dark. How can I tell which part of the system these errors are going on?

    
asked by anonymous 18.10.2018 / 22:18

1 answer

0

Opening the Exception Settings window (shortcut ctrl + alt + e) takes a look if the exception in question is selected (there is a search there that makes it easier), if it is not selected just select it when you drop it in

    
19.10.2018 / 00:47