Android Debug

  • 1,077 views
Uploaded on

Android: Debug Tips and Tricks

Android: Debug Tips and Tricks

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,077
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
70
Comments
0
Likes
1

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. Android: Debug Tips and Tricks Mike Wolfson June 25, 2009
  • 2. Agenda
    • Android Debug Bridge (adb)
      • Logcat
      • sqlite3
    • Traceview
      • Running
      • What to look for
    • Other Tools
      • Hierarchy Viewer
      • Spare Parts
  • 3. Android Debug Bridge
    • Android Debug Bridge (adb)
      • tool for managing emulator instance or Android-powered device
      • devices, push/pull, start-server, install, port forwarding, jdwp, shell
    • logcat
      • Be a good citizen
      • Logging severity levels
      • Controlling what you see in the log
      • adb logcat -b radio/events
    • Sqlite3
      • ?????? Things you can do
  • 4. Other Tools
    • Dalvik Debug Monitor Service
    • Hierarchy Viewer
    • Monkey
    • Spare Parts
  • 5. Logcat settings
    • V — Verbose (lowest priority)
    • D — Debug
    • I — Info
    • W — Warning
    • E — Error
    • F — Fatal
    • S — Silent (highest priority, on which nothing is ever printed)
  • 6. Traceview
    • What it is
      • ?????What it is
      • ????? Advanced stuff not covered
    • How to run it
      • ????Be a good citizen
      • ????Logging severity levels
      • ????Controlling what you see in the log
    • What to look for
      • ?????? Things you can do
    • Best Practices
  • 7. Conclusion
    • Performance problems are bugs
    • Profile your applications often
    • Identify big problems
  • 8. Questions???