Solving random crashes

前端 未结 17 977
青春惊慌失措
青春惊慌失措 2021-01-31 08:15

I am getting random crashes on my C++ application, it may not crash for a month, and then crash 10 times in a hour, and sometimes it may crash on launch, while sometimes it may

17条回答
  •  日久生厌
    2021-01-31 08:58

    Another basic check: Make sure you do a full rebuild of your project. If you've been tweaking various files (especially header files) and doing partial builds then things can get messy if your build dependencies aren't perfect. A full rebuild just removes that possibility.

    Also for Windows check out Microsoft's Debugging tools for Windows, and particularly their gflags tool.

提交回复
热议问题