Visual Studio 2013 Update 4 和 Apache Cordova CTP3 在没有断点的 Javascript 行上中断/停止 [英] Visual Studio 2013 Update 4 and Apache Cordova CTP3 Breaking/Stopping on Javascript lines with no breakpoints

查看:28
本文介绍了Visual Studio 2013 Update 4 和 Apache Cordova CTP3 在没有断点的 Javascript 行上中断/停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行 Visual Studio 2013 Update 4,并安装了 Tools for Apache Cordova CTP3.在创建一个全新的 Apache Cordova 项目并对其进行调试后,它会在看似随机的没有断点的 javascript 文件行上中断/暂停/停止.意思是,它停在行上,好像那里有一个断点,但实际上没有.我只使用 RIPPLE 调试.我根本不使用设备或模拟器.

I am running Visual Studio 2013 Update 4 with Tools for Apache Cordova CTP3 installed. After creating a brand new Apache Cordova project, and then debugging it, it breaks/pauses/stops on seemingly random lines of javascript files where there are no breakpoints. Meaning, it stops on lines as if there was a breakpoint there, but there really isn't. I'm using RIPPLE debugging only. I don't use a device or emulator AT ALL.

有一次,我安装了 Visual Studio 2015 CTP5,以及推荐的 Android Emulator 的相关更新.我已经卸载了它们.

At one point, I had installed Visual Studio 2015 CTP5, and an associated update to the Android Emulator that was recommended. I since have uninstalled them.

推荐答案

这是自 Chrome 最近更新以来出现的错误,并且正在处理中.您可以通过在调试器中断时按 F5 来在 Ripple 上运行您的应用程序(很难令人满意),或者按 Ctrl+F5 来启动您的应用程序,而无需在 Ripple 中进行调试.要进行调试,更好的选择是在模拟器上运行.VS 2015 Preview 上的 VS Emulator for Android 对我来说运行良好.在 VS 2013 中,GenyMotion 可能是 Android 的最佳选择.

This is a bug that appeared since a recent update to Chrome, and it is being worked on. You can run your app on Ripple by hitting F5 through the debugger breaks (hardly satisfactory), or Ctrl+F5 to start your app without debugging in Ripple. To debug, the better option is to run on on an emulator. The VS Emulator for Android on VS 2015 Preview has been working well for me. In VS 2013, GenyMotion is probably the best option for Android.

这篇关于Visual Studio 2013 Update 4 和 Apache Cordova CTP3 在没有断点的 Javascript 行上中断/停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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