I am trying to create a simple android application. This is the first time I am coding for android and Java. I have installed android sdk on win 7 machine. I have never used a debugger. 开发者_开发技巧I want a resource to learn use of debugger in android from basic. If it is same as Java, Kindly provide me a link to learn java debugger from basic. Thanks in advance.
I hope you are using eclipse to develop an Android app. If not the please do that.
Here is a information to debug an Android app.
Have you tried just playing around with the Eclipse debugger?
Try:
- Click on the left-hand margin next to code you want to investigate, setting a "breakpoint"
- Click on the bug icon to run your application in Debug mode.
- When your application arrives at that line of code, Eclipse will pop up a dialog confirming a change to the debug perspective.
- Play with the step-next/step-out buttons in the debugger.
精彩评论