Android的,通过DDMS轨迹记忆,和QUOT;获得分配和QUOT;什么都不做

问题描述:

由于问题的标题说。我的步骤做:

As the title of the question said. Steps I did:

  1. 单击上更新堆
  2. 在分配追踪器选项卡上,单击开始跟踪
  3. 点击获取分配

在控制台中,我看到了红色消息说:

In the console, I saw red messages saying:

[2013年12月29日13点56分40秒 - DDM堆***收到REAL`

[2013-12-29 13:56:40 - ddm-heap] *** Received REAL`

发生了什么?我缺少什么?

What happened? am I missing anything?

感谢

那么,真正的是最近的分配。 根据来源$ C ​​$ C ,记录错误是handleREAL的第一行()。只是一个假设 - 这应该是Log.d(),而不是Log.e(),但我不能肯定地说。

Well, REAL is a REcent ALlocation. Based on the source code, logging an error is the very first line of handleREAL(). Just an assumption - this should be Log.d() instead of Log.e(), but I cannot say for sure.

是的,找分配对我来说,每次我点击它的工作原理没有。生成的日志不能出口,并尽快消失,对设备完成的应用程序。可悲的是,没有一个非常方便的跟踪工具...

And yes, "Get Allocations" for me works not every time I click it. The resulting log cannot be exported, and disappears as soon as the app on device finishes. Sadly, not a very convenient tracing tool...