In a .net Exception how to get a stacktrace with argument values

前端 未结 11 1431
南方客
南方客 2020-12-01 01:58

I am trying to add an unhandled exception handler in .net (c#) that should be as helpfull for the \'user\' as possible. The end users are mostly programers so they just need

11条回答
  •  被撕碎了的回忆
    2020-12-01 02:35

    Since the end users are developers, you can provide them with a version that enables logging of all the key values/arguments that are passed. And provide a facility so that they can turn on/off logging.

提交回复
热议问题