How can I debug a win32 process that unexpectedly terminates silently?

前端 未结 11 2025
你的背包
你的背包 2021-02-03 13:29

I have a Windows application written in C++ that occasionally evaporates. I use the word evaporate because there is nothing left behind: no \"we\'re sorry\" message from Window

11条回答
  •  有刺的猬
    2021-02-03 13:38

    The most common cause for this kind of sudden disappearance is a stack overflow, usually caused by some kind of infinite recursion (which may, of course, involve a chain of several functions calling each other).

    Is that a possibility in your app?

提交回复
热议问题