Articles → Android → Debugger in android

Debugger in android






What is debugging?





Breakpoint





How to add break-point in android studio?





Click to Enlarge




Build variant





How to start debugging in android studio?







Click to Enlarge






Click to Enlarge


Debug window





Click to Enlarge




How to view all break-points in android studio







Click to Enlarge


Step Over (F8) and step into (F7)




@Override
protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_main);

   PrintCommand();


}

public void PrintCommand()
{
   Toast.makeText(this, "Print Activity", Toast.LENGTH_SHORT).show();
}









Posted By  -  Karan Gupta
 
Posted On  -  Friday, December 06, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250