Commit Graph

20 Commits

Author SHA1 Message Date
Xavier Ducrohet
c29e58952e Fix possible NPE in DDMS plugin init.
Change-Id: Ie1649b319948514473e11c27b4ad126ffe2d40ef
2009-09-22 20:37:24 -07:00
Xavier Ducrohet
171125f678 Add preferences to DDMS (plug-in/standalone) for adb time out.
Change-Id: Ia48221e33ee5ffae4f381aa29bd99a62b148108e
2009-09-08 14:44:02 -07:00
Xavier Ducrohet
3ce85131be Add method profiling support to DDMS.
New button allows to start/stop tracing. When clicking stop, DDMS downloads
the trace file and starts Traceview.

Also refactored some common parts of the HPROF and tracing handlers into a
common class. The goal is to have a default, extensible implementation
of the HPROF handler that DDMS and the plug-in can reuse. This will reduce
duplicated code.

Change-Id: Ifc48926c7f6f1c3ea49a4aa94053664be83cbb06
2009-09-03 16:01:27 -07:00
Xavier Ducrohet
be6e83d5b8 Add support for opening HPROF files in Eclipse.
The action taken on successful HPROF dump can now be configured from
the plug-in preference to be either "save to disk" or "open in eclipse".

If a plug-in supporting .hprof files (such as Eclipse Memory Analyzer Tool)
is present then the file will just be opened in the tool.

"save to disk" does not convert the file, "open in eclipse" does convert
the hprof file (using hprof-conv present in the SDK)

Change-Id: Iceb347abb2af5a2979b6028c22dcbdc3bc7250ca
2009-09-02 20:16:12 -07:00
Xavier Ducrohet
d2d24351d3 Add "Dump HPROF file" to DDMS/DDMS plugin
This uses the (new in cupcake) VM command through JDWP.
Older VMs are detected through the (also new) 'FEAT' command that notifies
which features the VM supports.

The hprof file is right now saved in /sdcard. Due to donut+ apps not having
the SD Card permission by default, we may need to change this in the (near)
future.

Upon completion of the dump by the VM, DDMS will give the user a file selector
to choose a place to save the file on the host machine.

Future improvements: run (our own) hat, or hprof-conv and a standard hprof
tool (Eclipse MAT integration for instance). This should be configurable
by the user.

Change-Id: I33696b0263e3d0788ad5d90cedf3cd17393d2f9b
2009-09-01 16:29:18 -07:00
Xavier Ducrohet
a4876df288 Update some version number for Eclair SDK. 2009-08-18 17:34:01 -07:00
Xavier Ducrohet
d4ab2e1bae am ca82ce16: Merge change 20831 into donut
Merge commit 'ca82ce16d271bc3b5f43dec043cfb0156ff70b47'

* commit 'ca82ce16d271bc3b5f43dec043cfb0156ff70b47':
  Change ADT/DDMS plug-ins version to 0.9.3
2009-08-12 12:04:47 -07:00
Xavier Ducrohet
8a5a7dab37 Change ADT/DDMS plug-ins version to 0.9.3 2009-08-11 15:34:04 -07:00
Xavier Ducrohet
24c6fbcd9c am a8721e70: Move ADT/DDMS plug-ins to 0.9.2
Merge commit 'a8721e70401212af0277a5d90921798014fc4bd5'

* commit 'a8721e70401212af0277a5d90921798014fc4bd5':
  Move ADT/DDMS plug-ins to 0.9.2
2009-07-23 13:29:49 -07:00
Xavier Ducrohet
a8721e7040 Move ADT/DDMS plug-ins to 0.9.2 2009-07-22 18:37:33 -07:00
Android (Google) Code Review
47d9b4efb2 am d06f8e2f: Merge change 1730 into donut
Merge commit 'd06f8e2f4cb97b5a397793ba7b53e62ab73925f8'

* commit 'd06f8e2f4cb97b5a397793ba7b53e62ab73925f8':
  Make the ddmlib API use IDevice instead of Device
2009-05-15 16:25:37 -07:00
Xavier Ducrohet
114b9b7b31 Make the ddmlib API use IDevice instead of Device
Device is now private. All the API is using IDevice.
Updated ddms, ADT, hierarchyviewer and other tools that relied on ddmlib.
2009-05-15 14:01:12 -07:00
Xavier Ducrohet
a0385be052 am 1ec5e2f: Move ADT to 0.9.1
Merge commit '1ec5e2f4bb6ac9b5954558033894a5c95e14d7a1'

* commit '1ec5e2f4bb6ac9b5954558033894a5c95e14d7a1':
  Move ADT to 0.9.1
2009-04-29 12:06:41 -07:00
Xavier Ducrohet
1ec5e2f4bb Move ADT to 0.9.1 2009-04-27 19:02:03 -07:00
The Android Open Source Project
52d4c30ca5 auto import from //depot/cupcake/@135843 2009-03-03 19:29:09 -08:00
The Android Open Source Project
d4aee0c0ca auto import from //depot/cupcake/@135843 2009-03-03 18:28:16 -08:00
Jean-Baptiste Queru
303a8c73c9 Merge commit 'remotes/korg/cupcake'
Conflicts:
	build/sdk.atree
	ide/eclipse/.classpath
	tools/activitycreator/src/com/android/activitycreator/ActivityCreator.java
	tools/eclipse/scripts/create_adt_symlinks.sh
	tools/eclipse/scripts/create_all_symlinks.sh
	tools/eclipse/scripts/create_bridge_symlinks.sh
	tools/eclipse/scripts/create_common_symlinks.sh
	tools/eclipse/scripts/create_ddms_symlinks.sh
	tools/eclipse/scripts/create_editors_symlinks.sh
	tools/eclipse/scripts/create_test_symlinks.sh
	tools/scripts/build.template
2008-12-19 08:04:59 -08:00
The Android Open Source Project
e943f2fd8e Code drop from //branches/cupcake/...@124589 2008-12-17 18:04:04 -08:00
ralf
70af177cf3 Fix create_ddms_symlinks to create libs/ correctly.
Add git ignore files to avoid all build files from being submitted to git.
2008-12-05 12:36:27 -08:00
The Android Open Source Project
5c11852110 Initial Contribution 2008-10-21 07:00:00 -07:00