Android Studio: Debugging tips n' tricks (Android Dev Summit '19)

Описание к видео Android Studio: Debugging tips n' tricks (Android Dev Summit '19)

We all spend a lot of time in the debugger, so this session teaches you about some of the powerful debugging features available in Android Studio. This talk should appeal to all, from beginners to experts and everybody in between.

01:23 - Log filtering / folding
05:13 - Conditional breakpoints
06:17 - Dependent breakpoints
07:16 - Suspend thread
09:07 - Evaluate and log
10:42 - Breakpoint groups
11:28 - Drop frame
12:34 - Mark object
14:10 - Evaluate expression
15:10 - Apply changes
17:23 - Analyze stacktrace

Here are some of the tips that we didn't have time to cover:

Dragging a breakpoint brings its settings along with it
Ctrl+drag makes a copy of a breakpoint
You can set breakpoints on the closing brace of a function
You can set breakpoints on fields / properties (called "field watchpoints")
You can set a breakpoint on an interface method to break on all its implementations
APK debugging → https://goo.gle/2BOk5mb
Data views to control how data is displayed in the debugger → https://goo.gle/2MSyKmC
How to use and understand the Overhead tab → https://goo.gle/32Ua8Q3


See also:

Android Studio - Debug Your App → https://goo.gle/31RipD5
IntelliJ IDEA Debugging Code → https://goo.gle/2NnbA79
"Android Studio: Tips n' Tricks" from I/O '19 → https://goo.gle/3630bBZ


Presented by: David Herman, Justin Nieto


Android Studio Sessions → https://goo.gle/AndroidStudio


Android Dev Summit '19 all sessions playlist → https://goo.gle/ADS19allsessions

Subscribe to the Android Developers channel! → https://goo.gle/AndroidDevs

Check out the photo album → http://goo.gle/ADS19Photos




#AndroidDevSummit event: Android Dev Summit 2019; re_ty: Publish; product: Android - General; fullname: David Herman, Justin Nieto;

Комментарии

Информация по комментариям в разработке