diff options
author | Josh Gao <jmgao@google.com> | 2016-03-10 13:40:06 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2016-03-10 13:40:06 -0800 |
commit | 1d924426dfeaa0331c425b8da20a21ff043da60b (patch) | |
tree | a8b027f4cd051c8db3ef2856754c7b102dba3ef7 /ndk-gdb.py | |
parent | 8a551cd17c39944cfcefe7067dd32952f41b9ad4 (diff) | |
download | ndk-1d924426dfeaa0331c425b8da20a21ff043da60b.tar.gz |
ndk-gdb.py: sleep between starting gdbserver and using jdwp.
Change-Id: Ieb4721d34991487b1f87538510f1c50522ba6ea4
Diffstat (limited to 'ndk-gdb.py')
-rwxr-xr-x | ndk-gdb.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ndk-gdb.py b/ndk-gdb.py index 98089f4d8..fb75d86a6 100755 --- a/ndk-gdb.py +++ b/ndk-gdb.py @@ -656,6 +656,9 @@ def main(): def start_jdb(): log("Starting jdb to unblock application.") + # Give gdbserver some time to attach. + time.sleep(0.5) + # Do setup stuff to keep ^C in the parent from killing us. signal.signal(signal.SIGINT, signal.SIG_IGN) windows = sys.platform.startswith("win") |