How to Debug Android application line by line using Eclipse?
Solution1:
- you need to set
android:debuggable="true"
in your application in theAndroidManifest.xml
. if you haven't set that setting, debugging will not be enabled. - either start the app by right clicking on the project and select
Debug As
->Android Application
or by running it normally and later in the DDMS perspective select the running app in your devices pane and click on the green bug. - once a breakpoint has been hit you can step over (
f6
) or step into (f5
) (check the Run menu for more commands).
Solution2:
Well i found some articles which guides how to debug using Eclipse.
1- Free video tutorial will teach you how to use the Eclipse Java Debugger
2- Debugging with the Eclipse Platform
3- 5 Tips for Debugging Java Code in Eclipse
4- Java Debugging with Eclipse - Tutorial
Comments
Post a Comment