Diagnosing runaway CPU in a .Net production application

前端 未结 10 769
野性不改
野性不改 2021-02-01 10:12

Does anyone know of a tool that can help me figure out why we are seeing runaway CPU in a managed app?

What I am not looking for:

10条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-01 10:24

    If you have managed code in lieu of a profiler worth using I've found that throwing a log message into your code is damn useful for spotting infinite loops and general multi thread progressions.

    i.e

    step 1 msg
    step 2 msg
    

    thread now 100% and no step 3 msg = bug.

提交回复
热议问题