summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-11-16 16:26:58 -0800
committerElliott Hughes <enh@google.com>2011-11-16 16:56:41 -0800
commita215526d5c789cbef0f81a1f9aba22541a841cca (patch)
tree4d6baa6e24d41027300bd22a7b7746267dd45f23 /test
parent254db0ff7ea6509a1c2914b1d9532e2041a0c4c4 (diff)
downloadart-a215526d5c789cbef0f81a1f9aba22541a841cca.zip
art-a215526d5c789cbef0f81a1f9aba22541a841cca.tar.gz
art-a215526d5c789cbef0f81a1f9aba22541a841cca.tar.bz2
Implement enough JDWP functionality that we can attach jdb.
You can also try "classes" and "classpath", though anything else deadlocks because we're suspended but jdb thinks we aren't. I don't think that's a new bug with this patch, though, so I'll look at that next. Change-Id: I54456b6a7fe72642be696c66aa485dc0c8a7f913
Diffstat (limited to 'test')
-rwxr-xr-xtest/etc/push-and-run-test-jar4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/etc/push-and-run-test-jar b/test/etc/push-and-run-test-jar
index 53d7a76..1d10e4d 100755
--- a/test/etc/push-and-run-test-jar
+++ b/test/etc/push-and-run-test-jar
@@ -99,11 +99,11 @@ fi
if [ "$DEBUG" = "y" ]; then
# This is for ddms:
- DEX_DEBUG="-agentlib:jdwp=transport=dt_android_adb,server=y,suspend=y"
+ #DEX_DEBUG="-agentlib:jdwp=transport=dt_android_adb,server=y,suspend=y"
# Connect by running 'ddms'.
# This is for jdb:
- #DEX_DEBUG="-agentlib:jdwp=transport=dt_socket,address=12345,server=y,suspend=y"
+ DEX_DEBUG="-agentlib:jdwp=transport=dt_socket,address=12345,server=y,suspend=y"
# Connect thus:
# adb forward tcp:12345 tcp:12345
# jdb -attach localhost:12345