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
You should instrument DoSomethingForALongLongTime() with lots of debug logs, so you can find out at what spot does the code stop executing. Or attach a debugger and break on all first chance exceptions.