How to know who kills my threads

后端 未结 15 703
南旧
南旧 2020-12-05 00:19

I got a thread that is just banishing.. i\'d like to know who is killing my thread and why.

It occurs to me my thread is being killed by the OS, but i\'d like to

15条回答
  •  南方客
    南方客 (楼主)
    2020-12-05 00:50

    Try use app domain UnhandledException event: http://msdn.microsoft.com/en-us/library/system.appdomain.unhandledexception.aspx

    it may give you some information if you miss some exceptions

提交回复
热议问题