Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Mobile Debugging

Remy Sharp
September 21, 2012

Mobile Debugging

Mobile debugging is a bitch. Let's talk about that, and then fix it.

Remy Sharp

September 21, 2012
Tweet

More Decks by Remy Sharp

Other Decks in Technology

Transcript

  1. ஌ݾ஌൴ɼඦፌෆຆɻ “If you know both yourself and your enemy, you

    can win a hundred battles without jeopardy.” http://www.flickr.com/photos/katieharbath/4856255673
  2. "200k of JavaScript held within a block comment adds 240ms

    during page load, whereas 200k of JavaScript that is parsed during page load added 2600 ms."
  3. Host locally •Network Utility (mac) ifconfig en0 inet / ifconfig

    eth0 ipconfig (look for ip4v) •Point mobile to that IP •localtunnel (to get out of VMs)
  4. weinre “Pronounced like the word ‘winery’. Or maybe like the

    word ‘weiner’. Who knows, really.” http://www.flickr.com/photos/booleansplit/6924192819/
  5. Once upon a time... Demoing mobile app Same code Same

    mobile device Same OS version But different result
  6. Tether and check via desktop O2 you can change username

    to "bypass" to confirm bugs, not to solve them. Also will need to check with providers to be sure.
  7. Network Link Conditioner (xcode + mac) Slowy.app (mac + $)

    ipfw (mac / *nix) sloppy http://www.dallaway.com/sloppy/ (java app) wipfw (windows)
  8. My dream: Single Debugging Tool 1. Can we build this

    ourselves? 2. Can we hook in and normalise all the remote protocols? 3. Can we do step debugging?