开发者

How to use debugger in android or Java?

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:

  1. Click on the left-hand margin next to code you want to investigate, setting a "breakpoint"
  2. Click on the bug icon to run your application in Debug mode.
  3. When your application arrives at that line of code, Eclipse will pop up a dialog confirming a change to the debug perspective.
  4. Play with the step-next/step-out buttons in the debugger.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜