google / ios-webkit-debug-proxy

A DevTools proxy (Chrome Remote Debugging Protocol) for iOS devices (Safari Remote Web Inspector).
BSD 3-Clause "New" or "Revised" License
5.93k stars 462 forks source link

Device gets disconnected after opening dev tools #275

Closed artygus closed 6 months ago

artygus commented 6 years ago

reproduction.zip

Originally posted by @ccorcos in https://github.com/google/ios-webkit-debug-proxy/issues/274#issuecomment-422586402

artygus commented 6 years ago

Safari Dev Tools on OSX also gets disconnected immediately after opening, my guess is that usbmuxd service fails to handle connection for some reason

artygus commented 6 years ago

Doesn't happen for simulator and iOS 11 device. Could be related to partial rpc messages required for IOS 10 and below devices. @ccorcos what iOS version is running on your device?

ccorcos commented 6 years ago

iPhoneX: iOS 11.4.1 Macbook Pro: 10.13.6

StefanRein commented 6 years ago

Here some error logs I had (from the Safari Web Inspector):

https://i.stack.imgur.com/Rl0m2.png https://i.stack.imgur.com/FQQgA.png https://i.stack.imgur.com/4Dxfr.png https://i.stack.imgur.com/4LDK8.png

webinspectord: XPC Connection Failed for Application: 1797 - PID:1797 - <private>

Error calling containermanager_sandbox_iterate_containers: 2

Got xpc error message in ReportMemoryException client connection: Connection invalid`

iPhone 6 Plus, iOS 12 iMac, High Sierra 10.13.6 (17G65)

artygus commented 6 months ago

closing since this also happened for safari web inspector, also can't reproduce this anymore (Big Sur 11.7)