I am using async
await
as well as Task.Factory.StartNew
in my application but one thing that i noticed changed is that visual studio is no more breaking when an unhandled exception occured
Here is what i mean by before using await
but after i turn a method into a Task
and use await
It is only captured in the output area in visual studio...
BTW : It is very strange for me as i am new to .Net4.5 please excuse me if failed to illustrate what i need specifically but again what i want to know is
- How could i make visual studio break on the exceptions when using async await