Hakan,
You have to build and execute your app from the Visual Studio debugger. The debugger will stop where there is an error
giving you the oportunity to review the low level calls stack, etc.
Here you have a detailed guide to learn how to do it:
Though the guide is for VS2013, it properly works for VSC2015. In fact I have updated it these days
as I have been using the VSC2015 debugger too
↧