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

前端 未结 11 2280
你的背包
你的背包 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:32

    Well, the problem is you are getting an access violation. You may want to attach with WinDBG and turn on all of the exception filters. It may still not help - my guess is you are getting memory corruption that isn't throwing an exception.

    You may want to look at enabling full pageheap checking

    You might also want to check out this older question about heap corruption for some ideas on tools.

提交回复
热议问题