Your SlideShare is downloading. ×
Debugging Sencha Touch Apps
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Debugging Sencha Touch Apps

7,163
views

Published on

Debugging applications on mobile devices is challenging. Although simulators exist, tooling is limited. Luckily, with some accomodations, you can debug your mobile web applications using most desktop …

Debugging applications on mobile devices is challenging. Although simulators exist, tooling is limited. Luckily, with some accomodations, you can debug your mobile web applications using most desktop tools. In this session, we'll go over what works, what doesn't and how to use tools appropriately to debug your mobile web app.

Published in: Technology

0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
7,163
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
97
Comments
0
Likes
3
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Debugging Sencha Touch Applications Evan Trimboli & Tommy Maintz
  • 2. AgendaCommon Javascript Oversights Investigating the Tools Touch Debugging Specifics
  • 3. Common Javascript Oversights
  • 4. No CompilerCase sensitivity mattersCheck spellingDeclare variablesReserved words
  • 5. Truthiness & EqualityNo need for explicit true valueType coercion not performed by ===null/undefined are di erent!
  • 6. Closures
  • 7. Variable Binding
  • 8. Variable Binding
  • 9. Language FeaturesNo block level scopePrototypal inheritanceHigher order functions
  • 10. Investigating The Tools
  • 11. Chrome Debugger
  • 12. Elements Screen
  • 13. Elements TabView current DOM stateSearchingView/Modify styles dynamically
  • 14. Scripts Screen
  • 15. Scripts TabBreakpoints, step line by lineCall stackInspect locals
  • 16. Resources Screen
  • 17. Resources TabLoading time/sizeLoad informationFiltering
  • 18. ConsoleInteractive commandslog()/warn()/error()Counting/Grouping
  • 19. JSLint
  • 20. JSLint - Code Quality ToolGlobal variablesTrailing commasUnreachable codeRequired blocksMuch more
  • 21. RemoteJS
  • 22. RemoteJS - Android
  • 23. Touch Debugging Specifics
  • 24. Data
  • 25. Loading DataIs the URL correct?Did the request complete?Was the data valid?Does the Model match the Component?
  • 26. Event Driven ModelAjax - ASYNCHRONOUSExecution doesn’t stopMust use appropriate callbacks
  • 27. Layouts
  • 28. Over-nestingPanels with no layoutImplicit layouts (Carousel, TabPanel)
  • 29. Dynamic LayoutsRemember doLayout & doComponentLayoutApply sizes to Components
  • 30. Events & Scoping
  • 31. What is “this”Contextual InformationHandlersCallbacksBlocks (Ext.each)
  • 32. Are You ListeningCapture - All events on an instanceObserve - Specific events on all instances
  • 33. General Tips
  • 34. Use the Right Filessencha-touch.js - Minified, compressedsencha-touch-debug.js - Whitespace,comments
  • 35. Getting Further HelpRead the documentation (then read it again)Consult the sourceWrite a test caseKnow how to ask for help
  • 36. Happy Debugging!