When running a VB.NET Winforms application in Visual Studio 2015 (debug mode), Immediate Window shows notice about handled exceptions this way (it is in Portuguese but I think English is not so different):
Exceção gerada: 'System.NullReferenceException' em MyApp.exe
Exceção gerada: 'System.NullReferenceException' em MyApp.exe
Exceção gerada: 'System.NullReferenceException' em MyApp.exe
Exceção gerada: 'System.NullReferenceException' em MyApp.exe
Exceção gerada: 'System.NullReferenceException' em MyApp.exe
Exceção gerada: 'System.NullReferenceException' em MyApp.exe
My question is: can I adjust some setting so that it shows also where it comes from? (filename and line number, or method name, or both if possible)
Thank you very much.