How to get non-current thread's stacktrace?

前端 未结 6 1701
别那么骄傲
别那么骄傲 2020-12-05 02:28

It is possible to get stacktrace using System.Diagnostics.StackTrace, but thread has to be suspended. Suspend and Resume function are obsolete, so I expect that better way e

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-05 03:04

    It looks like this was a supported operation in the past, but unfortunately, Microsoft made this obsolete: https://msdn.microsoft.com/en-us/library/t2k35tat(v=vs.110).aspx

提交回复
热议问题