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

前端 未结 5 1380
我寻月下人不归
我寻月下人不归 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 11:54

    If it is a complete trace you want, I believe a tool like SmartInspect could take you a long way.

    It would require you to add logging to your code but for what you need, that would be unavoidable.

    Some of its highlights

    Monitor in Real-Time
    High-performance live logging via TCP or named-pipes to the Console

    Watch and Monitor Resources
    Track variable values, session data and other application resources.

    Rich Logging & Tracing
    Track messages, exceptions, objects, files, database results & more.

提交回复
热议问题