How to use Monitor (DDMS) tool to debug application

后端 未结 6 1517
感动是毒
感动是毒 2021-01-31 07:17

I\'m switching my development environment from Eclipse to Android Studio these days. And I really enjoy its autocompletion and many other features this IDE provide. However, I h

6条回答
  •  闹比i
    闹比i (楼主)
    2021-01-31 08:10

    I think things (location) have changed little bit. For: Android Studio 1.2.1.1 Build @AI-141.1903250 - built on May 5, 2015

    Franco Rondinis answer should be

    To track memory allocation of objects:

    1. Start your app as described in Run Your App in Debug Mode.
    2. Click Android to open the Android DDMS tool window.
    3. Select your device from the dropdown list.
    4. Select your app by its package name from the list of running apps.
    5. On the Android DDMS tool window, select Memory tab.
    6. Click Start Allocation Tracking Interact with your app on the device. Click Stop Allocation Tracking (same icon)

    how to start allocation tracking in android studio 1.2.1.1

提交回复
热议问题