Need a way to periodically log the call stack/stack trace for EVERY method/procedure/function called

前端 未结 5 1377
我寻月下人不归
我寻月下人不归 2020-12-08 11:51

I\'m working on a very large application where periodically I\'d like to log the ENTIRE call stack up until the current execution point (not on an exception). The idea here

5条回答
  •  忘掉有多难
    2020-12-08 12:20

    From the responses and comments to other answers it sounds like you need a CALL LOG, not a CALL STACK. The information you want simply isn't present in a call stack.

    In which case I suggest you investigate a tool such as SmartInspect or AQ Time. Of the two I think SmartInspect is most likely to be relevant. AQ Time is more of an interactive profiling tool, where-as SmartInspect has facilities specifically for remote inspection.

提交回复
热议问题