[WP8.1] Windows手机应用程序在调试模式下正常工作,但在发布模式下崩溃 [英] [WP8.1]Windows phone app is working properly in debug mode but crashing in release mode

查看:102
本文介绍了[WP8.1] Windows手机应用程序在调试模式下正常工作,但在发布模式下崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在为windows phone 8.x开发一款应用。该应用程序有多个项目 - > Windows运行时组件项目和Windows Phone项目。


应用程序在调试模式下工作正常,但每当我将其更改为发布模式时,应用程序崩溃而不会抛出异常。


我注意到,无论何时调用本机代码,应用程序大部分时间都会崩溃。



请建议我该如何解决这个问题。

解决方案

嗨Monalisha,


不幸的是,如果你能尽可能多地回复你使用的框架和依赖关系,那么你没有给社区提供太多的信息。


<我还建议将一些代码放入你的应用程序中写入日志文件,这样你就可以看到应用程序在崩溃之前到达的位置,因为这有助于缩小你的bug的位置。


祝你好运


 


Hi,

I am developing an app for windows phone 8.x . The app has multiple projects--> windows run time component project and windows phone project.

The app is working fine in debug mode, but whenever I am changing it to release mode the app is crashing without throwing an exception.

I have noticed that, whenever the native code is being called, app crashes most of the time.

please suggest how can I solve this issue.

解决方案

Hi Monalisha,

Unfortunately you haven't given much information for the community to work with, if you could reply with as much info as possible such as the framework your using and the dependencies.

I would also suggest putting some code into your app that writes to a log file so as you can see where the app is getting to before crashing as this will help narrow down where your bug is.

Best of luck

 


这篇关于[WP8.1] Windows手机应用程序在调试模式下正常工作,但在发布模式下崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆