catch(…) is not catching an exception, my program is still crashing

后端 未结 4 1089
余生分开走
余生分开走 2021-02-19 17:01

I\'m having a problem with a tester that my application crashes in initialization. I added more logging and exception handling but it still crashes with the generic \"this progr

4条回答
  •  孤街浪徒
    2021-02-19 17:15

    Do you declare any global objects? If you have any objects created outside your main loop, that could explain why it is not caught ( it is not in your try-catch ).

提交回复
热议问题