Commit c3e1d0af authored by Alex Light's avatar Alex Light
Browse files

Add test for VMDebug.isDebuggerConnected behavior around DDMS.

VMDebug.isDebuggerConnected has the somewhat strange behavior of not
considering a debugger connected until it has issued at least one
non-ddms call. Some debugger clients rely on this behavior.

We add an explicit test that JDWP connections that have only been used
for DDMS traffic are not considered 'connected'.

Test: ./art/tools/run-jdwp-tests.sh --mode=host
Test: ./art/tools/run-libjdwp-tests.sh --mode=host

Bug: 70527014
Bug: 69169846
Change-Id: Ib4a40fdabe329122ced49cc0e76917a30aec490f
parent 381582e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment