CF 3.5应用程序仅在VS2008的调试模式下崩溃 [英] CF 3.5 Application crashes only in debug mode with VS2008
问题描述
您好,我有一个安装了Windows CE 6.0 R3和.Net Compact Framework 3.5的目标设备。我用CF 3.5开发了一个应用程序。如果应用程序在发布模式下从目标运行它可以正常工作但是如果我使用VS2008在
调试模式下运行应用程序,应用程序会随机崩溃(消息说"严重错误并将被关闭")。为什么?我该如何调查?
Hello, I have a target device with Windows CE 6.0 R3 and .Net Compact Framework 3.5 installed. I have developed an application with CF 3.5. If the application runs from the target in Release Mode it works fine but If I use VS2008 to run the application in Debug Mode, the application randomly crashes (the message said about "serious error and will be closed"). Why ? How can I investigate ?
最好的问候,
Paolo
Best regards,
Paolo
推荐答案
我尝试过以下情况:
I have tried the following situations :
- 从设备启动发布模式 - >好的 -
- Release mode started from the device --> OK-
- 从设备启动调试模式 - > OK
- Debug mode started from the device --> OK
- 从VS2008启动调试模式(调试器已激活) - > KO(崩溃)
- Debug mode started from VS2008 (debugger actived) --> KO (crash)
- 从VS2008的设备+附加过程启动调试模式 - >它在附加过程之前工作正常。附加过程后KO(崩溃)
- Debug mode started from the device + attach process from VS2008 --> it works fine before attach process. After attach process KO (crash)
所以我认为调试器存在一些问题!!
So I think there is some issues with debugger !!
帮助我!
Paolo。
这篇关于CF 3.5应用程序仅在VS2008的调试模式下崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!