How can I get WinForms to stop silently ignoring unhandled exceptions?

后端 未结 4 541
我在风中等你
我在风中等你 2020-12-01 13:57

This is getting extremely irritating. Right now I have a winforms application, and things were not working right, but no exceptions were being thrown as far as I could tell

4条回答
  •  一整个雨季
    2020-12-01 14:33

    Having experienced this often and identified the issue regarding 64 bit OS and the Form.Load event, I always just make a point of doing all my start up functions in the Form.Shown event. For all practical purposes this is the same thing (aside from a few rare, exceptional circumstances), and the JIT message is produced in the Shown event.

提交回复
热议问题