未处理的异常在WWAHost科尔多瓦APP采用了棱角分明 [英] Unhandled exception in WWAHost in Cordova APP using Angular

查看:277
本文介绍了未处理的异常在WWAHost科尔多瓦APP采用了棱角分明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在开发利用基础应用和科尔多瓦一个窗口现代应用程序。导航过程中以多​​种方式应用程序崩溃,有时甚至立刻跑后。

I'm currently developing a windows modern app using Foundation for Apps and cordova. The app crashes in many ways during navigation, sometimes even immediately after running it.

崩溃是这个

The crash is this one

和我不能管理进行调试以任何方式。

And i can't manage to debug it in any way.

我试着建立一个window.onerror和WinJS.Application.onerror赶上没有结果的所有功能。显然碰撞发生在一个较低的水平。我还检查了事件查看器,但没有信息是可用的。

I've tried setting up a window.onerror and a WinJS.Application.onerror catch all function with no results. Apparently the crash happens at a lower level. I've also inspected the event viewer but no info are available.

会发生什么情况显然与此类似的问题:<一href=\"http://stackoverflow.com/questions/24521856/how-to-debug-unhandled-win32-exception-in-winjs-win8-store-app\">How调试未处理的win32异常在Win8中WinJS商店应用这是不幸的是没有解决。

What happens is apparently similar to this question: How to debug unhandled win32 exception in WinJS Win8 store app which is unfortunately unsolved.

什么是我选择这里?

推荐答案

最有可能你打与在​​Windows 8.1 DOM前WWAHost.exe错误的问题(显然是固定在Win10)。有应为大多数应用程序工作的一种变通方法;你按一下周围,并得到WWAHost.exe异常之前,关闭DOM资源管理器窗口。这将使你击中断点等调试。如果你需要使用DOM前针对Windows目标,则可能需要尝试调试对远程设备(见这里肯尼斯的建议:<一href=\"http://stackoverflow.com/questions/30464522/why-is-cordova-windows-8-app-causing-an-unhandled-win32-exception-occurred-in-ww\">Why科尔多瓦是Windows 8应用引起未处理的win32异常发生在wwahost.exe?)

Most likely you are hitting an issue related to DOM Ex WWAHost.exe error on Windows 8.1 (apparently fixed on Win10). There is a workaround that should work for most apps; before you click around and get the WWAHost.exe exception, close the DOM Explorer window. This should enable you to debug by hitting breakpoints, etc. If you need to use DOM Ex against a Windows target, you might need try debugging against a remote device (see Kenneth's suggestion here: Why is Cordova Windows 8 app causing an unhandled win32 exception occurred in wwahost.exe?)

这篇关于未处理的异常在WWAHost科尔多瓦APP采用了棱角分明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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