Android Debugger in action

Have you ever tried Android Debugger ?

if no then this blog is surely for you…

 

What Android Debugger do basically?

Examine variables and evaluate expressions at runtime.

We can check what’s inside the variable at run time. Not only the variable, in debug mode we can watch the system as well as custom threads. Thus this is a great tool for the multi-threaded app and help inĀ  debugging the possible cause of the problem.

 

How to attach debugger to your app?

Rather than running your application you can press debug buttonĀ as-debugbutton in android studio to attach the debugger with you application. Alternatively, we can debug app using ‘Shift + F9’.

 

How to set breakpoints and watch value contained in the variables?

You can simple set a breakpoint on any statement by mouse1 click.

What happen basically in setting break point is all the threads are suspended for a moment(default feature can be change). Also breakpoint breaks the execution of the source code at that instant.

Debugging on setting breakpoint:

 

 

 

Screenshot from 2016-05-27 20:51:14

 

 

 

 

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close