如何找到工艺调试端口如果不从日食开始了吗? [英] How do I find Debug Port of Process if not started from eclipse?

查看:68
本文介绍了如何找到工艺调试端口如果不从日食开始了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

与远程服务应用部署与可调试=真,但它从BOOT_COMPLETED启动让我怎么现在一个调试器会话连接到它?什么是调试端口以及如何在Eclipse调试会话步骤直通其连接?我见过的例子有​​关远程服务,但在这种情况下,我没有看到它在DDMS视图中。

App with remote service is deployed with debuggable="true" but it starts up from BOOT_COMPLETED so how do I now attach a debugger session to it? What is the debug port and how can I connect from eclipse a debug session to step thru it? I have seen example about remote service but in this case I am not seeing it show up in DDMS view.

推荐答案

假设你已经安装了Android SDK工具,那么你要使用的 DDMS 工具。我有 / AndroidSDK /工具在我的 $ PATH 所以只需键入:

Assuming you have the Android SDK tools installed then you want to use the ddms tool. I have /AndroidSDK/tools in my $PATH so can just type:

> DDMS

在终端,并启动独立的DDMS GUI工具。

in a Terminal and it launches the standalone DDMS GUI tool.

这篇关于如何找到工艺调试端口如果不从日食开始了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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