Programming/Non programming

Saturday, March 8, 2014

How to Debug An Android application through Eclipse?

How to Debug An Android application through Eclipse?

1. Open "AndroidManifest.xml" of your Android project in Eclipse.
2. Choose "Application" tab
3. Change "Debuggable" option as "true"

4. Go to your project source files and identify the lines where you want to debug, and add break point by enabling "Toggle breakpoint" from "Run" menu (or) Right click the left most area in the source file to enable "Toggle breakpoint" option.
5. Right click project "Debug As" -> "Android Application"

When the application is running, automatically it will stop at debug points. You can verify logs in LogCat.

Hope, it will help someone!

Thank you Guys!

Regards,

Prabakar. M.P

Technical Architect




No comments:

Post a Comment