3.1 Debugging Your Apps
3.1 Debugging Your Apps
3.1 Debugging Your Apps
Debugging, Testing,
and Backwards
Compatibility
Lesson 3
● identify problems
● find where in the source code the problem is created
● so that you can fix it
logcat
pane
Android
Monitor
Debugging This work is licensed under a Creative
Android Developer Fundamentals Apps Commons Attribution-NonCommercial 10
4.0 International License
Inspect logging messages
First Breakpoint
Force Step Into ⇧F7 Step into a method in a class that you wouldn't
normally step into, like a standard JDK class
Step Out ⇧F8 Step to first executed line after returning from
current method
Run to Cursor ⌥F9 Run to the line where the cursor is in the file
Resume
Pause
Mute all
breakpoints Menu:
Run->Pause Program…
Run->Resume Program...
Debugging This work is licensed under a Creative
Android Developer Fundamentals Apps Commons Attribution-NonCommercial 25
4.0 International License
Learn more