How to continue your program after a breakpoint in Android Studio?

After setting the breakpoint, I clicked the "Step by Step" button and moved to the next line after the breakpoint. However, I would like to continue running the program.

+6
source share
3 answers

The default shortcut key is F9 ; alternatively, Run> Resume Program

You can also change this shortcut by choosing Settings> Keymap and changing the Resume Program key.

+4
source

If you have not changed the default keyboard shortcuts, you can resume the program by pressing F9 . In addition, at the bottom of Android Studio you can see a green resume button, similar to the image below:

enter image description here

+6
source

After clicking the debug button, the android virtual machine and the debug control panel should pop up automatically at the bottom of Android Studio. On the debug control panel, if you look in the left corner, you will see a green arrow pointing to the right. This is the button to resume your program after any debugging actions.

0
source

All Articles