如何使用Eclipse调试Android应用程序一行行? [英] How to Debug Android application line by line using Eclipse?

查看:118
本文介绍了如何使用Eclipse调试Android应用程序一行行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我所熟悉的VS.Net IDE和放大器;它有很多的调试支持。但是,Android的发展,是我新的东西。我使用的Eclipse IDE中。我想知道的如何通过线上的Andr​​oid应用程序在线调试,就像我们可以在.NET IDE办?

目前我使用的日志窗口,但我不喜欢它。我需要建议,从专家的家伙,什么是调试使用Eclipse的Andr​​oid应用程序的最佳方法是什么?

您的宝贵时间和放大器十分感谢;帮助。

解决方案
  1. 无论是开始通过右键单击应用程序的项目,并选择调试方式 - > Android应用程序或者在DDMS透视正常,后来运行在你的设备窗格中选择正在运行的应用程序,点击绿色的错误。

  2. 在一个断点一直打到您可以跳过 F6 )或踏进 F5 )(检查是否有更多的命令运行菜单)。

I am familiar with VS.Net IDE & it has a lot of support for debugging. But the android development is something new for me. I am using the Eclipse IDE. I was wondering how to debug the android application line by line just like we can do in .Net IDE?

Currently i am using the log window, but i am not happy with it. I need suggestion from the expert guys, what is the best way to debug the Android application using Eclipse?

Great thanks for your valuable time & help.

解决方案

  1. 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.

  2. once a breakpoint has been hit you can step over (f6) or step into (f5) (check the Run menu for more commands).

这篇关于如何使用Eclipse调试Android应用程序一行行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆