java - How can get a heap dump direct from Android? -
i want know how heap dump of application direct device. getting heap dump eclipse memory analyzer (mat) gives heap dump emulator.
please give me links.
step #1: buy android device.
step #2: buy usb cable connect between device , development machine, if device did not come one.
step #3: enable usb debugging on device (depending on android os version, may in "developer options" or in "applications" in settings app)
step #4: plug usb cable device , development machine.
step #5: run app on device.
step #6: in ddms, click on process in devices view, copy of app running on device.
step #7: click "dump hprof file" icon in devices view's toolbar (looks half-filled can downward-pointing arrow)
in other words, heap dump device in same way heap dump emulator, choosing process dump , requesting dump.
Comments
Post a Comment