Software Archive
Read-only legacy content
17060 Discussions

Debugger on iOS devices

Tester_D_
Beginner
594 Views

Hello everyone,

I'm debugging on a iPad with iOS 8 and I'm encountering several issues on it. In the "Elements" tab, if want to unable some CSS rule of a particular DIV I get no effect; in the "Resources" tab, if I want to check what's in a WebSQL table, I only get a blank space, among other issues.

I'm guessing it's because the version of the debugger on the iPad is old. 

If I'm correct, the newest version of XDK check for a optimal debugger in every Android device when I plug in and the same thing doesn't happens on the iPad.

Is there a way to update the debugger on iOS devices?

Thanks in advance!

Erik

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
594 Views

Erik, in the case of the Android devices what you see is the debugger being retrieved from the webview on the device (similar to what happens with Chrome) so the Chrome DevTools you use in the XDK match what is in the Android device. In the case of iOS devices we are using a translation service to fool the iOS device into thinking it is talking to Safari on a Mac. That means, unfortunately, that some things don't translate properly. It works best for debugging JavaScript on iOS devices.

To get full fidelity debugging on an iOS device requires a "debug" built app and connecting to a Mac over USB and running Safari with remote debug enabled. Without those components, what you are seeing is the best that can be delivered.

0 Kudos
Reply