Please accept YouTube cookies to play this video. By accepting you will be accessing content from YouTube, a service provided by an external third party.

YouTube privacy policy

If you accept this notice, your choice will be saved and the page will refresh.


Show the video description

In this video we will learn how to use the Android Studio (IntelliJ IDEA) debugger to find logical bugs in our code.
With the debugger we can set breakpoints, step through our code line by line, examine and change variables at runtime, inspect frames and threads, evaluate expressions and code fragments and much more.

We will learn how to use the “step over”, “step into”, “step out”, “run to cursor”, “smart step into”, “force step over”, “force step into” and “force run to cursor” buttons, how to add watches and use “set value” to change variables at runtime, how to set conditions on breakpoints, create expection breakpoints and disable breakpoints temporarily, how to observe the debugging overhead, how to resume the app, how to attach the debugger to a running process and more.

Also check the related debugging blog post:

IntelliJ IDEA Debugger documentation (very detailed):

Android Debugger documentation (if you encounter problems):