Dump stacktraces of all active Threads

后端 未结 6 1871
离开以前
离开以前 2020-12-06 04:24

I\'m trying to dump a list of all active threads including the current stack of each. I can get a list of all threads using threading.enumerate(), but i can\'t figure out a

6条回答
  •  眼角桃花
    2020-12-06 04:44

    Just for completeness sake, Products.LongRequestLogger is super helpful to identify bottlenecks, and to do so it dumps stacktraces at specific intervals.

提交回复
热议问题