Safari Web Inspector always crashing when debugging Cordova/Phonegap app

2,595 views
Skip to first unread message

Mirko Menegazzo

unread,
Jan 22, 2015, 10:32:37 AM1/22/15
to phon...@googlegroups.com
Every time I am debugging my Cordova app using Safari Web Inspector, it crashes all the time I set a breakpoint with this message:

"Multiple locks on web thread not allowed! Please file a bug."

I am using Xcode 6 and the latest Safari Version 8.0.2

Any suggestion?

Kerri Shotts

unread,
Jan 22, 2015, 6:00:17 PM1/22/15
to phon...@googlegroups.com
Frustrating, isn't it? Mine likes doing that as well (Yosemite).

I usually give up and debug in Chrome instead. Not ideal, since they are far from identical, but it is usually close enough to figure the problem out.

The only other thing I can think to try is the nightly webkit build. I haven't tried on my end to see if it has the same problem yet or not, so no guarantees.

Mirko Menegazzo

unread,
Jan 22, 2015, 7:10:28 PM1/22/15
to phon...@googlegroups.com

How do you debug iOS using Chrome? 

I mean the UIWebView?

Sent from Curogna

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to a topic in the Google Groups "phonegap" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/phonegap/5a8x5CzuWVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to phonegap+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kerri Shotts

unread,
Jan 22, 2015, 7:30:16 PM1/22/15
to phon...@googlegroups.com
Well, my bad -- I misread your original post.

The Safari debugger is particularly crash prone, it seems, and so when that occurs, I switch over to Chrome (assuming I can duplicate the issue). But that only works for the desktop -- not Mobile Safari. My bad... :-(

All I know to try is a webkit nightly to see if it avoids crashing, or try this project: https://github.com/google/ios-webkit-debug-proxy.

On Thursday, January 22, 2015 at 6:10:28 PM UTC-6, Mirko Menegazzo wrote:

How do you debug iOS using Chrome? 

I mean the UIWebView?

Sent from Curogna

On 22 Jan 2015 23:00, "Kerri Shotts" <kerri...@gmail.com> wrote:
Frustrating, isn't it? Mine likes doing that as well (Yosemite).

I usually give up and debug in Chrome instead. Not ideal, since they are far from identical, but it is usually close enough to figure the problem out.

The only other thing I can think to try is the nightly webkit build. I haven't tried on my end to see if it has the same problem yet or not, so no guarantees.

On Thursday, January 22, 2015 at 9:32:37 AM UTC-6, Mirko Menegazzo wrote:
Every time I am debugging my Cordova app using Safari Web Inspector, it crashes all the time I set a breakpoint with this message:

"Multiple locks on web thread not allowed! Please file a bug."

I am using Xcode 6 and the latest Safari Version 8.0.2

Any suggestion?

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to a topic in the Google Groups "phonegap" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/phonegap/5a8x5CzuWVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to phonegap+unsubscribe@googlegroups.com.

jcesarmobile

unread,
Jan 23, 2015, 2:22:15 AM1/23/15
to phon...@googlegroups.com
You can try gapdebug, I've heard good things, but never tried.

https://www.genuitec.com/products/gapdebug/


El viernes, 23 de enero de 2015, 1:30:16 (UTC+1), Kerri Shotts escribió:
Well, my bad -- I misread your original post.

The Safari debugger is particularly crash prone, it seems, and so when that occurs, I switch over to Chrome (assuming I can duplicate the issue). But that only works for the desktop -- not Mobile Safari. My bad... :-(

All I know to try is a webkit nightly to see if it avoids crashing, or try this project: https://github.com/google/ios-webkit-debug-proxy.

On Thursday, January 22, 2015 at 6:10:28 PM UTC-6, Mirko Menegazzo wrote:

How do you debug iOS using Chrome? 

I mean the UIWebView?

Sent from Curogna

On 22 Jan 2015 23:00, "Kerri Shotts" <kerri...@gmail.com> wrote:
Frustrating, isn't it? Mine likes doing that as well (Yosemite).

I usually give up and debug in Chrome instead. Not ideal, since they are far from identical, but it is usually close enough to figure the problem out.

The only other thing I can think to try is the nightly webkit build. I haven't tried on my end to see if it has the same problem yet or not, so no guarantees.

On Thursday, January 22, 2015 at 9:32:37 AM UTC-6, Mirko Menegazzo wrote:
Every time I am debugging my Cordova app using Safari Web Inspector, it crashes all the time I set a breakpoint with this message:

"Multiple locks on web thread not allowed! Please file a bug."

I am using Xcode 6 and the latest Safari Version 8.0.2

Any suggestion?

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to a topic in the Google Groups "phonegap" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/phonegap/5a8x5CzuWVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to phonegap+u...@googlegroups.com.

Mirko Menegazzo

unread,
Jan 29, 2015, 11:23:59 AM1/29/15
to phon...@googlegroups.com
Thanks! GapDebug look interesting!
Reply all
Reply to author
Forward
0 new messages