简体   繁体   English

在iOS设备上调试Cordova应用程序:关闭应用程序或调试器时Safari崩溃

[英]Debugging Cordova app on iOS Device: Safari crashes when closing app or debugger

I have a Cordova 4.3.0 app that I'm trying to debug with desktop Safari's web inspector. 我有一个Cordova 4.3.0应用程序,我正在尝试使用桌面Safari的Web检查器进行调试。 I can connect and debug fine, but if I quit the app (dismiss from multitasking view, or stop via XCode), Safari crashes. 我可以正常连接和调试,但是如果我退出应用程序(从多任务视图中退出,或通过XCode停止),则Safari崩溃。 If I try to close the debugging window in Safari instead, Safari crashes. 如果我尝试关闭Safari中的调试窗口,则Safari崩溃。 I don't have this issue when debugging the same app in the emulator, only when debugging on device. 在模拟器中调试同一应用程序时,仅在设备上调试时,我没有此问题。

I'm not setting any debugger breakpoints; 我没有设置任何调试器断点; I'm using Safari to watch the console output, and to occasionally inspect the web app. 我正在使用Safari观看控制台输出,并偶尔检查Web应用程序。

Is this a known issue? 这是一个已知的问题? Anything I need to do to safely close the debugging session? 我需要做些什么来安全地关闭调试会话?

You should give GapDebug a try. 您应该尝试一下GapDebug It's nearly the best debugger for Cordova/Phonegap apps i've ever seen. 这几乎是我见过的Cordova / Phonegap应用程序的最佳调试器。

Hope that i helped you! 希望我能帮到您! :-) :-)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在模拟器(而非设备)上调试AppleWatch应用时,iOS应用立即崩溃 - iOS app crashes immediately when debugging AppleWatch app on Simulator (not on device) 应用程序在设备上调试时崩溃 - App Crashes when debugging on device iOS 应用程序在快速关闭/打开时崩溃 - iOS app crashes when closing/opening quickly 调试时,应用程序在iOS 8中崩溃,但在未调试时可正常运行 - app crashes in iOS 8 when debugging, but works when not debugging 在设备上调试IOS应用 - Debugging an IOS App on a Device 设备上第二次启动后,Cordova iOS应用程序崩溃 - Cordova iOS app crashes after second launch on device iOS Cordova应用程序在恢复时崩溃 - iOS Cordova app crashes on Resume 仅在调试时在没有启动设备时iOS App崩溃-不在模拟器中或在正常启动设备应用程序时崩溃 - iOS App crashes on launch no device while debugging only - not in simulator or during normal device app launch 设置UILocalNotification然后关闭应用程序时,iOS Simulator崩溃 - iOS Simulator crashes when setting UILocalNotification and then closing the app 当使用Twilio iOS sdk并构建Cordova app openssl崩溃时 - When using Twilio iOS sdk and building Cordova app openssl crashes
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM