Simple Debugging in Android Studio

life michael · 106K views · 2014 · 3:33

Open on YouTube

Testing, debugging & developer toolsSoftware (other)tutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering questions from beginners who need to learn how to set breakpoints and use the debugger in Android Studio.

Recommended by 5 people across 4 different months, 2016 to 2019.

What it is

A short 2014 screencast showing how to debug an Android app in Android Studio. It covers placing breakpoints and running the app in debug mode, presented by the channel 'life michael'.

What people said

Recommends Shahzeb · 2016-04 · Stack Overflow · on “Show HTTP Request Parameters and Headers Being Sent To Server”

If you are talking about testing the parameters for your API, you probably looking for REST clients like: Postman [LINK] Rest Client [LINK] to validate services. But before that, you should have proper documentation of all the web services. Solution: In Android Studio, to debug your code, simply place breakpoints on the code and press debug button to execute [LINK] [LINK] You can place breakpoint by clicking on left of each line where breakpoint is shown. Also check this tutorial: Simple Debugging in Android Studio [this video] and follow further videos for proper debugging.

Recommends Damodar Dahal · 2016-04 · Stack Overflow · on “Not getting data in onResponse in volley”

Try using debugger to locate your error. On Android studio, you do this by putting a breakpoint and using `Ctrl + F9` buttons(or `Cmd + F9` for Mac). Here's a simple tutorial [this video] for this.

Recommends yanivtwin · 2017-07 · Stack Overflow · on “Recieve JSON Object with 2 Arrays”

use debug mode in android studio and check if the json comes correctly and if the two fors work fine , someone is tripping and it could be a bad string somewhere so do use the debug mode -> [this video]

Recommends DimDim · 2018-03 · Stack Overflow · on “How to put a breakpoint using Log.d in android”

You should click whit left mouse button as shown here: [LINK] Then Run the application in Debug Mode by click on debug button [LINK] Here [this video] you can find a video how to do it.

Recommends iCantC · 2019-03 · Stack Overflow · on “Why my text form sqlite is show in single line?”

In our constructor where you assign `Maany = maany;` on the left side of editor , left click where the number line is displayed.This will add the breakpoint,now run your emulator or device by starting it in debug mode,follow this [this video] to understand debugging.