申请终止后的例外情况

申请终止后的例外情况

本文介绍了申请终止后的例外情况的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在Windows Mobile 5设备(Symbol MC70)上遇到CF 2.0应用程序的问题。应用程序正在引发异常,但很难在主方法完成后识别异常。因为它发生在main()之后,Application.Run周围的try-catch不会捕获异常。在应用程序终止时没有运行后台线程。

MC70上的异常有点间歇性但在运行Windows Mobile 5或6的其他移动设备上似乎不会发生。此时我对任何建议持开放态度关于可能的原因或调试方法(Visual Studio调试器在引发异常之前断开连接)。

提前感谢您提供的任何帮助。

Hi,

I'm having an issue with a CF 2.0 application on a Windows Mobile 5 device (Symbol MC70). The application is causing an exception to be raised but it is difficult to identify the exception as it occurs after the main method has completed. As it occurs post-main() a try-catch around Application.Run will not catch the exception. There are no background threads running on application termination.

The exception is somewhat intermittent on the MC70 but does not appear to occur on other mobile devices running Windows Mobile 5 or 6. At this point I am open to any suggestions on possible causes or ways to debug (the Visual Studio debugger disconnects before the exception is raised).

Thanks in advance for any help you can offer.

推荐答案


这篇关于申请终止后的例外情况的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 12:26