How to find the source of a StackOverflowException in my application

前端 未结 2 1632
执笔经年
执笔经年 2020-12-30 23:58

I have a StackOverFlow occurring somewhere in my application - and I\'m trying to figure out ways to track it down.

My event logs show a crash every day or so with th

2条回答
  •  一向
    一向 (楼主)
    2020-12-31 00:43

    This has already been answered, but I was searching for a better answer than WinDbg on the affected machine, since this is only happening on a production server machines for me where I don't want to install WinDbg. I found this article where it refers to a downloadable tool from Microsoft that allows you to configure, on a per-exception code basis, how the system should respond to different exceptions. This will (hopefully) allow debugging on a different machine than the production machine:

    This DebugDiag utility can be configured to generate a crash dump when the StackOverflowException occurs. Download it here.

提交回复
热议问题