Continuing on the topic Performance and Traceview . I managed to attach to the process running on the phone. It turned out that the Idea should be run in run mode (Run) and not in debug mode (Debug). Now another problem. I click "Start Method Profiling", perform some actions on the device, click "Stop Method Profiling" (same button). After that, nothing happens. KoVadim wrote:

And wait a few seconds (ddms will download a file from a phone for several megabytes and run traceview).

What file? Where to find him? When I try to start traceview manually, I get the traceview message (and nothing else happens):

alt text

The same thing about the installation of the variable "Path", and writes when you run ddms . Although I have already set the value of this variable. How can I get the Profile Panel (a tree with percentages of time spent on each method)?

    1 answer 1

    Obviously poorly established. You also clearly written instructions: Open My computer-> Properties-> Additional system parameters-> Advanced-> Environment variables and add the path to java sdk

    alt text

    • Well, I had to add the environment variable many times. But this message does not go away in any way. Maybe restart the computer? And at you this traceview launched? By the way, why does ddms write the same thing, but does it work? - angry