Re:Demo of how to debug code inside a mobile webview
by noisebleed on Friday May 04, 2012 @04:26PM
(#3930188)
I thought that didn't work on the actual device, which frequently is different enough from the simulator that Catalyst could still be extremely useful.
Also, I've never looked into it, but is there any comparable built-in debugging method for Android?
Re:Demo of how to debug code inside a mobile webview
by rralian on Friday May 04, 2012 @03:49PM
(#3930036)
Is it just me or does the demo screen just freeze up halfway through? He talks about clicking on things and showing changes, but I just see his screen nothing happening.
It works on iOS, Android, WindowsPhone7 and BlackBerry. It's not very polished, though, since I stopped working on mobile projects and don't need it anymore.
Re:Demo of how to debug code inside a mobile webview
by bjornsteffanson on Friday May 04, 2012 @03:19PM
(#3929894)
Not trying to be a knob here - is this an improvement over creating a webkit browser window with the same dimensions as your mobile device and changing the browser's user agent?
Re:Demo of how to debug code inside a mobile webview
by noisebleed on Friday May 04, 2012 @04:28PM
(#3930197)
You mean, for example, using Safari to debug mobile Safari / webview-based apps? That'll get you about 80% there, but environment differences (i.e., memory and processor limitations) on the device and quirky rendering behavior in mobile webkit almost always result in weird bugs that traditionally have required a lot of poking around blindly to fix. Differences between the simulator and the actual device are fairly common too.
It's only fairly recently that useful debugging tools like this and the built-in iOS 5 stuff have emerged.
Re:Demo of how to debug code inside a mobile webview
by amirnathoo on Friday May 04, 2012 @04:37PM
(#3930241)
Similar, since it's based on the same open source project: Weinre.
We've added a tab to let you track calls out to the native bridge, see error / success codes and the response. Pretty useful when you're working on hybrid apps.
3) Visit http://localhost:9999 in Safari for a full-featured WebKit debugger.
I like competition but I'm not really sold on the advantages of this platform over its one-line, built-in alternative.
Also, I've never looked into it, but is there any comparable built-in debugging method for Android?
You hopefully get the gist from the audio in the meantime, or can read up in the blog post or at https://trigger.io/catalyst
http://lexandera.com/aardwolf/
It works on iOS, Android, WindowsPhone7 and BlackBerry. It's not very polished, though, since I stopped working on mobile projects and don't need it anymore.
It's only fairly recently that useful debugging tools like this and the built-in iOS 5 stuff have emerged.
By hosting Weinre we've tried to make it simpler than making sense of these instructions for example: http://www.webkit.org/blog/1875/announcing-remote-debugging-...
We've added a tab to let you track calls out to the native bridge, see error / success codes and the response. Pretty useful when you're working on hybrid apps.