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

57 805
14.2
Опубликовано 25 октября 2019, 6:25
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 → goo.gle/2BOk5mb
* Data views to control how data is displayed in the debugger → goo.gle/2MSyKmC
* How to use and understand the Overhead tab → goo.gle/32Ua8Q3


See also:

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


Presented by: David Herman, Justin Nieto


Android Studio Sessions → goo.gle/AndroidStudio


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

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

Check out the photo album → goo.gle/ADS19Photos

#AndroidDevSummit event: Android Dev Summit 2019; re_ty: Publish; product: Android - General; fullname: David Herman, Justin Nieto;
Случайные видео
63 дня – 1 230 0630:35
iPhone 16 Pro Color Comparison
81 день – 1 355 02020:41
How to Buy a Laptop - Ultimate Guide (2024)
автотехномузыкадетское