What is the difference between debugging and launching a debugging option?

In Android Studio, you can "Run" or "Debug" the application using the following buttons:

Launching and debugging in Android Studio

In addition, you can select the debug or release build option in the "Build Options" window:

Build Options Window

What is the difference between clicking the Debug button and choosing a debugging option or clicking the Run button and choosing a release option? It doesn't matter if I'm debugging a debug version or release version?

+6
source share
1 answer

The build option usually describes how the application is created — for example, the debug option creates a debug application, while the release option is optimized, signed, and does not support debugging.

Run just launches the application (no matter what the taste is). Debugging essentially does the same thing, but stops at any breakpoints you could set.

+7
source

All Articles